diff --git a/content/api/classes/AbsoluteLayout.md b/content/api/classes/AbsoluteLayout.md index 6b84e910..a183866b 100644 --- a/content/api/classes/AbsoluteLayout.md +++ b/content/api/classes/AbsoluteLayout.md @@ -5,7 +5,7 @@ description: A layout that lets you specify exact locations (left/top coordinate contributors: false --- -Defined in: [ui/layouts/absolute-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L12) +Defined in: [ui/layouts/absolute-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L12) A layout that lets you specify exact locations (left/top coordinates) of its children. @@ -25,7 +25,7 @@ AbsoluteLayout new AbsoluteLayout(): AbsoluteLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1052,7 +1070,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1070,7 +1088,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1088,7 +1106,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1106,7 +1124,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1124,7 +1142,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1140,7 +1158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1154,7 +1172,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1168,7 +1186,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1185,7 +1203,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1203,7 +1221,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1221,7 +1239,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1239,7 +1257,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1253,7 +1271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1267,7 +1285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1281,7 +1299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1295,7 +1313,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1303,13 +1321,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1323,7 +1355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1337,7 +1369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1351,7 +1383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1365,7 +1397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1379,7 +1411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1387,13 +1419,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1407,7 +1467,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1415,13 +1475,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1435,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1449,7 +1523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1467,7 +1541,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1485,7 +1559,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1503,7 +1577,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1521,7 +1595,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1539,7 +1613,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1557,7 +1631,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1575,7 +1649,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1593,7 +1667,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1611,7 +1685,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1627,7 +1701,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1643,7 +1717,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1661,7 +1735,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1697,7 +1771,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1715,7 +1789,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1769,7 +1843,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1787,7 +1861,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1805,7 +1879,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1821,7 +1895,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1841,7 +1915,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1859,7 +1933,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1882,7 +1956,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1900,7 +1974,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1918,7 +1992,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1936,7 +2010,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1954,7 +2028,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1966,58 +2040,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2027,7 +2120,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2043,7 +2136,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2059,7 +2152,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2075,7 +2168,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2093,7 +2186,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2111,7 +2204,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2129,7 +2222,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2151,7 +2244,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2169,7 +2262,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2187,7 +2280,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2205,7 +2298,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2223,7 +2316,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2241,7 +2334,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2257,7 +2350,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2276,7 +2369,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2290,7 +2383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2308,7 +2401,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2326,7 +2419,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2344,7 +2437,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2362,7 +2455,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2380,7 +2473,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2398,7 +2491,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2416,7 +2509,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2434,7 +2527,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2452,7 +2545,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2470,7 +2563,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2497,7 +2590,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2513,7 +2606,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2533,7 +2626,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2549,7 +2642,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2565,7 +2658,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2581,7 +2674,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2599,7 +2692,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2617,7 +2710,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2635,7 +2728,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2651,7 +2744,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2669,7 +2762,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2687,7 +2780,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2705,7 +2798,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2723,7 +2816,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2743,7 +2836,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2763,7 +2856,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2783,7 +2876,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2797,7 +2890,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2811,13 +2904,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2837,7 +2952,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2857,7 +2972,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2877,7 +2992,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2897,7 +3012,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2917,7 +3032,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2937,7 +3052,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2957,7 +3072,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2979,7 +3094,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2991,7 +3106,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3017,7 +3132,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3029,7 +3144,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3055,7 +3170,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3067,7 +3182,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3093,7 +3208,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3105,7 +3220,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3131,7 +3246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3143,7 +3258,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3169,7 +3284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3181,7 +3296,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3207,7 +3322,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3219,7 +3334,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3245,7 +3360,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3257,7 +3372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3283,7 +3398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3303,7 +3418,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3315,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3341,7 +3456,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3363,7 +3478,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3377,7 +3492,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3403,7 +3518,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3417,7 +3532,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3445,7 +3560,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3457,7 +3572,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3483,7 +3598,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3505,7 +3620,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3525,7 +3640,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3550,7 +3665,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3577,7 +3692,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3611,7 +3726,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3645,7 +3760,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3675,7 +3790,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3707,7 +3822,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3731,7 +3846,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3755,7 +3870,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3783,7 +3898,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3803,7 +3918,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3827,7 +3942,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3851,7 +3966,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3863,13 +3978,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3890,7 +4027,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3919,7 +4056,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3945,7 +4082,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3971,7 +4108,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3996,7 +4133,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4020,7 +4157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4044,7 +4181,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4065,7 +4202,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4091,7 +4228,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4111,7 +4248,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4131,7 +4268,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4151,7 +4288,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4171,7 +4308,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4195,7 +4332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4213,7 +4350,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4231,7 +4368,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4249,7 +4386,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4275,7 +4412,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4301,7 +4438,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4327,7 +4464,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4353,7 +4490,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4377,7 +4514,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4401,7 +4538,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4428,7 +4565,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4457,7 +4594,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4484,7 +4621,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4505,7 +4642,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4530,7 +4667,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4554,7 +4691,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4581,7 +4718,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4610,7 +4747,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4638,7 +4775,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4664,7 +4801,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4684,7 +4821,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4714,7 +4851,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4743,7 +4880,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4771,7 +4908,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4797,7 +4934,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4822,7 +4959,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4840,7 +4977,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4858,7 +4995,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4884,7 +5021,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4910,7 +5047,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4931,7 +5068,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4959,7 +5096,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4989,7 +5126,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5009,7 +5146,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5035,7 +5172,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5061,7 +5198,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5087,7 +5224,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5109,7 +5246,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5130,7 +5267,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5156,7 +5293,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5176,7 +5313,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5202,7 +5339,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5228,7 +5365,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5248,7 +5385,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5268,7 +5405,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5286,7 +5423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5310,7 +5447,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5330,7 +5467,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5350,7 +5487,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5376,7 +5513,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5396,7 +5533,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5414,7 +5551,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5428,13 +5565,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5454,7 +5616,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5486,7 +5648,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5518,7 +5680,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5538,7 +5700,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5564,7 +5726,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5584,7 +5746,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5616,7 +5778,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5652,7 +5814,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5681,7 +5843,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5707,7 +5869,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5735,7 +5897,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5772,7 +5934,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5803,7 +5965,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5836,7 +5998,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5865,7 +6027,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5894,7 +6056,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5923,7 +6085,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5953,7 +6115,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5982,7 +6144,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6011,7 +6173,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6039,7 +6201,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6062,7 +6224,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6095,7 +6257,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6124,7 +6286,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6142,7 +6304,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6170,7 +6332,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6188,7 +6350,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6206,7 +6368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6232,7 +6394,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6255,7 +6417,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6283,7 +6445,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6303,7 +6465,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6323,7 +6485,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6361,7 +6523,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6388,7 +6550,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6413,7 +6575,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6437,7 +6599,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6464,7 +6626,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6492,7 +6654,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6512,7 +6674,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6539,7 +6701,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6565,7 +6727,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6585,7 +6747,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6609,7 +6771,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6635,7 +6797,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6663,7 +6825,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6695,7 +6857,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6720,7 +6882,7 @@ Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/Native static getLeft(view: View): LengthType; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L16) +Defined in: [ui/layouts/absolute-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L16) Gets the value of the Left property from a given View. @@ -6742,7 +6904,7 @@ Gets the value of the Left property from a given View. static getTop(view: View): LengthType; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L26) +Defined in: [ui/layouts/absolute-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L26) Gets the value of the Top property from a given View. @@ -6770,7 +6932,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6808,7 +6970,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6857,7 +7019,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6892,7 +7054,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6927,7 +7089,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6961,7 +7123,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6996,7 +7158,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7030,7 +7192,7 @@ size is smaller than the size the view wants to be. static setLeft(view: View, value: LengthType): void; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L21) +Defined in: [ui/layouts/absolute-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L21) Sets the value of the Left property from a given View. @@ -7053,7 +7215,7 @@ Sets the value of the Left property from a given View. static setTop(view: View, value: LengthType): void; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L31) +Defined in: [ui/layouts/absolute-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L31) Sets the value of the Top property from a given View. diff --git a/content/api/classes/ActionBar.md b/content/api/classes/ActionBar.md index 5a9e9519..f6a90f0b 100644 --- a/content/api/classes/ActionBar.md +++ b/content/api/classes/ActionBar.md @@ -5,7 +5,7 @@ description: Provides an abstraction over the ActionBar (android) and Navigation contributors: false --- -Defined in: [ui/action-bar/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L10) +Defined in: [ui/action-bar/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L10) Provides an abstraction over the ActionBar (android) and NavigationBar (iOS). @@ -25,7 +25,7 @@ ActionBar new ActionBar(): ActionBar; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t actionItems: ActionItems; ``` -Defined in: [ui/action-bar/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L45) +Defined in: [ui/action-bar/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L45) Gets the collection of action items. @@ -562,7 +580,7 @@ Gets the collection of action items. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -580,7 +598,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: AndroidActionBarSettings; ``` -Defined in: [ui/action-bar/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L51) +Defined in: [ui/action-bar/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L51) Gets the android specific options of the action bar. @@ -596,7 +614,7 @@ Gets the android specific options of the action bar. androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -614,7 +632,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -632,7 +650,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -646,7 +664,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -662,7 +680,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -680,7 +698,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -698,7 +716,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -716,7 +734,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -734,7 +752,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -752,7 +770,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -770,7 +788,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -788,7 +806,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -806,7 +824,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -824,7 +842,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -842,7 +860,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -864,7 +882,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -882,7 +900,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -900,7 +918,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -918,7 +936,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -936,7 +954,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -954,7 +972,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -972,7 +990,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -994,7 +1012,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1012,7 +1030,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1030,7 +1048,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1048,7 +1066,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1066,7 +1084,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1084,7 +1102,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1102,7 +1120,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1164,7 +1182,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1181,7 +1199,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1199,7 +1217,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1217,7 +1235,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1235,7 +1253,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,13 +1317,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveContentInsetLeft ```ts effectiveContentInsetLeft: number; ``` -Defined in: [ui/action-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L69) +Defined in: [ui/action-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L69) *** @@ -1315,7 +1347,7 @@ Defined in: [ui/action-bar/index.d.ts:69](https://github.com/NativeScript/Native effectiveContentInsetRight: number; ``` -Defined in: [ui/action-bar/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L70) +Defined in: [ui/action-bar/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L70) *** @@ -1325,7 +1357,7 @@ Defined in: [ui/action-bar/index.d.ts:70](https://github.com/NativeScript/Native effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1339,7 +1371,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1353,7 +1385,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1367,7 +1399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1381,7 +1413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1395,7 +1427,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1403,13 +1435,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1423,7 +1483,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,13 +1491,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1451,7 +1525,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1465,7 +1539,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flat: boolean; ``` -Defined in: [ui/action-bar/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L38) +Defined in: [ui/action-bar/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L38) Removes the shadow/border at the bottom of the ActionBar and removes translucency on iOS. Default false. @@ -1480,7 +1554,7 @@ Default false. flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1498,7 +1572,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1516,7 +1590,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1534,7 +1608,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1552,7 +1626,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1570,7 +1644,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1588,7 +1662,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1606,7 +1680,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1624,7 +1698,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1642,7 +1716,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1658,7 +1732,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/action-bar/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L56) +Defined in: [ui/action-bar/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L56) Gets the native iOS [UINavigationBar](https://developer.apple.com/documentation/uikit/uinavigationbar) that represents the user interface for this component. Valid only when running on iOS. @@ -1674,7 +1748,7 @@ Gets the native iOS [UINavigationBar](https://developer.apple.com/documentation/ iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1692,7 +1766,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1710,7 +1784,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1728,7 +1802,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1746,7 +1820,7 @@ Set the iOS liquid glass effect style on the view. iosIconRenderingMode: "automatic" | "alwaysOriginal" | "alwaysTemplate"; ``` -Defined in: [ui/action-bar/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L67) +Defined in: [ui/action-bar/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L67) Gets or set the UIImageRenderingMode of the action bar icons in iOS. Defaults to "alwaysOriginal" Valid values are: @@ -1764,7 +1838,7 @@ Valid values are: iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1782,7 +1856,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1800,7 +1874,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1818,7 +1892,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1836,7 +1910,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1854,7 +1928,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1870,7 +1944,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1888,7 +1962,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1911,7 +1985,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1929,7 +2003,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1947,7 +2021,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1965,7 +2039,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1983,7 +2057,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1995,58 +2069,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2056,7 +2149,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2072,7 +2165,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2088,7 +2181,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2104,7 +2197,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m navigationButton: NavigationButton; ``` -Defined in: [ui/action-bar/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L30) +Defined in: [ui/action-bar/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L30) Gets or sets the navigation button (a.k.a. the back button). @@ -2118,7 +2211,7 @@ Gets or sets the navigation button (a.k.a. the back button). opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2136,7 +2229,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2154,7 +2247,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2172,7 +2265,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2190,7 +2283,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2206,7 +2299,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2225,7 +2318,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2239,7 +2332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2257,7 +2350,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2275,7 +2368,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2293,7 +2386,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2311,7 +2404,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2329,7 +2422,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2347,7 +2440,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2365,7 +2458,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2383,7 +2476,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2401,7 +2494,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2419,7 +2512,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2446,7 +2539,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2462,7 +2555,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native title: string; ``` -Defined in: [ui/action-bar/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L16) +Defined in: [ui/action-bar/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L16) Gets or sets the action bar title. @@ -2476,7 +2569,7 @@ Gets or sets the action bar title. titleView: View; ``` -Defined in: [ui/action-bar/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L23) +Defined in: [ui/action-bar/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L23) Gets or sets the title view. When set - replaces the title with a custom view. @@ -2490,7 +2583,7 @@ Gets or sets the title view. When set - replaces the title with a custom view. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2510,7 +2603,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2526,7 +2619,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2542,7 +2635,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2558,7 +2651,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2576,7 +2669,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2594,7 +2687,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2612,7 +2705,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2628,7 +2721,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2646,7 +2739,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2664,7 +2757,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2682,7 +2775,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2700,7 +2793,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2720,7 +2813,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2740,7 +2833,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2760,7 +2853,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2774,7 +2867,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2788,13 +2881,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2814,7 +2929,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2834,7 +2949,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2854,7 +2969,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2874,7 +2989,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2894,7 +3009,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2914,7 +3029,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2934,7 +3049,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2956,7 +3071,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2968,7 +3083,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2994,7 +3109,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3006,7 +3121,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3032,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3044,7 +3159,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3070,7 +3185,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3082,7 +3197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3108,7 +3223,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3120,7 +3235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3146,7 +3261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3158,7 +3273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3184,7 +3299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3196,7 +3311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3222,7 +3337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3234,7 +3349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3260,7 +3375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3280,7 +3395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3292,7 +3407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3318,7 +3433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3340,7 +3455,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3354,7 +3469,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3380,7 +3495,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3394,7 +3509,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3422,7 +3537,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3434,7 +3549,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3460,7 +3575,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3482,7 +3597,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3502,7 +3617,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3527,7 +3642,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3554,7 +3669,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3588,7 +3703,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3622,7 +3737,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3652,7 +3767,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3684,7 +3799,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3708,7 +3823,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3732,7 +3847,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3760,7 +3875,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3780,7 +3895,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3804,7 +3919,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3828,7 +3943,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3840,13 +3955,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3867,7 +4004,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3896,7 +4033,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3922,7 +4059,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3948,7 +4085,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3973,7 +4110,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3997,7 +4134,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4021,7 +4158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4042,7 +4179,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4068,7 +4205,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4088,7 +4225,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4108,7 +4245,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4128,7 +4265,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4148,7 +4285,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4172,7 +4309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4190,7 +4327,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4208,7 +4345,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4226,7 +4363,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4252,7 +4389,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4278,7 +4415,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4304,7 +4441,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4328,7 +4465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4352,7 +4489,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4379,7 +4516,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4408,7 +4545,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4435,7 +4572,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4456,7 +4593,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4481,7 +4618,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4505,7 +4642,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4535,7 +4672,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4563,7 +4700,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4589,7 +4726,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4613,7 +4750,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4642,7 +4779,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4670,7 +4807,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4696,7 +4833,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4721,7 +4858,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4739,7 +4876,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4757,7 +4894,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4783,7 +4920,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4809,7 +4946,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4830,7 +4967,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4858,7 +4995,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4888,7 +5025,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4908,7 +5045,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4934,7 +5071,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4960,7 +5097,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4982,7 +5119,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5003,7 +5140,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5029,7 +5166,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5049,7 +5186,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5069,7 +5206,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5087,7 +5224,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5111,7 +5248,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5131,7 +5268,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5151,7 +5288,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5177,7 +5314,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5197,7 +5334,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5215,7 +5352,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5229,13 +5366,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5255,7 +5417,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5287,7 +5449,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5319,7 +5481,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5339,7 +5501,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5365,7 +5527,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5390,7 +5552,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5426,7 +5588,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5455,7 +5617,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5481,7 +5643,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5509,7 +5671,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5546,7 +5708,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5577,7 +5739,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5610,7 +5772,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5639,7 +5801,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5668,7 +5830,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5697,7 +5859,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5727,7 +5889,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5756,7 +5918,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5785,7 +5947,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5813,7 +5975,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5836,7 +5998,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5869,7 +6031,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5898,7 +6060,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5916,7 +6078,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5944,7 +6106,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5962,7 +6124,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5983,7 +6145,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6011,7 +6173,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6031,7 +6193,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6051,7 +6213,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6089,7 +6251,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6116,7 +6278,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6141,7 +6303,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6165,7 +6327,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6192,7 +6354,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6220,7 +6382,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6240,7 +6402,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6267,7 +6429,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6293,7 +6455,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6313,7 +6475,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6337,7 +6499,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6363,7 +6525,7 @@ Unload view. update(): any; ``` -Defined in: [ui/action-bar/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L75) +Defined in: [ui/action-bar/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L75) Updates the action bar. @@ -6379,7 +6541,7 @@ Updates the action bar. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6407,7 +6569,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6439,7 +6601,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6470,7 +6632,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6508,7 +6670,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6557,7 +6719,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6592,7 +6754,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6627,7 +6789,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6661,7 +6823,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6696,7 +6858,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ActionItem.md b/content/api/classes/ActionItem.md index 9d274b83..30a5945e 100644 --- a/content/api/classes/ActionItem.md +++ b/content/api/classes/ActionItem.md @@ -5,7 +5,7 @@ description: Represents an action item in the action bar. contributors: false --- -Defined in: [ui/action-bar/index.d.ts:123](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L123) +Defined in: [ui/action-bar/index.d.ts:123](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L123) Represents an action item in the action bar. @@ -29,7 +29,7 @@ ActionItem new ActionItem(): ActionItem; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -47,7 +47,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -61,7 +61,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -89,7 +89,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -103,7 +103,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -117,7 +117,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -131,7 +131,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -145,7 +145,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -159,7 +159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -173,7 +173,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -187,7 +187,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -201,7 +201,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -215,7 +215,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -229,7 +229,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -243,7 +243,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -257,7 +257,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -271,7 +271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -285,7 +285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -305,7 +305,7 @@ as well as adding/rmoving the view to/from the visual tree. actionBar: ActionBar; ``` -Defined in: [ui/action-bar/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L162) +Defined in: [ui/action-bar/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L162) Gets the action bar that contains the action item. @@ -317,7 +317,7 @@ Gets the action bar that contains the action item. actionView: View; ``` -Defined in: [ui/action-bar/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L150) +Defined in: [ui/action-bar/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L150) Gets or sets the custom action view of the action item. @@ -331,7 +331,7 @@ Gets or sets the custom action view of the action item. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -349,7 +349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: AndroidActionItemSettings; ``` -Defined in: [ui/action-bar/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L198) +Defined in: [ui/action-bar/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L198) Gets the Android specific options of the action item. @@ -365,7 +365,7 @@ Gets the Android specific options of the action item. bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -381,7 +381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -399,7 +399,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -417,7 +417,7 @@ The column for the element. The columns are 0-indexed, so the first column is in colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -435,7 +435,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -453,7 +453,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -469,7 +469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -483,7 +483,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -497,7 +497,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -515,7 +515,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -533,7 +533,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -547,7 +547,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -561,7 +561,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -575,7 +575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -589,7 +589,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -597,13 +597,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveColumnGap`](ViewBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -617,7 +631,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -631,7 +645,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -645,7 +659,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -659,7 +673,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -673,7 +687,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -681,13 +695,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxHeight`](ViewBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxWidth`](ViewBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -701,7 +743,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -709,13 +751,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveRowGap`](ViewBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -729,7 +785,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -743,7 +799,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -761,7 +817,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -779,7 +835,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -797,7 +853,7 @@ When true, forces the item to wrap onto a new line. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -815,7 +871,7 @@ Gets or sets the visual state of the view. icon: string; ``` -Defined in: [ui/action-bar/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L143) +Defined in: [ui/action-bar/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L143) Gets or sets the icon of the action item. @@ -829,7 +885,7 @@ Gets or sets the icon of the action item. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -847,7 +903,7 @@ Gets or sets the id for this view. ios: IOSActionItemSettings; ``` -Defined in: [ui/action-bar/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L192) +Defined in: [ui/action-bar/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L192) Gets the iOS specific options of the action item. @@ -863,7 +919,7 @@ Gets the iOS specific options of the action item. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -881,7 +937,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -893,32 +949,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ViewBase`](ViewBase.md).[`mIsRootView`](ViewBase.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -934,7 +971,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -952,7 +989,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -968,7 +1005,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -982,7 +1019,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -1000,7 +1037,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -1018,7 +1055,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -1036,7 +1073,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -1054,7 +1091,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -1072,7 +1109,7 @@ Gets or sets the shared transition tag for animated view transitions text: string; ``` -Defined in: [ui/action-bar/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L136) +Defined in: [ui/action-bar/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L136) Gets or sets the text of the action item. @@ -1086,7 +1123,7 @@ Gets or sets the text of the action item. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1104,7 +1141,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1120,7 +1157,7 @@ returns the native UIViewController. visibility: string; ``` -Defined in: [ui/action-bar/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L157) +Defined in: [ui/action-bar/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L157) Gets or sets the visibility of the action item. @@ -1134,7 +1171,7 @@ Gets or sets the visibility of the action item. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1154,7 +1191,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1174,7 +1211,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1194,7 +1231,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1214,7 +1251,7 @@ propertyChange static tapEvent: string; ``` -Defined in: [ui/action-bar/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L129) +Defined in: [ui/action-bar/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L129) String value used when hooking to layoutChanged event. @@ -1230,7 +1267,7 @@ tap static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1252,7 +1289,7 @@ unloaded get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1264,7 +1301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1282,6 +1319,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`cssType`](ViewBase.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1290,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1302,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1328,7 +1405,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1340,7 +1417,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1366,7 +1443,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1378,7 +1455,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1404,7 +1481,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1416,7 +1493,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1442,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1462,7 +1539,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1474,7 +1551,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1500,7 +1577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1522,7 +1599,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1536,7 +1613,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1562,7 +1639,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1576,7 +1653,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1604,7 +1681,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1626,7 +1703,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1646,7 +1723,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1671,7 +1748,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1698,7 +1775,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1726,7 +1803,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1750,7 +1827,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1780,7 +1857,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1812,7 +1889,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1839,7 +1916,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1867,7 +1944,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1887,7 +1964,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1911,7 +1988,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1939,7 +2016,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1963,7 +2040,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1987,7 +2064,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2005,7 +2082,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2025,7 +2102,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2049,7 +2126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2075,7 +2152,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2101,7 +2178,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2127,7 +2204,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2151,7 +2228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2175,7 +2252,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2199,7 +2276,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2226,7 +2303,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2255,7 +2332,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2276,7 +2353,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2300,7 +2377,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2331,7 +2408,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2360,7 +2437,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2388,7 +2465,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2413,7 +2490,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2431,7 +2508,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2449,7 +2526,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2475,7 +2552,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2496,7 +2573,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2524,7 +2601,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2554,7 +2631,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2574,7 +2651,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2600,7 +2677,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2622,7 +2699,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2648,7 +2725,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2666,7 +2743,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2698,7 +2775,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2730,7 +2807,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2756,7 +2833,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2776,7 +2853,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2802,7 +2879,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2839,7 +2916,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2870,7 +2947,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2900,7 +2977,7 @@ Removes the listener(s) for the specified event name. on(eventName: string, callback: (data: EventData) => void): void; ``` -Defined in: [ui/action-bar/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L174) +Defined in: [ui/action-bar/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L174) Adds a listener for the specified event name. @@ -2925,7 +3002,7 @@ Adds a listener for the specified event name. on(event: "tap", callback: (args: EventData) => void): void; ``` -Defined in: [ui/action-bar/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L179) +Defined in: [ui/action-bar/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L179) Raised when a tap event occurs. @@ -2957,7 +3034,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -2986,7 +3063,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3004,7 +3081,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3022,7 +3099,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3043,7 +3120,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -3071,7 +3148,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3091,7 +3168,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3111,7 +3188,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3138,7 +3215,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3162,7 +3239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3190,7 +3267,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3219,7 +3296,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3244,7 +3321,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3271,7 +3348,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -3291,7 +3368,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3315,7 +3392,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3345,7 +3422,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3380,7 +3457,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3415,7 +3492,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3450,7 +3527,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3484,7 +3561,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/ActionItems.md b/content/api/classes/ActionItems.md index 53d9b65a..7c09f350 100644 --- a/content/api/classes/ActionItems.md +++ b/content/api/classes/ActionItems.md @@ -5,7 +5,7 @@ description: Represents a collection of ActionItems. contributors: false --- -Defined in: [ui/action-bar/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L93) +Defined in: [ui/action-bar/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L93) Represents a collection of ActionItems. @@ -29,7 +29,7 @@ new ActionItems(): ActionItems; addItem(item: ActionItem): void; ``` -Defined in: [ui/action-bar/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L98) +Defined in: [ui/action-bar/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L98) Adds an item to the collection. @@ -51,7 +51,7 @@ Adds an item to the collection. getItemAt(index: number): ActionItem; ``` -Defined in: [ui/action-bar/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L115) +Defined in: [ui/action-bar/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L115) Gets an item at a specified index. @@ -73,7 +73,7 @@ Gets an item at a specified index. getItems(): ActionItem[]; ``` -Defined in: [ui/action-bar/index.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L109) +Defined in: [ui/action-bar/index.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L109) Gets an array of the current action items in the collection. @@ -89,7 +89,7 @@ Gets an array of the current action items in the collection. removeItem(item: ActionItem): void; ``` -Defined in: [ui/action-bar/index.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L104) +Defined in: [ui/action-bar/index.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L104) Removes an item to the collection. diff --git a/content/api/classes/ActivityIndicator.md b/content/api/classes/ActivityIndicator.md index 42026dbc..ac45a4ed 100644 --- a/content/api/classes/ActivityIndicator.md +++ b/content/api/classes/ActivityIndicator.md @@ -5,7 +5,7 @@ description: Represents a UI widget which displays a progress indicator hinting contributors: false --- -Defined in: [ui/activity-indicator/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/activity-indicator/index.d.ts#L10) +Defined in: [ui/activity-indicator/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/activity-indicator/index.d.ts#L10) Represents a UI widget which displays a progress indicator hinting the user for some background operation running. @@ -25,7 +25,7 @@ ActivityIndicator new ActivityIndicator(): ActivityIndicator; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/activity-indicator/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/activity-indicator/index.d.ts#L14) +Defined in: [ui/activity-indicator/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/activity-indicator/index.d.ts#L14) Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. busy: boolean; ``` -Defined in: [ui/activity-indicator/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/activity-indicator/index.d.ts#L26) +Defined in: [ui/activity-indicator/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/activity-indicator/index.d.ts#L26) Gets or sets a value indicating whether the widget is currently displaying progress. @@ -1030,7 +1048,7 @@ Gets or sets a value indicating whether the widget is currently displaying progr className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1048,7 +1066,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1066,7 +1084,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1084,7 +1102,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1102,7 +1120,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1164,7 +1182,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1181,7 +1199,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1199,7 +1217,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1217,7 +1235,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1235,7 +1253,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,13 +1317,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1375,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,13 +1415,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1403,7 +1463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1411,13 +1471,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1445,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1463,7 +1537,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1481,7 +1555,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1499,7 +1573,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1517,7 +1591,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1535,7 +1609,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1553,7 +1627,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1571,7 +1645,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1589,7 +1663,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1607,7 +1681,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1623,7 +1697,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/activity-indicator/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/activity-indicator/index.d.ts#L19) +Defined in: [ui/activity-indicator/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/activity-indicator/index.d.ts#L19) Gets the native iOS [UIActivityIndicatorView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActivityIndicatorView_Class/index.html) that represents the user interface for this component. Valid only when running on iOS. @@ -1639,7 +1713,7 @@ Gets the native iOS [UIActivityIndicatorView](https://developer.apple.com/librar iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1657,7 +1731,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1675,7 +1749,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1693,7 +1767,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1711,7 +1785,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1729,7 +1803,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosIndicatorViewStyle: IOSIndicatorViewStyle; ``` -Defined in: [ui/activity-indicator/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/activity-indicator/index.d.ts#L31) +Defined in: [ui/activity-indicator/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/activity-indicator/index.d.ts#L31) Gets or sets the iOS indicator view style (e.g. medium, large). @@ -1741,7 +1815,7 @@ Gets or sets the iOS indicator view style (e.g. medium, large). iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1759,7 +1833,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1777,7 +1851,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1795,7 +1869,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1813,7 +1887,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1829,7 +1903,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1847,7 +1921,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1870,7 +1944,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1888,7 +1962,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1906,7 +1980,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1924,7 +1998,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1942,7 +2016,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1954,58 +2028,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2015,7 +2108,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2031,7 +2124,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2047,7 +2140,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2063,7 +2156,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2081,7 +2174,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2099,7 +2192,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2117,7 +2210,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2135,7 +2228,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2151,7 +2244,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2170,7 +2263,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2184,7 +2277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2202,7 +2295,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2220,7 +2313,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2238,7 +2331,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2256,7 +2349,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2274,7 +2367,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2292,7 +2385,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2310,7 +2403,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2328,7 +2421,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2346,7 +2439,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2364,7 +2457,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2391,7 +2484,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2407,7 +2500,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2427,7 +2520,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2443,7 +2536,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2459,7 +2552,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2475,7 +2568,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2493,7 +2586,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2511,7 +2604,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2529,7 +2622,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2545,7 +2638,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2563,7 +2656,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2581,7 +2674,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2599,7 +2692,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2617,7 +2710,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2637,7 +2730,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2657,7 +2750,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2677,7 +2770,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2691,7 +2784,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2705,13 +2798,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2731,7 +2846,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2751,7 +2866,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2771,7 +2886,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2791,7 +2906,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2811,7 +2926,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2831,7 +2946,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2851,7 +2966,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2873,7 +2988,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2885,7 +3000,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2911,7 +3026,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2923,7 +3038,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2949,7 +3064,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2961,7 +3076,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2987,7 +3102,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2999,7 +3114,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3025,7 +3140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3037,7 +3152,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3063,7 +3178,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3075,7 +3190,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3101,7 +3216,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3113,7 +3228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3139,7 +3254,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3151,7 +3266,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3177,7 +3292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3197,7 +3312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3209,7 +3324,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3235,7 +3350,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3257,7 +3372,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3271,7 +3386,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3297,7 +3412,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3311,7 +3426,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3339,7 +3454,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3351,7 +3466,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3377,7 +3492,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3399,7 +3514,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3419,7 +3534,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3444,7 +3559,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3471,7 +3586,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3505,7 +3620,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3539,7 +3654,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3569,7 +3684,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3601,7 +3716,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3625,7 +3740,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3649,7 +3764,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3677,7 +3792,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3697,7 +3812,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3721,7 +3836,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3745,7 +3860,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3757,13 +3872,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3784,7 +3921,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3813,7 +3950,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3839,7 +3976,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3865,7 +4002,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3890,7 +4027,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3914,7 +4051,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3938,7 +4075,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3959,7 +4096,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3985,7 +4122,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4005,7 +4142,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4025,7 +4162,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4045,7 +4182,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4065,7 +4202,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4089,7 +4226,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4107,7 +4244,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4125,7 +4262,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4143,7 +4280,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4169,7 +4306,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4195,7 +4332,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4221,7 +4358,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4245,7 +4382,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4269,7 +4406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4296,7 +4433,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4325,7 +4462,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4352,7 +4489,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4373,7 +4510,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4398,7 +4535,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4422,7 +4559,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4452,7 +4589,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4480,7 +4617,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4506,7 +4643,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4530,7 +4667,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4559,7 +4696,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4587,7 +4724,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4613,7 +4750,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4638,7 +4775,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4656,7 +4793,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4674,7 +4811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4700,7 +4837,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4726,7 +4863,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4747,7 +4884,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4775,7 +4912,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4805,7 +4942,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4825,7 +4962,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4851,7 +4988,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4877,7 +5014,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4899,7 +5036,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4920,7 +5057,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4946,7 +5083,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4966,7 +5103,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -4986,7 +5123,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5004,7 +5141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5028,7 +5165,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5048,7 +5185,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5068,7 +5205,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5094,7 +5231,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5114,7 +5251,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5132,7 +5269,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5146,13 +5283,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5172,7 +5334,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5204,7 +5366,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5236,7 +5398,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5256,7 +5418,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5282,7 +5444,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5307,7 +5469,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5343,7 +5505,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5372,7 +5534,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5398,7 +5560,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5426,7 +5588,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5463,7 +5625,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5494,7 +5656,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5527,7 +5689,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5556,7 +5718,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5585,7 +5747,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5614,7 +5776,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5644,7 +5806,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5673,7 +5835,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5702,7 +5864,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5730,7 +5892,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5753,7 +5915,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5786,7 +5948,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5815,7 +5977,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5833,7 +5995,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5861,7 +6023,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5879,7 +6041,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5900,7 +6062,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5928,7 +6090,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5948,7 +6110,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5968,7 +6130,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6006,7 +6168,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6033,7 +6195,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6058,7 +6220,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6082,7 +6244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6109,7 +6271,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6137,7 +6299,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6157,7 +6319,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6184,7 +6346,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6210,7 +6372,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6230,7 +6392,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6254,7 +6416,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6280,7 +6442,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6308,7 +6470,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6340,7 +6502,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6371,7 +6533,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6409,7 +6571,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6458,7 +6620,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6493,7 +6655,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6528,7 +6690,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6562,7 +6724,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6597,7 +6759,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/AndroidApplication.md b/content/api/classes/AndroidApplication.md index 877cbc8a..09454c08 100644 --- a/content/api/classes/AndroidApplication.md +++ b/content/api/classes/AndroidApplication.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [application/application.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L9) +Defined in: [application/application.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L53) ## Extends @@ -12,119 +12,117 @@ Defined in: [application/application.d.ts:9](https://github.com/NativeScript/Nat ## Properties +### \_windows + +```ts +protected _windows: NativeWindow[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`_windows`](ApplicationCommon.md#windows) + +*** + ### activityBackPressedEvent ```ts -readonly activityBackPressedEvent: "activityBackPressed" = AndroidApplication.activityBackPressedEvent; +readonly activityBackPressedEvent: "activityBackPressed" = 'activityBackPressed'; ``` -Defined in: [application/application.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L63) +Defined in: [application/application.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L74) *** ### activityCreatedEvent ```ts -readonly activityCreatedEvent: "activityCreated" = AndroidApplication.activityCreatedEvent; +readonly activityCreatedEvent: "activityCreated" = 'activityCreated'; ``` -Defined in: [application/application.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L55) +Defined in: [application/application.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L66) *** ### activityDestroyedEvent ```ts -readonly activityDestroyedEvent: "activityDestroyed" = AndroidApplication.activityDestroyedEvent; +readonly activityDestroyedEvent: "activityDestroyed" = 'activityDestroyed'; ``` -Defined in: [application/application.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L56) +Defined in: [application/application.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L67) *** ### activityNewIntentEvent ```ts -readonly activityNewIntentEvent: "activityNewIntent" = AndroidApplication.activityNewIntentEvent; +readonly activityNewIntentEvent: "activityNewIntent" = 'activityNewIntent'; ``` -Defined in: [application/application.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L64) +Defined in: [application/application.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L75) *** ### activityPausedEvent ```ts -readonly activityPausedEvent: "activityPaused" = AndroidApplication.activityPausedEvent; +readonly activityPausedEvent: "activityPaused" = 'activityPaused'; ``` -Defined in: [application/application.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L58) +Defined in: [application/application.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L69) *** ### activityRequestPermissionsEvent ```ts -readonly activityRequestPermissionsEvent: "activityRequestPermissions" = AndroidApplication.activityRequestPermissionsEvent; +readonly activityRequestPermissionsEvent: "activityRequestPermissions" = 'activityRequestPermissions'; ``` -Defined in: [application/application.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L65) +Defined in: [application/application.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L76) *** ### activityResultEvent ```ts -readonly activityResultEvent: "activityResult" = AndroidApplication.activityResultEvent; +readonly activityResultEvent: "activityResult" = 'activityResult'; ``` -Defined in: [application/application.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L62) +Defined in: [application/application.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L73) *** ### activityResumedEvent ```ts -readonly activityResumedEvent: "activityResumed" = AndroidApplication.activityResumedEvent; +readonly activityResumedEvent: "activityResumed" = 'activityResumed'; ``` -Defined in: [application/application.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L59) +Defined in: [application/application.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L70) *** ### activityStartedEvent ```ts -readonly activityStartedEvent: "activityStarted" = AndroidApplication.activityStartedEvent; +readonly activityStartedEvent: "activityStarted" = 'activityStarted'; ``` -Defined in: [application/application.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L57) +Defined in: [application/application.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L68) *** ### activityStoppedEvent ```ts -readonly activityStoppedEvent: "activityStopped" = AndroidApplication.activityStoppedEvent; -``` - -Defined in: [application/application.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L60) - -*** - -### autoSystemAppearanceChanged - -```ts -autoSystemAppearanceChanged: boolean; +readonly activityStoppedEvent: "activityStopped" = 'activityStopped'; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -Boolean to enable/disable systemAppearanceChanged - -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`autoSystemAppearanceChanged`](ApplicationCommon.md#autosystemappearancechanged) +Defined in: [application/application.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L71) *** @@ -134,7 +132,7 @@ Boolean to enable/disable systemAppearanceChanged readonly backgroundEvent: "background" = "background"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -148,7 +146,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly cssChangedEvent: "cssChanged" = "cssChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -162,7 +160,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly discardedErrorEvent: "discardedError" = "discardedError"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -176,7 +174,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly displayedEvent: "displayed" = "displayed"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -190,7 +188,10 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly exitEvent: "exit" = "exit"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +On Android, raised when the last window closes; the process may stay alive. +On iOS, raised when the process itself terminates. #### Inherited from @@ -204,7 +205,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly fontScaleChangedEvent: "fontScaleChanged" = "fontScaleChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -218,7 +219,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly foregroundEvent: "foreground" = "foreground"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -232,7 +233,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ hasListeners: (eventName: string) => boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -256,7 +257,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly initRootViewEvent: "initRootView" = "initRootView"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -264,13 +265,17 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### launchEvent +### ~~launchEvent~~ ```ts readonly launchEvent: "launch" = "launch"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Deprecated + +Use the 'ready' event for application initialization and Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire before the first window's content is created, and its 'root' property is still honored, for backwards compatibility. It never fires for additional windows. In a scene-based app it fires with the first window's content, so a background launch that connects no scene does not raise it. #### Inherited from @@ -284,7 +289,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly layoutDirectionChangedEvent: "layoutDirectionChanged" = "layoutDirectionChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -298,7 +303,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly livesyncEvent: "livesync" = "livesync"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -312,7 +317,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly loadAppCssEvent: "loadAppCss" = "loadAppCss"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -326,7 +331,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly lowMemoryEvent: "lowMemory" = "lowMemory"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -340,7 +345,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected mainEntry: NavigationEntry; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -354,7 +359,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ notify: (eventData: T) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -384,7 +389,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -404,6 +409,20 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### on + +```ts +on: AndroidApplicationOn; +``` + +Defined in: [application/application.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L78) + +#### Overrides + +[`ApplicationCommon`](ApplicationCommon.md).[`on`](ApplicationCommon.md#on) + +*** + ### once ```ts @@ -412,6 +431,7 @@ once: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -423,10 +443,16 @@ once: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -520,6 +546,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -601,6 +650,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -775,6 +827,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`once`](ApplicationCommon.md#once) @@ -787,7 +965,7 @@ between ltr and rtl. readonly orientationChangedEvent: "orientationChanged" = "orientationChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -795,13 +973,48 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### primaryWindowChangedEvent + +```ts +readonly primaryWindowChangedEvent: "primaryWindowChanged"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`primaryWindowChangedEvent`](ApplicationCommon.md#primarywindowchangedevent) + +*** + +### readyEvent + +```ts +readonly readyEvent: "ready" = "ready"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Raised once per JS context, as soon as the context is initialized. It is never deferred, +so it also fires on a background launch where no window is created. + +Guaranteed ordering: `ready` -\> `windowOpen` -\> raw connect/create events -\> content +resolution (the legacy `launch` bridge runs here, for the first window only) -\> +`contentLoaded` -\> `activate`/`displayed`. + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`readyEvent`](ApplicationCommon.md#readyevent) + +*** + ### resumeEvent ```ts readonly resumeEvent: "resume" = "resume"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -812,10 +1025,10 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### saveActivityStateEvent ```ts -readonly saveActivityStateEvent: "saveActivityState" = AndroidApplication.saveActivityStateEvent; +readonly saveActivityStateEvent: "saveActivityState" = 'saveActivityState'; ``` -Defined in: [application/application.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L61) +Defined in: [application/application.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L72) *** @@ -825,7 +1038,7 @@ Defined in: [application/application.d.ts:61](https://github.com/NativeScript/Na started: boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -839,7 +1052,11 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly suspendEvent: "suspend" = "suspend"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Reflects whole-app state: with multiple windows it is raised once the app itself is +no longer in the foreground, not when an individual window backgrounds. Listen on a +NativeWindow for per-window state. #### Inherited from @@ -853,7 +1070,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -867,7 +1084,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -875,143 +1092,131 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### ~~activityBackPressedEvent~~ +### windowCloseEvent ```ts -readonly static activityBackPressedEvent: "activityBackPressed" = 'activityBackPressed'; +readonly windowCloseEvent: "windowClose"; ``` -Defined in: [application/application.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L45) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -#### Deprecated +#### Inherited from -Use `Application.android.activityBackPressedEvent` instead. +[`ApplicationCommon`](ApplicationCommon.md).[`windowCloseEvent`](ApplicationCommon.md#windowcloseevent) *** -### ~~activityCreatedEvent~~ +### windowOpenEvent ```ts -readonly static activityCreatedEvent: "activityCreated" = 'activityCreated'; +readonly windowOpenEvent: "windowOpen"; ``` -Defined in: [application/application.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L13) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -#### Deprecated +#### Inherited from -Use `Application.android.activityCreatedEvent` instead. +[`ApplicationCommon`](ApplicationCommon.md).[`windowOpenEvent`](ApplicationCommon.md#windowopenevent) *** -### ~~activityDestroyedEvent~~ +### activityBackPressedEvent ```ts -readonly static activityDestroyedEvent: "activityDestroyed" = 'activityDestroyed'; +readonly static activityBackPressedEvent: "activityBackPressed" = 'activityBackPressed'; ``` -Defined in: [application/application.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L17) +Defined in: [application/application.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L62) -#### Deprecated +*** + +### activityCreatedEvent + +```ts +readonly static activityCreatedEvent: "activityCreated" = 'activityCreated'; +``` -Use `Application.android.activityDestroyedEvent` instead. +Defined in: [application/application.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L54) *** -### ~~activityNewIntentEvent~~ +### activityDestroyedEvent ```ts -readonly static activityNewIntentEvent: "activityNewIntent" = 'activityNewIntent'; +readonly static activityDestroyedEvent: "activityDestroyed" = 'activityDestroyed'; ``` -Defined in: [application/application.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L49) +Defined in: [application/application.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L55) -#### Deprecated +*** + +### activityNewIntentEvent -Use `Application.android.activityNewIntentEvent` instead. +```ts +readonly static activityNewIntentEvent: "activityNewIntent" = 'activityNewIntent'; +``` + +Defined in: [application/application.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L63) *** -### ~~activityPausedEvent~~ +### activityPausedEvent ```ts readonly static activityPausedEvent: "activityPaused" = 'activityPaused'; ``` -Defined in: [application/application.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L25) - -#### Deprecated - -Use `Application.android.activityPausedEvent` instead. +Defined in: [application/application.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L57) *** -### ~~activityRequestPermissionsEvent~~ +### activityRequestPermissionsEvent ```ts readonly static activityRequestPermissionsEvent: "activityRequestPermissions" = 'activityRequestPermissions'; ``` -Defined in: [application/application.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L53) - -#### Deprecated - -Use `Application.android.activityRequestPermissionsEvent` instead. +Defined in: [application/application.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L64) *** -### ~~activityResultEvent~~ +### activityResultEvent ```ts readonly static activityResultEvent: "activityResult" = 'activityResult'; ``` -Defined in: [application/application.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L41) - -#### Deprecated - -Use `Application.android.activityResultEvent` instead. +Defined in: [application/application.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L61) *** -### ~~activityResumedEvent~~ +### activityResumedEvent ```ts readonly static activityResumedEvent: "activityResumed" = 'activityResumed'; ``` -Defined in: [application/application.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L29) - -#### Deprecated - -Use `Application.android.activityResumedEvent` instead. +Defined in: [application/application.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L58) *** -### ~~activityStartedEvent~~ +### activityStartedEvent ```ts readonly static activityStartedEvent: "activityStarted" = 'activityStarted'; ``` -Defined in: [application/application.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L21) - -#### Deprecated - -Use `Application.android.activityStartedEvent` instead. +Defined in: [application/application.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L56) *** -### ~~activityStoppedEvent~~ +### activityStoppedEvent ```ts readonly static activityStoppedEvent: "activityStopped" = 'activityStopped'; ``` -Defined in: [application/application.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L33) - -#### Deprecated - -Use `Application.android.activityStoppedEvent` instead. +Defined in: [application/application.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L59) *** @@ -1021,7 +1226,7 @@ Use `Application.android.activityStoppedEvent` instead. static hasListeners: (eventName: string) => boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -1049,7 +1254,7 @@ Use `Application.android.hasListeners()` instead. static notify: (eventData: T) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -1083,7 +1288,7 @@ Use `Application.android.notify()` instead. static off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -1115,6 +1320,7 @@ static on: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1126,10 +1332,16 @@ static on: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1223,6 +1435,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1304,6 +1539,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -1478,6 +1716,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + #### Deprecated Use `Application.android.on()` instead. @@ -1496,6 +1860,7 @@ static once: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1507,10 +1872,16 @@ static once: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1604,6 +1975,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1685,6 +2079,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -1859,147 +2256,334 @@ between ltr and rtl. `void` -#### Deprecated +#### Call Signature -Use `Application.android.once()` instead. +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` -#### Inherited from +##### Parameters -[`ApplicationCommon`](ApplicationCommon.md).[`once`](ApplicationCommon.md#once-1) +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | -*** +##### Returns + +`void` -### ~~saveActivityStateEvent~~ +#### Call Signature ```ts -readonly static saveActivityStateEvent: "saveActivityState" = 'saveActivityState'; +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L37) - -#### Deprecated +##### Parameters -Use `Application.android.saveActivityStateEvent` instead. +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | -## Accessors +##### Returns -### android +`void` -#### Get Signature +#### Call Signature ```ts -get android(): AndroidApplication; +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -##### Returns - -`AndroidApplication` - -#### Inherited from +##### Parameters -[`ApplicationCommon`](ApplicationCommon.md).[`android`](ApplicationCommon.md#android) +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | -*** +##### Returns -### AndroidApplication +`void` -#### Get Signature +#### Call Signature ```ts -get AndroidApplication(): AndroidApplication; +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | ##### Returns -`AndroidApplication` +`void` -#### Inherited from +#### Call Signature -[`ApplicationCommon`](ApplicationCommon.md).[`AndroidApplication`](ApplicationCommon.md#androidapplication) +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` -*** +##### Parameters -### backgrounded +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | -#### Get Signature +##### Returns + +`void` + +#### Call Signature ```ts -get backgrounded(): boolean; +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L104) - -##### Deprecated +##### Parameters -Use `Application.inBackground` instead. +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | ##### Returns -`boolean` - -*** +`void` -### context +#### Deprecated -#### Get Signature +Use `Application.android.once()` instead. -```ts -get context(): Context; -``` +#### Inherited from -Defined in: [application/application.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L99) +[`ApplicationCommon`](ApplicationCommon.md).[`once`](ApplicationCommon.md#once-1) -##### Deprecated +*** -Use `Utils.android.getApplicationContext()` instead. +### saveActivityStateEvent -##### Returns +```ts +readonly static saveActivityStateEvent: "saveActivityState" = 'saveActivityState'; +``` -`Context` +Defined in: [application/application.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L60) -*** +## Accessors -### foregroundActivity +### activeWindow #### Get Signature ```ts -get foregroundActivity(): AppCompatActivity; +get activeWindow(): NativeWindow; ``` -Defined in: [application/application.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L94) - -The currently active (loaded) [android Activity](http://developer.android.com/reference/android/app/Activity.html). +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -This property is automatically updated upon Activity events. +Get the NativeWindow the user is currently interacting with - the one that activated most +recently and is still attached. Falls back to the primary window while no window holds +activation, which is the case before the first window activates and on a platform that +never raises `activate`. ##### Returns -`AppCompatActivity` +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`activeWindow`](ApplicationCommon.md#activewindow) *** -### inBackground +### android #### Get Signature ```ts -get inBackground(): boolean; +get android(): AndroidApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns -`boolean` +`AndroidApplication` #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`inBackground`](ApplicationCommon.md#inbackground) +[`ApplicationCommon`](ApplicationCommon.md).[`android`](ApplicationCommon.md#android) + +*** + +### AndroidApplication + +#### Get Signature + +```ts +get AndroidApplication(): AndroidApplication; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Returns + +`AndroidApplication` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`AndroidApplication`](ApplicationCommon.md#androidapplication) + +*** + +### autoSystemAppearanceChanged + +#### Get Signature + +```ts +get autoSystemAppearanceChanged(): boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Boolean to enable/disable systemAppearanceChanged + +##### Returns + +`boolean` + +#### Set Signature + +```ts +set autoSystemAppearanceChanged(value: boolean): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `boolean` | + +##### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`autoSystemAppearanceChanged`](ApplicationCommon.md#autosystemappearancechanged) + +*** + +### backgrounded + +#### Get Signature + +```ts +get backgrounded(): boolean; +``` + +Defined in: [application/application.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L117) + +##### Deprecated + +Use `Application.inBackground` instead. + +##### Returns + +`boolean` + +*** + +### context + +#### Get Signature + +```ts +get context(): Context; +``` + +Defined in: [application/application.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L112) + +##### Deprecated + +Use `Utils.android.getApplicationContext()` instead. + +##### Returns + +`Context` + +*** + +### foregroundActivity + +#### Get Signature + +```ts +get foregroundActivity(): AppCompatActivity; +``` + +Defined in: [application/application.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L107) + +The currently active (loaded) [android Activity](http://developer.android.com/reference/android/app/Activity.html). + +This property is automatically updated upon Activity events. + +##### Returns + +`AppCompatActivity` + +*** + +### inBackground + +#### Get Signature + +```ts +get inBackground(): boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Returns + +`boolean` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`inBackground`](ApplicationCommon.md#inbackground) *** @@ -2011,7 +2595,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get ios(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2031,7 +2615,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get iOSApplication(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2051,7 +2635,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get nativeApp(): Application; ``` -Defined in: [application/application.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L77) +Defined in: [application/application.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L90) The [android Application](http://developer.android.com/reference/android/app/Application.html) object instance provided to the init of the module. @@ -2069,7 +2653,7 @@ The [android Application](http://developer.android.com/reference/android/app/App get packageName(): string; ``` -Defined in: [application/application.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L82) +Defined in: [application/application.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L95) ##### Deprecated @@ -2089,7 +2673,7 @@ Use `Utils.android.getPackageName()` instead. get paused(): boolean; ``` -Defined in: [application/application.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L109) +Defined in: [application/application.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L122) ##### Deprecated @@ -2101,6 +2685,28 @@ Use `Application.suspended` instead. *** +### primaryWindow + +#### Get Signature + +```ts +get primaryWindow(): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the primary NativeWindow. + +##### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`primaryWindow`](ApplicationCommon.md#primarywindow) + +*** + ### startActivity #### Get Signature @@ -2109,7 +2715,7 @@ Use `Application.suspended` instead. get startActivity(): AppCompatActivity; ``` -Defined in: [application/application.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L87) +Defined in: [application/application.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L100) The main (start) Activity for the application. @@ -2127,7 +2733,7 @@ The main (start) Activity for the application. get suspended(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2139,13 +2745,67 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ## Methods +### \_onPrimaryWindowPromoted() + +```ts +protected _onPrimaryWindowPromoted(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window takes over the primary +role, before `primaryWindowChanged` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`_onPrimaryWindowPromoted`](ApplicationCommon.md#onprimarywindowpromoted) + +*** + +### \_onWindowRegistered() + +```ts +protected _onWindowRegistered(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window joins the registry, +before `windowOpen` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`_onWindowRegistered`](ApplicationCommon.md#onwindowregistered) + +*** + ### addCss() ```ts addCss(cssText: string, attributeScoped?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2174,7 +2834,7 @@ applyCssClass( skipCssUpdate?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Applies the the `newCssClass` to the `rootView` and removes all other css classes from `cssClasses` previously applied to the `rootView`. @@ -2207,7 +2867,7 @@ createRootView( additionalLanchEventData?: any): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2233,7 +2893,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getCssFileName(): string; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Gets css file name for the application. @@ -2253,7 +2913,7 @@ Gets css file name for the application. protected getLayoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2271,7 +2931,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getMainEntry(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2291,7 +2951,7 @@ The main entry of the application getNativeApplication(): Application; ``` -Defined in: [application/application.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L67) +Defined in: [application/application.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L80) #### Returns @@ -2309,7 +2969,7 @@ Defined in: [application/application.d.ts:67](https://github.com/NativeScript/Na protected getOrientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2324,10 +2984,10 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### ~~getRegisteredBroadcastReceiver()~~ ```ts -getRegisteredBroadcastReceiver(intentFilter: string): BroadcastReceiver; +getRegisteredBroadcastReceiver(intentFilter: string): any; ``` -Defined in: [application/application.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L132) +Defined in: [application/application.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L146) Get a registered BroadcastReceiver, then you can get the result code of BroadcastReceiver in onReceiveCallback method. @@ -2339,7 +2999,7 @@ Get a registered BroadcastReceiver, then you can get the result code of Broadcas #### Returns -`BroadcastReceiver` +`any` #### Deprecated @@ -2353,7 +3013,7 @@ Use `getRegisteredBroadcastReceivers` instead. getRegisteredBroadcastReceivers(intentFilter: string): BroadcastReceiver[]; ``` -Defined in: [application/application.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L137) +Defined in: [application/application.d.ts:151](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L151) Get all registered BroadcastReceivers for a specific intent filter. @@ -2375,7 +3035,7 @@ Get all registered BroadcastReceivers for a specific intent filter. getResources(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Get application level static resources. @@ -2395,7 +3055,7 @@ Get application level static resources. getRootView(): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2413,7 +3073,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected getSystemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2425,498 +3085,325 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### hasLaunched() +### getWindowById() ```ts -hasLaunched(): boolean; +getWindowById(id: string): NativeWindow; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -#### Returns - -`boolean` - -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`hasLaunched`](ApplicationCommon.md#haslaunched) - -*** +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -### initRootView() - -```ts -initRootView(rootView: View): void; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Get a registered NativeWindow by its id. #### Parameters | Parameter | Type | | ------ | ------ | -| `rootView` | [`View`](View.md) | +| `id` | `string` | #### Returns -`void` +[`NativeWindow`](NativeWindow.md) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`initRootView`](ApplicationCommon.md#initrootview) +[`ApplicationCommon`](ApplicationCommon.md).[`getWindowById`](ApplicationCommon.md#getwindowbyid) *** -### layoutDirection() +### getWindowContentResolver() ```ts -layoutDirection(): LayoutDirectionType; +getWindowContentResolver(): WindowContentResolver; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns -[`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) - -#### Inherited from +[`WindowContentResolver`](../type-aliases/WindowContentResolver.md) -[`ApplicationCommon`](ApplicationCommon.md).[`layoutDirection`](ApplicationCommon.md#layoutdirection) - -*** - -### layoutDirectionChanged() - -```ts -layoutDirectionChanged(rootView: View, newLayoutDirection: LayoutDirectionType): void; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -Updates root view classes including those of modals - -#### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `rootView` | [`View`](View.md) | the root view | -| `newLayoutDirection` | [`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) | the new layout direction change | - -#### Returns - -`void` +The callback currently supplying window content, if any. #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`layoutDirectionChanged`](ApplicationCommon.md#layoutdirectionchanged) +[`ApplicationCommon`](ApplicationCommon.md).[`getWindowContentResolver`](ApplicationCommon.md#getwindowcontentresolver) *** -### loadAppCss() - -```ts -loadAppCss(): void; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -Loads immediately the app.css. -By default the app.css file is loaded shortly after "loaded". -For the Android snapshot the CSS can be parsed during the snapshot generation, -as the CSS does not depend on runtime APIs, and loadAppCss will be called explicitly. - -#### Returns - -`void` - -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`loadAppCss`](ApplicationCommon.md#loadappcss) - -*** +### getWindows() -### notifyLaunch() +#### Call Signature ```ts -protected notifyLaunch(additionalLanchEventData?: any): View; +getWindows(role: "all"): WindowBase[]; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `additionalLanchEventData?` | `any` | - -#### Returns - -[`View`](View.md) - -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`notifyLaunch`](ApplicationCommon.md#notifylaunch) - -*** - -### on() +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -#### Call Signature - -```ts -on( - event: "activityCreated", - callback: (args: AndroidActivityBundleEventData) => void, - thisArg?: any): void; -``` +Get the active windows, filtered by role. -Defined in: [application/application.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L139) +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"activityCreated"` | -| `callback` | (`args`: `AndroidActivityBundleEventData`) => `void` | -| `thisArg?` | `any` | +| `role` | `"all"` | ##### Returns -`void` +[`WindowBase`](WindowBase.md)[] -##### Overrides +##### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) #### Call Signature ```ts -on( - event: "activityDestroyed", - callback: (args: AndroidActivityEventData) => void, - thisArg?: any): void; +getWindows(role?: + | WindowRole + | WindowRole[]): NativeWindow[]; ``` -Defined in: [application/application.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L140) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -This event is raised when application css is changed. +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"activityDestroyed"` | -| `callback` | (`args`: `AndroidActivityEventData`) => `void` | -| `thisArg?` | `any` | +| `role?` | \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | ##### Returns -`void` +[`NativeWindow`](NativeWindow.md)[] -##### Overrides +##### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) #### Call Signature ```ts -on( - event: "activityStarted", - callback: (args: AndroidActivityEventData) => void, - thisArg?: any): void; +getWindows(role?: + | "all" + | WindowRole + | WindowRole[]): WindowBase[]; ``` -Defined in: [application/application.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L141) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -Event raised then livesync operation is performed. +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"activityStarted"` | -| `callback` | (`args`: `AndroidActivityEventData`) => `void` | -| `thisArg?` | `any` | +| `role?` | \| `"all"` \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | ##### Returns -`void` +[`WindowBase`](WindowBase.md)[] -##### Overrides +##### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) -#### Call Signature +*** + +### hasLaunched() ```ts -on( - event: "activityPaused", - callback: (args: AndroidActivityEventData) => void, - thisArg?: any): void; +hasLaunched(): boolean; ``` -Defined in: [application/application.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L142) - -This event is raised on application launchEvent. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -##### Parameters - -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityPaused"` | -| `callback` | (`args`: `AndroidActivityEventData`) => `void` | -| `thisArg?` | `any` | +#### Returns -##### Returns +`boolean` -`void` +#### Inherited from -##### Overrides +[`ApplicationCommon`](ApplicationCommon.md).[`hasLaunched`](ApplicationCommon.md#haslaunched) -```ts -ApplicationCommon.on -``` +*** -#### Call Signature +### initRootView() ```ts -on( - event: "activityResumed", - callback: (args: AndroidActivityEventData) => void, - thisArg?: any): void; +initRootView(rootView: View, window?: NativeWindow): void; ``` -Defined in: [application/application.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L143) - -**`Experimental`** - -This event is raised after the application has performed most of its startup actions. -Its intent is to be suitable for measuring app startup times. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -##### Parameters +#### Parameters -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityResumed"` | -| `callback` | (`args`: `AndroidActivityEventData`) => `void` | -| `thisArg?` | `any` | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `rootView` | [`View`](View.md) | - | +| `window?` | [`NativeWindow`](NativeWindow.md) | the window the root view belongs to. Supplies the window-scoped CSS classes; without it they come from the primary window. | -##### Returns +#### Returns `void` -##### Overrides +#### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`initRootView`](ApplicationCommon.md#initrootview) -#### Call Signature +*** + +### ~~layoutDirection()~~ ```ts -on( - event: "activityStopped", - callback: (args: AndroidActivityEventData) => void, - thisArg?: any): void; +layoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L144) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -This event is raised when the Application is suspended. +#### Returns -##### Parameters +[`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityStopped"` | -| `callback` | (`args`: `AndroidActivityEventData`) => `void` | -| `thisArg?` | `any` | +#### Deprecated -##### Returns +Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. -`void` +#### Inherited from -##### Overrides +[`ApplicationCommon`](ApplicationCommon.md).[`layoutDirection`](ApplicationCommon.md#layoutdirection) -```ts -ApplicationCommon.on -``` +*** -#### Call Signature +### layoutDirectionChanged() ```ts -on( - event: "saveActivityState", - callback: (args: AndroidActivityBundleEventData) => void, - thisArg?: any): void; +layoutDirectionChanged(rootView: View, newLayoutDirection: LayoutDirectionType): void; ``` -Defined in: [application/application.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L145) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -This event is raised when the Application is resumed after it has been suspended. +Updates root view classes including those of modals -##### Parameters +#### Parameters -| Parameter | Type | -| ------ | ------ | -| `event` | `"saveActivityState"` | -| `callback` | (`args`: `AndroidActivityBundleEventData`) => `void` | -| `thisArg?` | `any` | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `rootView` | [`View`](View.md) | the root view | +| `newLayoutDirection` | [`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) | the new layout direction change | -##### Returns +#### Returns `void` -##### Overrides +#### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`layoutDirectionChanged`](ApplicationCommon.md#layoutdirectionchanged) -#### Call Signature +*** + +### loadAppCss() ```ts -on( - event: "activityResult", - callback: (args: AndroidActivityResultEventData) => void, - thisArg?: any): void; +loadAppCss(): void; ``` -Defined in: [application/application.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L146) - -This event is raised when the Application is about to exit. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -##### Parameters - -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityResult"` | -| `callback` | (`args`: `AndroidActivityResultEventData`) => `void` | -| `thisArg?` | `any` | +Loads immediately the app.css. +By default the app.css file is loaded shortly after "loaded". +For the Android snapshot the CSS can be parsed during the snapshot generation, +as the CSS does not depend on runtime APIs, and loadAppCss will be called explicitly. -##### Returns +#### Returns `void` -##### Overrides +#### Inherited from -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`loadAppCss`](ApplicationCommon.md#loadappcss) -#### Call Signature +*** + +### notifyLaunch() ```ts -on( - event: "activityBackPressed", - callback: (args: AndroidActivityBackPressedEventData) => void, - thisArg?: any): void; +protected notifyLaunch(additionalLanchEventData?: any): View; ``` -Defined in: [application/application.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L147) - -This event is raised when there is low memory on the target device. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -##### Parameters +#### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"activityBackPressed"` | -| `callback` | (`args`: `AndroidActivityBackPressedEventData`) => `void` | -| `thisArg?` | `any` | - -##### Returns - -`void` - -##### Overrides - -```ts -ApplicationCommon.on -``` - -#### Call Signature - -```ts -on( - event: "activityNewIntent", - callback: (args: AndroidActivityNewIntentEventData) => void, - thisArg?: any): void; -``` - -Defined in: [application/application.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L148) +| `additionalLanchEventData?` | `any` | -This event is raised when an uncaught error occurs while the application is running. +#### Returns -##### Parameters +[`View`](View.md) -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityNewIntent"` | -| `callback` | (`args`: `AndroidActivityNewIntentEventData`) => `void` | -| `thisArg?` | `any` | +#### Inherited from -##### Returns +[`ApplicationCommon`](ApplicationCommon.md).[`notifyLaunch`](ApplicationCommon.md#notifylaunch) -`void` +*** -##### Overrides +### openWindow() ```ts -ApplicationCommon.on +openWindow(options?: WindowOpenOptions): void; ``` -#### Call Signature - -```ts -on( - event: "activityRequestPermissions", - callback: (args: AndroidActivityRequestPermissionsEventData) => void, - thisArg?: any): void; -``` +Defined in: [application/application.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L172) -Defined in: [application/application.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L149) +**`Experimental`** -This event is raised when an discarded error occurs while the application is running. +Opens a new window by launching the start activity into its own task. -##### Parameters +#### Parameters -| Parameter | Type | -| ------ | ------ | -| `event` | `"activityRequestPermissions"` | -| `callback` | (`args`: `AndroidActivityRequestPermissionsEventData`) => `void` | -| `thisArg?` | `any` | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `options?` | [`WindowOpenOptions`](../interfaces/WindowOpenOptions.md) | Options for the new window. `options.data` is put on the launch intent as extras and surfaces as the window's `data`. The start activity's `launchMode` in AndroidManifest.xml decides whether a second instance can exist at all: `singleTask` (the app template default) and `singleInstance` route the intent to the existing activity's `onNewIntent` instead of creating one. Use `singleInstancePerTask` (API 31+) to keep single-task behavior for launcher and deep-link starts while allowing additional windows, or `standard`. When the app is already in split-screen, the new window opens in the adjacent pane; otherwise it covers the current one and both show in recents. | -##### Returns +#### Returns `void` -##### Overrides +#### Overrides -```ts -ApplicationCommon.on -``` +[`ApplicationCommon`](ApplicationCommon.md).[`openWindow`](ApplicationCommon.md#openwindow) *** -### orientation() +### ~~orientation()~~ ```ts orientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"portrait"` \| `"landscape"` \| `"unknown"` +#### Deprecated + +Use Application.primaryWindow?.orientation() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`orientation`](ApplicationCommon.md#orientation) @@ -2929,7 +3416,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ orientationChanged(rootView: View, newOrientation: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2951,10 +3438,13 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### registerBroadcastReceiver() ```ts -registerBroadcastReceiver(intentFilter: string, onReceiveCallback: (context: Context, intent: Intent) => void): () => void; +registerBroadcastReceiver( + intentFilter: string, + onReceiveCallback: (context: Context, intent: Intent) => void, + flags?: number): () => void; ``` -Defined in: [application/application.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L118) +Defined in: [application/application.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L132) Register a BroadcastReceiver to be run in the main activity thread. The receiver will be called with any broadcast Intent that matches filter, in the main application thread. For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#registerReceiver%28android.content.BroadcastReceiver,%20android.content.IntentFilter%29' @@ -2965,6 +3455,7 @@ For more information, please visit 'http://developer.android.com/reference/andro | ------ | ------ | ------ | | `intentFilter` | `string` | A string containing the intent filter. | | `onReceiveCallback` | (`context`: `Context`, `intent`: `Intent`) => `void` | A callback function that will be called each time the receiver receives a broadcast. | +| `flags?` | `number` | Any combination of `RECEIVER_VISIBLE_TO_INSTANT_APPS` (1), `RECEIVER_EXPORTED` (2) and `RECEIVER_NOT_EXPORTED` (4). Defaults to `RECEIVER_EXPORTED`. Only honored from API 26 onwards. | #### Returns @@ -2980,7 +3471,7 @@ A function that can be called to unregister the receiver. resetRootView(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3004,7 +3495,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ run(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3028,7 +3519,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setAutoSystemAppearanceChanged(value: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) enable/disable systemAppearanceChanged @@ -3054,7 +3545,7 @@ enable/disable systemAppearanceChanged setCssFileName(cssFileName: string): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Sets css file name for the application. @@ -3080,7 +3571,7 @@ Sets css file name for the application. setInBackground(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3105,7 +3596,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setLayoutDirection(value: LayoutDirectionType): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3133,7 +3624,7 @@ setMaxRefreshRate(options?: { }): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) iOS Only Dynamically change the preferred frame rate @@ -3171,7 +3662,7 @@ To use, ensure your Info.plist has: protected setOrientation(value: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3195,7 +3686,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setResources(res: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Set application level static resources. @@ -3221,7 +3712,7 @@ Set application level static resources. setSuspended(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3246,7 +3737,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setSystemAppearance(value: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3264,18 +3755,49 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### systemAppearance() +### setWindowContentResolver() + +```ts +setWindowContentResolver(resolver: WindowContentResolver): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Sets the callback that supplies the UI for windows that need content. +Pass `null` to remove a previously set resolver. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `resolver` | [`WindowContentResolver`](../type-aliases/WindowContentResolver.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`setWindowContentResolver`](ApplicationCommon.md#setwindowcontentresolver) + +*** + +### ~~systemAppearance()~~ ```ts systemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"dark"` \| `"light"` +#### Deprecated + +Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`systemAppearance`](ApplicationCommon.md#systemappearance) @@ -3288,7 +3810,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ systemAppearanceChanged(rootView: View, newSystemAppearance: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Updates root view classes including those of modals @@ -3315,7 +3837,7 @@ Updates root view classes including those of modals unregisterBroadcastReceiver(intentFilter: string): void; ``` -Defined in: [application/application.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L125) +Defined in: [application/application.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L139) Unregister a previously registered BroadcastReceiver. For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#unregisterReceiver(android.content.BroadcastReceiver)' diff --git a/content/api/classes/Animation.md b/content/api/classes/Animation.md index fe469b1f..9b63cfb6 100644 --- a/content/api/classes/Animation.md +++ b/content/api/classes/Animation.md @@ -5,7 +5,7 @@ description: Defines a animation set. contributors: false --- -Defined in: [ui/animation/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L8) +Defined in: [ui/animation/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L8) Defines a animation set. @@ -17,7 +17,7 @@ Defines a animation set. new Animation(animationDefinitions: AnimationDefinition[], playSequentially?: boolean): Animation; ``` -Defined in: [ui/animation/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L9) +Defined in: [ui/animation/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L9) #### Parameters @@ -38,7 +38,7 @@ Defined in: [ui/animation/index.d.ts:9](https://github.com/NativeScript/NativeSc cancel: () => void; ``` -Defined in: [ui/animation/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L11) +Defined in: [ui/animation/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L11) #### Returns @@ -52,7 +52,7 @@ Defined in: [ui/animation/index.d.ts:11](https://github.com/NativeScript/NativeS isPlaying: boolean; ``` -Defined in: [ui/animation/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L12) +Defined in: [ui/animation/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L12) *** @@ -62,7 +62,7 @@ Defined in: [ui/animation/index.d.ts:12](https://github.com/NativeScript/NativeS play: (resetOnFinish?: boolean) => AnimationPromise; ``` -Defined in: [ui/animation/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L10) +Defined in: [ui/animation/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L10) #### Parameters @@ -82,7 +82,7 @@ Defined in: [ui/animation/index.d.ts:10](https://github.com/NativeScript/NativeS _resolveAnimationCurve(curve: any): any; ``` -Defined in: [ui/animation/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L13) +Defined in: [ui/animation/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L13) #### Parameters diff --git a/content/api/classes/ApplicationCommon.md b/content/api/classes/ApplicationCommon.md index 5f2a3bde..3259c9f6 100644 --- a/content/api/classes/ApplicationCommon.md +++ b/content/api/classes/ApplicationCommon.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ## Extended by @@ -13,15 +13,13 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ## Properties -### autoSystemAppearanceChanged +### \_windows ```ts -autoSystemAppearanceChanged: boolean; +protected _windows: NativeWindow[]; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -Boolean to enable/disable systemAppearanceChanged +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -31,7 +29,7 @@ Boolean to enable/disable systemAppearanceChanged readonly backgroundEvent: "background" = "background"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -41,7 +39,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly cssChangedEvent: "cssChanged" = "cssChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -51,7 +49,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly discardedErrorEvent: "discardedError" = "discardedError"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -61,7 +59,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly displayedEvent: "displayed" = "displayed"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -71,7 +69,10 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly exitEvent: "exit" = "exit"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +On Android, raised when the last window closes; the process may stay alive. +On iOS, raised when the process itself terminates. *** @@ -81,7 +82,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly fontScaleChangedEvent: "fontScaleChanged" = "fontScaleChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -91,7 +92,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly foregroundEvent: "foreground" = "foreground"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -101,7 +102,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ hasListeners: (eventName: string) => boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -121,17 +122,21 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly initRootViewEvent: "initRootView" = "initRootView"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** -### launchEvent +### ~~launchEvent~~ ```ts readonly launchEvent: "launch" = "launch"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Deprecated + +Use the 'ready' event for application initialization and Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire before the first window's content is created, and its 'root' property is still honored, for backwards compatibility. It never fires for additional windows. In a scene-based app it fires with the first window's content, so a background launch that connects no scene does not raise it. *** @@ -141,7 +146,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly layoutDirectionChangedEvent: "layoutDirectionChanged" = "layoutDirectionChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -151,7 +156,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly livesyncEvent: "livesync" = "livesync"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -161,7 +166,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly loadAppCssEvent: "loadAppCss" = "loadAppCss"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -171,7 +176,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly lowMemoryEvent: "lowMemory" = "lowMemory"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -181,7 +186,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected mainEntry: NavigationEntry; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** @@ -191,7 +196,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ notify: (eventData: T) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -217,7 +222,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -241,6 +246,7 @@ on: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -252,10 +258,16 @@ on: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -349,6 +361,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -430,6 +465,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -604,6 +642,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + *** ### once @@ -614,6 +778,7 @@ once: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -625,10 +790,16 @@ once: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -722,6 +893,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -803,6 +997,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -977,99 +1174,276 @@ between ltr and rtl. `void` -*** - -### orientationChangedEvent +#### Call Signature ```ts -readonly orientationChangedEvent: "orientationChanged" = "orientationChanged"; +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters -*** +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | -### resumeEvent +##### Returns + +`void` + +#### Call Signature ```ts -readonly resumeEvent: "resume" = "resume"; +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters -*** +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | -### started +##### Returns + +`void` + +#### Call Signature ```ts -started: boolean; +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters -*** +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | -### suspendEvent +##### Returns + +`void` + +#### Call Signature ```ts -readonly suspendEvent: "suspend" = "suspend"; +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters -*** +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | -### systemAppearanceChangedEvent +##### Returns + +`void` + +#### Call Signature ```ts -readonly systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters -*** +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | -### uncaughtErrorEvent +##### Returns + +`void` + +#### Call Signature ```ts -readonly uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` *** -### ~~hasListeners~~ +### orientationChangedEvent ```ts -static hasListeners: (eventName: string) => boolean; +readonly orientationChangedEvent: "orientationChanged" = "orientationChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `eventName` | `string` | +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -#### Returns +*** -`boolean` +### primaryWindowChangedEvent -#### Deprecated +```ts +readonly primaryWindowChangedEvent: "primaryWindowChanged"; +``` -Use `Application.android.hasListeners()` instead. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) *** -### ~~notify~~ +### readyEvent ```ts -static notify: (eventData: T) => void; +readonly readyEvent: "ready" = "ready"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Raised once per JS context, as soon as the context is initialized. It is never deferred, +so it also fires on a background launch where no window is created. + +Guaranteed ordering: `ready` -\> `windowOpen` -\> raw connect/create events -\> content +resolution (the legacy `launch` bridge runs here, for the first window only) -\> +`contentLoaded` -\> `activate`/`displayed`. + +*** + +### resumeEvent + +```ts +readonly resumeEvent: "resume" = "resume"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### started + +```ts +started: boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### suspendEvent + +```ts +readonly suspendEvent: "suspend" = "suspend"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Reflects whole-app state: with multiple windows it is raised once the app itself is +no longer in the foreground, not when an individual window backgrounds. Listen on a +NativeWindow for per-window state. + +*** + +### systemAppearanceChangedEvent + +```ts +readonly systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### uncaughtErrorEvent + +```ts +readonly uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### windowCloseEvent + +```ts +readonly windowCloseEvent: "windowClose"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### windowOpenEvent + +```ts +readonly windowOpenEvent: "windowOpen"; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +*** + +### ~~hasListeners~~ + +```ts +static hasListeners: (eventName: string) => boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | + +#### Returns + +`boolean` + +#### Deprecated + +Use `Application.android.hasListeners()` instead. + +*** + +### ~~notify~~ + +```ts +static notify: (eventData: T) => void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -1099,7 +1473,7 @@ Use `Application.android.notify()` instead. static off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -1127,6 +1501,7 @@ static on: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1138,10 +1513,16 @@ static on: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1235,6 +1616,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1316,6 +1720,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -1490,6 +1897,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + #### Deprecated Use `Application.android.on()` instead. @@ -1504,6 +2037,7 @@ static once: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1515,10 +2049,16 @@ static once: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1612,6 +2152,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1693,6 +2256,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -1867,21 +2433,168 @@ between ltr and rtl. `void` -#### Deprecated - -Use `Application.android.once()` instead. - -## Accessors - -### android - -#### Get Signature +#### Call Signature ```ts -get android(): AndroidApplication; +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Deprecated + +Use `Application.android.once()` instead. + +## Accessors + +### activeWindow + +#### Get Signature + +```ts +get activeWindow(): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the NativeWindow the user is currently interacting with - the one that activated most +recently and is still attached. Falls back to the primary window while no window holds +activation, which is the case before the first window activates and on a platform that +never raises `activate`. + +##### Returns + +[`NativeWindow`](NativeWindow.md) + +*** + +### android + +#### Get Signature + +```ts +get android(): AndroidApplication; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1897,7 +2610,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get AndroidApplication(): AndroidApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1905,6 +2618,42 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### autoSystemAppearanceChanged + +#### Get Signature + +```ts +get autoSystemAppearanceChanged(): boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Boolean to enable/disable systemAppearanceChanged + +##### Returns + +`boolean` + +#### Set Signature + +```ts +set autoSystemAppearanceChanged(value: boolean): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `boolean` | + +##### Returns + +`void` + +*** + ### inBackground #### Get Signature @@ -1913,7 +2662,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get inBackground(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1929,7 +2678,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get ios(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1945,7 +2694,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get iOSApplication(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1953,6 +2702,24 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### primaryWindow + +#### Get Signature + +```ts +get primaryWindow(): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the primary NativeWindow. + +##### Returns + +[`NativeWindow`](NativeWindow.md) + +*** + ### suspended #### Get Signature @@ -1961,7 +2728,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get suspended(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -1969,13 +2736,59 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ## Methods +### \_onPrimaryWindowPromoted() + +```ts +protected _onPrimaryWindowPromoted(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window takes over the primary +role, before `primaryWindowChanged` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +*** + +### \_onWindowRegistered() + +```ts +protected _onWindowRegistered(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window joins the registry, +before `windowOpen` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +*** + ### addCss() ```ts addCss(cssText: string, attributeScoped?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2000,7 +2813,7 @@ applyCssClass( skipCssUpdate?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Applies the the `newCssClass` to the `rootView` and removes all other css classes from `cssClasses` previously applied to the `rootView`. @@ -2029,7 +2842,7 @@ createRootView( additionalLanchEventData?: any): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2051,7 +2864,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getCssFileName(): string; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Gets css file name for the application. @@ -2067,7 +2880,7 @@ Gets css file name for the application. protected getLayoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2081,7 +2894,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getMainEntry(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2097,7 +2910,7 @@ The main entry of the application getNativeApplication(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2111,7 +2924,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected getOrientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2125,7 +2938,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getResources(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Get application level static resources. @@ -2141,7 +2954,7 @@ Get application level static resources. getRootView(): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2155,7 +2968,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected getSystemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2163,13 +2976,129 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### getWindowById() + +```ts +getWindowById(id: string): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get a registered NativeWindow by its id. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `id` | `string` | + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +*** + +### getWindowContentResolver() + +```ts +getWindowContentResolver(): WindowContentResolver; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Returns + +[`WindowContentResolver`](../type-aliases/WindowContentResolver.md) + +The callback currently supplying window content, if any. + +*** + +### getWindows() + +#### Call Signature + +```ts +getWindows(role: "all"): WindowBase[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role` | `"all"` | + +##### Returns + +[`WindowBase`](WindowBase.md)[] + +#### Call Signature + +```ts +getWindows(role?: + | WindowRole + | WindowRole[]): NativeWindow[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role?` | \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | + +##### Returns + +[`NativeWindow`](NativeWindow.md)[] + +#### Call Signature + +```ts +getWindows(role?: + | "all" + | WindowRole + | WindowRole[]): WindowBase[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role?` | \| `"all"` \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | + +##### Returns + +[`WindowBase`](WindowBase.md)[] + +*** + ### hasLaunched() ```ts hasLaunched(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2180,16 +3109,17 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### initRootView() ```ts -initRootView(rootView: View): void; +initRootView(rootView: View, window?: NativeWindow): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters -| Parameter | Type | -| ------ | ------ | -| `rootView` | [`View`](View.md) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `rootView` | [`View`](View.md) | - | +| `window?` | [`NativeWindow`](NativeWindow.md) | the window the root view belongs to. Supplies the window-scoped CSS classes; without it they come from the primary window. | #### Returns @@ -2197,18 +3127,22 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### layoutDirection() +### ~~layoutDirection()~~ ```ts layoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns [`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) +#### Deprecated + +Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + *** ### layoutDirectionChanged() @@ -2217,7 +3151,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ layoutDirectionChanged(rootView: View, newLayoutDirection: LayoutDirectionType): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Updates root view classes including those of modals @@ -2240,7 +3174,7 @@ Updates root view classes including those of modals loadAppCss(): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Loads immediately the app.css. By default the app.css file is loaded shortly after "loaded". @@ -2259,7 +3193,7 @@ as the CSS does not depend on runtime APIs, and loadAppCss will be called explic protected notifyLaunch(additionalLanchEventData?: any): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2273,18 +3207,44 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### orientation() +### openWindow() + +```ts +openWindow(options?: WindowOpenOptions): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Opens a new window. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `options?` | [`WindowOpenOptions`](../interfaces/WindowOpenOptions.md) | Options for the new window, including data to hand to it. | + +#### Returns + +`void` + +*** + +### ~~orientation()~~ ```ts orientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"portrait"` \| `"landscape"` \| `"unknown"` +#### Deprecated + +Use Application.primaryWindow?.orientation() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + *** ### orientationChanged() @@ -2293,7 +3253,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ orientationChanged(rootView: View, newOrientation: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2314,7 +3274,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ resetRootView(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2334,7 +3294,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ run(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2354,7 +3314,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setAutoSystemAppearanceChanged(value: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) enable/disable systemAppearanceChanged @@ -2376,7 +3336,7 @@ enable/disable systemAppearanceChanged setCssFileName(cssFileName: string): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Sets css file name for the application. @@ -2398,7 +3358,7 @@ Sets css file name for the application. setInBackground(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2419,7 +3379,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setLayoutDirection(value: LayoutDirectionType): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2443,7 +3403,7 @@ setMaxRefreshRate(options?: { }): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) iOS Only Dynamically change the preferred frame rate @@ -2477,7 +3437,7 @@ To use, ensure your Info.plist has: protected setOrientation(value: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2497,7 +3457,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setResources(res: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Set application level static resources. @@ -2519,7 +3479,7 @@ Set application level static resources. setSuspended(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2540,7 +3500,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setSystemAppearance(value: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2554,18 +3514,45 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### systemAppearance() +### setWindowContentResolver() + +```ts +setWindowContentResolver(resolver: WindowContentResolver): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Sets the callback that supplies the UI for windows that need content. +Pass `null` to remove a previously set resolver. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `resolver` | [`WindowContentResolver`](../type-aliases/WindowContentResolver.md) | + +#### Returns + +`void` + +*** + +### ~~systemAppearance()~~ ```ts systemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"dark"` \| `"light"` +#### Deprecated + +Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + *** ### systemAppearanceChanged() @@ -2574,7 +3561,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ systemAppearanceChanged(rootView: View, newSystemAppearance: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Updates root view classes including those of modals diff --git a/content/api/classes/Background.md b/content/api/classes/Background.md index 5884926c..a7c9d0ce 100644 --- a/content/api/classes/Background.md +++ b/content/api/classes/Background.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) ## Constructors @@ -26,7 +26,7 @@ new Background(): Background; borderBottomColor: Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderBottomLeftRadius: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -46,7 +46,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderBottomRightRadius: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -56,7 +56,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderBottomWidth: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -66,7 +66,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderLeftColor: Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -76,7 +76,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderLeftWidth: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -86,7 +86,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderRightColor: Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -96,7 +96,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderRightWidth: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -106,7 +106,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderTopColor: Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -116,7 +116,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderTopLeftRadius: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -126,7 +126,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderTopRightRadius: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -136,7 +136,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na borderTopWidth: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -146,7 +146,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na boxShadows: BoxShadow[]; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -156,7 +156,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na clearFlags: number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -166,7 +166,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na clipPath: string | ClipPathFunction; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -176,7 +176,17 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na color: Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) + +*** + +### cornerShape + +```ts +cornerShape: CornerShapeType; +``` + +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -186,7 +196,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na image: string | LinearGradient; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -196,7 +206,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na position: string; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -206,7 +216,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na repeat: BackgroundRepeatType; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -216,7 +226,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na size: string; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) *** @@ -226,7 +236,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na static default: Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) ## Methods @@ -236,7 +246,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na getBoxShadows(): BoxShadow[]; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -250,7 +260,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na getUniformBorderColor(): Color; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -264,7 +274,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na getUniformBorderRadius(): number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -278,7 +288,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na getUniformBorderWidth(): number; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -292,7 +302,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasBorder(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -306,7 +316,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasBorderColor(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -320,7 +330,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasBorderRadius(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -334,7 +344,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasBorderWidth(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -348,7 +358,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasBoxShadows(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -362,7 +372,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasUniformBorder(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -376,7 +386,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasUniformBorderColor(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -390,7 +400,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasUniformBorderRadius(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -404,7 +414,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na hasUniformBorderWidth(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -418,7 +428,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na isEmpty(): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -432,7 +442,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na toString(): string; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Returns @@ -446,7 +456,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderBottomColor(value: Color): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -466,7 +476,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderBottomLeftRadius(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -486,7 +496,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderBottomRightRadius(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -506,7 +516,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderBottomWidth(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -526,7 +536,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderLeftColor(value: Color): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -546,7 +556,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderLeftWidth(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -566,7 +576,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderRightColor(value: Color): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -586,7 +596,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderRightWidth(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -606,7 +616,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderTopColor(value: Color): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -626,7 +636,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderTopLeftRadius(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -646,7 +656,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderTopRightRadius(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -666,7 +676,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBorderTopWidth(value: number): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -686,7 +696,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withBoxShadows(value: BoxShadow[]): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -706,7 +716,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withClipPath(value: string | ClipPathFunction): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -726,7 +736,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withColor(value: Color): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -740,13 +750,33 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na *** +### withCornerShape() + +```ts +withCornerShape(value: CornerShapeType): Background; +``` + +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | [`CornerShapeType`](../namespaces/CoreTypes/type-aliases/CornerShapeType.md) | + +#### Returns + +`Background` + +*** + ### withImage() ```ts withImage(value: string | LinearGradient): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -766,7 +796,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withPosition(value: string): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -786,7 +816,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withRepeat(value: BackgroundRepeatType): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -806,7 +836,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na withSize(value: string): Background; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters @@ -826,7 +856,7 @@ Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/Na static equals(value1: Background, value2: Background): boolean; ``` -Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background-common.ts) +Defined in: [ui/styling/background-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background-common.ts) #### Parameters diff --git a/content/api/classes/Binding.md b/content/api/classes/Binding.md index 99a89620..544db252 100644 --- a/content/api/classes/Binding.md +++ b/content/api/classes/Binding.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) ## Constructors @@ -14,7 +14,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc new Binding(target: ViewBase, options: BindingOptions): Binding; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Parameters @@ -35,7 +35,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc options: BindingOptions; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) *** @@ -45,7 +45,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc sourceIsBindingContext: boolean; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) *** @@ -55,7 +55,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc target: WeakRef; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) *** @@ -65,7 +65,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc updating: boolean; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) ## Methods @@ -75,7 +75,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc bind(source: any): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Parameters @@ -95,7 +95,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc clearBinding(): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Returns @@ -109,7 +109,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc clearSource(): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Returns @@ -123,7 +123,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc loadedHandlerVisualTreeBinding(args: any): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Parameters @@ -143,7 +143,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc onSourcePropertyChanged(data: PropertyChangeData): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Parameters @@ -163,7 +163,7 @@ Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeSc unbind(): void; ``` -Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/index.ts) +Defined in: [ui/core/bindable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/index.ts) #### Returns diff --git a/content/api/classes/Builder.md b/content/api/classes/Builder.md index b97845f4..272f17ab 100644 --- a/content/api/classes/Builder.md +++ b/content/api/classes/Builder.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) ## Constructors @@ -26,7 +26,7 @@ new Builder(): Builder; static knownCollections: Set; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b static knownMultiTemplates: Set; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -46,7 +46,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b static knownTemplates: Set; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) UI plugin developers can add to these to define their own custom types if needed @@ -58,7 +58,7 @@ UI plugin developers can add to these to define their own custom types if needed static createViewFromEntry(entry: ViewEntry): View; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) Creates view from navigation entry @@ -80,7 +80,7 @@ Creates view from navigation entry static load(pathOrOptions: string | LoadOptions, context?: any): View; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) Loads component from module with context @@ -103,7 +103,7 @@ Loads component from module with context static parse(value: string | Template, context?: any): View; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) #### Parameters @@ -124,7 +124,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b static parseMultipleTemplates(value: string, context: any): KeyedTemplate[]; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) Creates an array of KeyedTemplates from string diff --git a/content/api/classes/Button.md b/content/api/classes/Button.md index a2deebbc..8eb7fb79 100644 --- a/content/api/classes/Button.md +++ b/content/api/classes/Button.md @@ -5,7 +5,7 @@ description: Represents a standard Button widget. contributors: false --- -Defined in: [ui/button/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L9) +Defined in: [ui/button/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L9) Represents a standard Button widget. @@ -25,7 +25,7 @@ Button new Button(): Button; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`TextBase`](TextBase.md).[`_nativeWindow`](TextBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/button/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L20) +Defined in: [ui/button/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L20) Gets the native [android widget](http://developer.android.com/reference/android/widget/Button.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveColumnGap`](TextBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxHeight`](TextBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxWidth`](TextBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveRowGap`](TextBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1539,7 +1613,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1557,7 +1631,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1575,7 +1649,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1593,7 +1667,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1611,7 +1685,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1629,7 +1703,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1647,7 +1721,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1665,7 +1739,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1683,7 +1757,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1699,7 +1773,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/button/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L25) +Defined in: [ui/button/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L25) Gets the native [UIButton](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIButton_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1715,7 +1789,7 @@ Gets the native [UIButton](https://developer.apple.com/library/ios/documentation iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1733,7 +1807,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1751,7 +1825,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1769,7 +1843,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1787,7 +1861,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1805,7 +1879,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1823,7 +1897,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1841,7 +1915,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1859,7 +1933,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1877,7 +1951,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1895,7 +1969,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1911,7 +1985,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1929,7 +2003,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1947,7 +2021,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -1965,7 +2039,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -1988,7 +2062,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2006,7 +2080,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2024,7 +2098,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2042,7 +2116,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2060,7 +2134,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2072,13 +2146,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`TextBase`](TextBase.md).[`maxHeight`](TextBase.md#maxheight) + +*** + ### maxLines ```ts maxLines: number; ``` -Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L132) +Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L132) Gets or sets white space style property. @@ -2090,58 +2183,58 @@ Gets or sets white space style property. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) +[`TextBase`](TextBase.md).[`maxWidth`](TextBase.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) +[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`mIsRootView`](TextBase.md#misrootview) +[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) *** @@ -2151,7 +2244,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2167,7 +2260,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2183,7 +2276,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2200,7 +2293,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2216,7 +2309,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2234,7 +2327,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2252,7 +2345,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2270,7 +2363,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2292,7 +2385,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2310,7 +2403,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2328,7 +2421,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2346,7 +2439,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2364,7 +2457,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2382,7 +2475,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2398,7 +2491,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2417,7 +2510,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2431,7 +2524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2449,7 +2542,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2467,7 +2560,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2485,7 +2578,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2503,7 +2596,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2521,7 +2614,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2539,7 +2632,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2557,7 +2650,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2575,7 +2668,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2593,7 +2686,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2611,7 +2704,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2638,7 +2731,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2654,7 +2747,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2672,7 +2765,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2690,7 +2783,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2708,7 +2801,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2726,7 +2819,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2744,7 +2837,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2762,7 +2855,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2780,7 +2873,7 @@ Gets or sets text transform style property. textWrap: boolean; ``` -Defined in: [ui/button/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L32) +Defined in: [ui/button/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L32) Gets or sets whether the Button wraps text or not. @@ -2794,7 +2887,7 @@ Gets or sets whether the Button wraps text or not. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2814,7 +2907,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2830,7 +2923,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2846,7 +2939,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2862,7 +2955,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2880,7 +2973,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2898,7 +2991,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2916,7 +3009,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2932,7 +3025,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2950,7 +3043,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2968,7 +3061,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2986,7 +3079,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -3004,7 +3097,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3022,7 +3115,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3042,7 +3135,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3062,7 +3155,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3082,7 +3175,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3096,7 +3189,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3110,13 +3203,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`TextBase`](TextBase.md).[`closedModallyEvent`](TextBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3136,7 +3251,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3156,7 +3271,7 @@ disposeNativeView static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3172,7 +3287,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3192,7 +3307,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3212,7 +3327,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3232,7 +3347,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3252,7 +3367,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3272,7 +3387,7 @@ shownModally static tapEvent: string; ``` -Defined in: [ui/button/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L15) +Defined in: [ui/button/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L15) String value used when hooking to tap event. @@ -3288,7 +3403,7 @@ tap static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3310,7 +3425,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3322,7 +3437,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3348,7 +3463,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3360,7 +3475,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3386,7 +3501,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3398,7 +3513,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3424,7 +3539,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3436,7 +3551,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3462,7 +3577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3474,7 +3589,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3500,7 +3615,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3512,7 +3627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3538,7 +3653,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3550,7 +3665,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3576,7 +3691,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3588,7 +3703,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3614,7 +3729,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3634,7 +3749,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3646,7 +3761,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3672,7 +3787,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3694,7 +3809,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3708,7 +3823,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3734,7 +3849,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3748,7 +3863,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3776,7 +3891,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3798,7 +3913,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3818,7 +3933,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3843,7 +3958,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3870,7 +3985,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3904,7 +4019,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3938,7 +4053,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3968,7 +4083,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4000,7 +4115,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4024,7 +4139,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4048,7 +4163,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4076,7 +4191,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4096,7 +4211,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4120,7 +4235,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4144,7 +4259,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4156,13 +4271,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`_getRootModalHost`](TextBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4183,7 +4320,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4212,7 +4349,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4238,7 +4375,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4264,7 +4401,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4289,7 +4426,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4313,7 +4450,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4337,7 +4474,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4358,7 +4495,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4384,7 +4521,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4404,7 +4541,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4424,7 +4561,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4444,7 +4581,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4464,7 +4601,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4488,7 +4625,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4506,7 +4643,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4524,7 +4661,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4542,7 +4679,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4568,7 +4705,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4594,7 +4731,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4620,7 +4757,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4644,7 +4781,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4668,7 +4805,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4695,7 +4832,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4724,7 +4861,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4751,7 +4888,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4772,7 +4909,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4797,7 +4934,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4821,7 +4958,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4851,7 +4988,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4879,7 +5016,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4905,7 +5042,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4929,7 +5066,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4958,7 +5095,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4986,7 +5123,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5012,7 +5149,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5037,7 +5174,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5055,7 +5192,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5073,7 +5210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5099,7 +5236,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5125,7 +5262,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5146,7 +5283,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5174,7 +5311,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5204,7 +5341,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5224,7 +5361,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5250,7 +5387,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5276,7 +5413,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5298,7 +5435,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5319,7 +5456,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5345,7 +5482,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5365,7 +5502,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5385,7 +5522,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5403,7 +5540,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5427,7 +5564,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5447,7 +5584,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5467,7 +5604,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5493,7 +5630,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5513,7 +5650,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5531,7 +5668,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5545,13 +5682,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`getNativeWindow`](TextBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5571,7 +5733,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5603,7 +5765,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5635,7 +5797,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5655,7 +5817,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5681,7 +5843,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5706,7 +5868,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5742,7 +5904,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5771,7 +5933,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5797,7 +5959,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5825,7 +5987,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5862,7 +6024,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5893,7 +6055,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5926,7 +6088,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/button/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L44) +Defined in: [ui/button/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L44) Adds a listener for the specified event name. @@ -5955,7 +6117,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/button/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/button/index.d.ts#L49) +Defined in: [ui/button/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/button/index.d.ts#L49) Raised when a tap event occurs. @@ -5983,7 +6145,7 @@ Raised when a tap event occurs. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6006,7 +6168,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6039,7 +6201,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6068,7 +6230,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6086,7 +6248,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6114,7 +6276,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6132,7 +6294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6153,7 +6315,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6181,7 +6343,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6201,7 +6363,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6221,7 +6383,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6259,7 +6421,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6286,7 +6448,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6311,7 +6473,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6335,7 +6497,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6362,7 +6524,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6390,7 +6552,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6410,7 +6572,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6437,7 +6599,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6463,7 +6625,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6483,7 +6645,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6507,7 +6669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6533,7 +6695,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6561,7 +6723,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6593,7 +6755,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6624,7 +6786,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6662,7 +6824,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6711,7 +6873,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6746,7 +6908,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6781,7 +6943,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6815,7 +6977,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6850,7 +7012,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ChangeType.md b/content/api/classes/ChangeType.md index 88b9c0e1..cf8e5881 100644 --- a/content/api/classes/ChangeType.md +++ b/content/api/classes/ChangeType.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) ## Constructors @@ -26,7 +26,7 @@ new ChangeType(): ChangeType; static Add: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) *** @@ -36,7 +36,7 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat static Change: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) *** @@ -46,7 +46,7 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat static Delete: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) *** @@ -56,7 +56,7 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat static Splice: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) *** @@ -66,4 +66,4 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat static Update: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) diff --git a/content/api/classes/CoercibleProperty.md b/content/api/classes/CoercibleProperty.md index eeb51005..f9aa4d67 100644 --- a/content/api/classes/CoercibleProperty.md +++ b/content/api/classes/CoercibleProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Extends @@ -29,7 +29,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new CoercibleProperty(options: CoerciblePropertyOptions): CoercibleProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -55,7 +55,7 @@ Property.constructor readonly coerce: (target: T) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -81,7 +81,7 @@ CoercibleProperty.coerce configurable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -103,7 +103,7 @@ Property.configurable readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -125,7 +125,7 @@ Property.defaultValue readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -147,7 +147,7 @@ Property.defaultValueKey enumerable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -169,7 +169,7 @@ Property.enumerable get: () => U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Returns @@ -195,7 +195,7 @@ Property.get readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -217,7 +217,7 @@ Property.getDefault isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -239,7 +239,7 @@ Property.isStyleProperty readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -261,7 +261,7 @@ Property.key readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -283,7 +283,7 @@ Property.name readonly nativeValueChange: (owner: T, value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -316,7 +316,7 @@ Property.nativeValueChange overrideHandlers: (options: PropertyOptions) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -348,7 +348,7 @@ Property.overrideHandlers set: (value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -380,7 +380,7 @@ Property.set readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -402,7 +402,7 @@ Property.setNative isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -436,7 +436,7 @@ register(cls: { }): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/Color.md b/content/api/classes/Color.md index b5ee4a93..676d0603 100644 --- a/content/api/classes/Color.md +++ b/content/api/classes/Color.md @@ -5,7 +5,7 @@ description: Represents a color object. Stores all color components (alpha (opac contributors: false --- -Defined in: [color/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L4) +Defined in: [color/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L4) Represents a color object. Stores all color components (alpha (opacity), red, green, blue) in a [0..255] range. @@ -17,7 +17,7 @@ Represents a color object. Stores all color components (alpha (opacity), red, gr new Color(knownColor: string): Color; ``` -Defined in: [color/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L5) +Defined in: [color/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L5) #### Parameters @@ -35,7 +35,7 @@ Defined in: [color/index.d.ts:5](https://github.com/NativeScript/NativeScript/bl new Color(hex: string): Color; ``` -Defined in: [color/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L6) +Defined in: [color/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L6) #### Parameters @@ -53,7 +53,7 @@ Defined in: [color/index.d.ts:6](https://github.com/NativeScript/NativeScript/bl new Color(argb: number): Color; ``` -Defined in: [color/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L7) +Defined in: [color/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L7) #### Parameters @@ -76,7 +76,7 @@ new Color( type?: "rgb" | "hsl" | "hsv"): Color; ``` -Defined in: [color/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L8) +Defined in: [color/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L8) #### Parameters @@ -100,7 +100,7 @@ Defined in: [color/index.d.ts:8](https://github.com/NativeScript/NativeScript/bl a: number; ``` -Defined in: [color/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L13) +Defined in: [color/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L13) Gets the Alpha component (in the [0, 255] range) of this color. This is a read-only property. @@ -112,7 +112,7 @@ Gets the Alpha component (in the [0, 255] range) of this color. This is a read-o android: number; ``` -Defined in: [color/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L48) +Defined in: [color/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L48) Gets the android-specific integer value representation. Same as the Argb one. This is a read-only property. @@ -124,7 +124,7 @@ Gets the android-specific integer value representation. Same as the Argb one. Th argb: number; ``` -Defined in: [color/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L38) +Defined in: [color/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L38) Gets the Argb Number representation of this color where each 8 bits represent a single color component. This is a read-only property. @@ -136,7 +136,7 @@ Gets the Argb Number representation of this color where each 8 bits represent a b: number; ``` -Defined in: [color/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L28) +Defined in: [color/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L28) Gets the Blue component (in the [0, 255] range) of this color. This is a read-only property. @@ -148,7 +148,7 @@ Gets the Blue component (in the [0, 255] range) of this color. This is a read-on g: number; ``` -Defined in: [color/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L23) +Defined in: [color/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L23) Gets the Green component (in the [0, 255] range) of this color. This is a read-only property. @@ -160,7 +160,7 @@ Gets the Green component (in the [0, 255] range) of this color. This is a read-o hex: string; ``` -Defined in: [color/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L33) +Defined in: [color/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L33) Gets the Hexadecimal string representation of this color. This is a read-only property. @@ -172,7 +172,7 @@ Gets the Hexadecimal string representation of this color. This is a read-only pr ios: any; ``` -Defined in: [color/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L53) +Defined in: [color/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L53) Gets the iOS-specific UIColor value representation. This is a read-only property. @@ -184,7 +184,7 @@ Gets the iOS-specific UIColor value representation. This is a read-only property name: string; ``` -Defined in: [color/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L43) +Defined in: [color/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L43) Gets the known name of this instance. Defined only if it has been constructed from a known color name - e.g. "red". This is a read-only property. @@ -196,7 +196,7 @@ Gets the known name of this instance. Defined only if it has been constructed fr r: number; ``` -Defined in: [color/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L18) +Defined in: [color/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L18) Gets the Red component (in the [0, 255] range) of this color. This is a read-only property. @@ -208,7 +208,7 @@ Gets the Red component (in the [0, 255] range) of this color. This is a read-onl brighten(amount: number): Color; ``` -Defined in: [color/index.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L172) +Defined in: [color/index.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L172) Brighten the color a given amount, from 0 to 100. @@ -230,7 +230,7 @@ Brighten the color a given amount, from 0 to 100. complement(): Color; ``` -Defined in: [color/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L192) +Defined in: [color/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L192) returns the color complement @@ -246,7 +246,7 @@ returns the color complement darken(amount: number): Color; ``` -Defined in: [color/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L179) +Defined in: [color/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L179) Darken the color a given amount, from 0 to 100. Providing 100 will always return black. @@ -268,7 +268,7 @@ Darken the color a given amount, from 0 to 100. Providing 100 will always return desaturate(amount: number): Color; ``` -Defined in: [color/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L143) +Defined in: [color/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L143) Desaturate the color a given amount, from 0 to 100. Providing 100 will is the same as calling greyscale. @@ -290,7 +290,7 @@ Desaturate the color a given amount, from 0 to 100. Providing 100 will is the sa equals(value: Color): boolean; ``` -Defined in: [color/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L59) +Defined in: [color/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L59) Specifies whether this Color is equal to the Color parameter. @@ -312,7 +312,7 @@ Specifies whether this Color is equal to the Color parameter. getBrightness(): number; ``` -Defined in: [color/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L95) +Defined in: [color/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L95) return the [brightness](http://www.w3.org/TR/AERT#color-contrast) @@ -328,7 +328,7 @@ return the [brightness](http://www.w3.org/TR/AERT#color-contrast) getLuminance(): number; ``` -Defined in: [color/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L100) +Defined in: [color/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L100) return the [luminance](http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef) @@ -344,7 +344,7 @@ return the [luminance](http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativelu greyscale(): Color; ``` -Defined in: [color/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L157) +Defined in: [color/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L157) Completely desaturates a color into greyscale. Same as calling desaturate(100). @@ -360,7 +360,7 @@ Completely desaturates a color into greyscale. Same as calling desaturate(100). isDark(): boolean; ``` -Defined in: [color/index.d.ts:83](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L83) +Defined in: [color/index.d.ts:83](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L83) return true if brightenss \< 128 @@ -376,7 +376,7 @@ return true if brightenss \< 128 isLight(): boolean; ``` -Defined in: [color/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L89) +Defined in: [color/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L89) return true if brightenss \>= 128 @@ -392,7 +392,7 @@ return true if brightenss \>= 128 lighten(amount: number): Color; ``` -Defined in: [color/index.d.ts:165](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L165) +Defined in: [color/index.d.ts:165](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L165) Lighten the color a given amount, from 0 to 100. Providing 100 will always return white. @@ -416,7 +416,7 @@ olor : Color saturate(amount: number): Color; ``` -Defined in: [color/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L150) +Defined in: [color/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L150) Saturate the color a given amount, from 0 to 100. @@ -438,7 +438,7 @@ Saturate the color a given amount, from 0 to 100. setAlpha(a: number): Color; ``` -Defined in: [color/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L107) +Defined in: [color/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L107) Return this color (as a new Color instance) with the provided alpha @@ -460,7 +460,7 @@ Return this color (as a new Color instance) with the provided alpha spin(amount: number): Color; ``` -Defined in: [color/index.d.ts:186](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L186) +Defined in: [color/index.d.ts:186](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L186) Spin the hue a given amount, from -360 to 360. Calling with 0, 360, or -360 will do nothing (since it sets the hue back to what it was before). @@ -487,7 +487,7 @@ toHsl(): { }; ``` -Defined in: [color/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L112) +Defined in: [color/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L112) return the hsl representation of the color @@ -534,7 +534,7 @@ s: number; toHslString(): string; ``` -Defined in: [color/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L118) +Defined in: [color/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L118) return the [CSS hsv](https://www.w3schools.com/Css/css_colors_hsl.asp) representation of the color @@ -555,7 +555,7 @@ toHsv(): { }; ``` -Defined in: [color/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L124) +Defined in: [color/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L124) return the hsv representation of the color @@ -602,7 +602,7 @@ v: number; toHsvString(): string; ``` -Defined in: [color/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L130) +Defined in: [color/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L130) return the [CSS hsv](https://www.w3schools.com/Css/css_colors_rgb.asp) representation of the color @@ -618,7 +618,7 @@ return the [CSS hsv](https://www.w3schools.com/Css/css_colors_rgb.asp) represent toRgbString(): string; ``` -Defined in: [color/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L136) +Defined in: [color/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L136) return the [CSS rgb](https://www.w3schools.com/Css/css_colors_rgb.asp) representation of the color @@ -634,7 +634,7 @@ return the [CSS rgb](https://www.w3schools.com/Css/css_colors_rgb.asp) represent static equals(value1: Color, value2: Color): boolean; ``` -Defined in: [color/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L66) +Defined in: [color/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L66) Compares two Color instances. @@ -661,7 +661,7 @@ static fromHSL( l: any): Color; ``` -Defined in: [color/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L204) +Defined in: [color/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L204) returns a new Color from HSL @@ -690,7 +690,7 @@ static fromHSV( l: any): Color; ``` -Defined in: [color/index.d.ts:205](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L205) +Defined in: [color/index.d.ts:205](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L205) #### Parameters @@ -713,7 +713,7 @@ Defined in: [color/index.d.ts:205](https://github.com/NativeScript/NativeScript/ static fromIosColor(value: any): Color; ``` -Defined in: [color/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L77) +Defined in: [color/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L77) Creates color from iOS-specific UIColor value representation. @@ -735,7 +735,7 @@ Creates color from iOS-specific UIColor value representation. static isValid(value: any): boolean; ``` -Defined in: [color/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L72) +Defined in: [color/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L72) Validates if a value can be converted to color. @@ -760,7 +760,7 @@ static mix( amount: number): Color; ``` -Defined in: [color/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/color/index.d.ts#L198) +Defined in: [color/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/color/index.d.ts#L198) returns the color complement diff --git a/content/api/classes/ContainerView.md b/content/api/classes/ContainerView.md index 2dcf8718..7a7300aa 100644 --- a/content/api/classes/ContainerView.md +++ b/content/api/classes/ContainerView.md @@ -5,7 +5,7 @@ description: Base class for all UI components that are containers. contributors: false --- -Defined in: [ui/core/view/index.d.ts:1124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1124) +Defined in: [ui/core/view/index.d.ts:1181](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1181) Base class for all UI components that are containers. @@ -25,7 +25,7 @@ Base class for all UI components that are containers. new ContainerView(): ContainerView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1625,7 +1699,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1697,7 +1771,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1715,7 +1789,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1733,7 +1807,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1769,7 +1843,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1787,7 +1861,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1803,7 +1877,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1821,7 +1895,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1844,7 +1918,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1862,7 +1936,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1880,7 +1954,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1898,7 +1972,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1916,7 +1990,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1928,58 +2002,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -1989,7 +2082,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2005,7 +2098,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2021,7 +2114,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2037,7 +2130,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2055,7 +2148,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2073,7 +2166,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2091,7 +2184,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2109,7 +2202,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2125,7 +2218,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2144,7 +2237,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2158,7 +2251,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2176,7 +2269,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2194,7 +2287,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2212,7 +2305,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2230,7 +2323,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2248,7 +2341,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2266,7 +2359,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2284,7 +2377,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2302,7 +2395,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2320,7 +2413,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2338,7 +2431,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2365,7 +2458,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2381,7 +2474,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2401,7 +2494,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2417,7 +2510,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2433,7 +2526,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2449,7 +2542,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2467,7 +2560,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2485,7 +2578,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2503,7 +2596,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2519,7 +2612,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2537,7 +2630,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2555,7 +2648,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2573,7 +2666,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2591,7 +2684,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2611,7 +2704,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2631,7 +2724,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2651,7 +2744,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2665,7 +2758,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2679,13 +2772,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2705,7 +2820,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2725,7 +2840,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2745,7 +2860,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2765,7 +2880,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2785,7 +2900,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2805,7 +2920,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2825,7 +2940,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2847,7 +2962,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2859,7 +2974,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2885,7 +3000,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2897,7 +3012,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2923,7 +3038,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2935,7 +3050,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2961,7 +3076,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2973,7 +3088,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2999,7 +3114,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3011,7 +3126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3037,7 +3152,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3049,7 +3164,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3075,7 +3190,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3087,7 +3202,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3113,7 +3228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3125,7 +3240,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3151,7 +3266,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3171,7 +3286,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3183,7 +3298,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3209,7 +3324,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3231,7 +3346,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3245,7 +3360,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3271,7 +3386,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3285,7 +3400,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3313,7 +3428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3325,7 +3440,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3351,7 +3466,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3373,7 +3488,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3393,7 +3508,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3418,7 +3533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3445,7 +3560,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3479,7 +3594,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3513,7 +3628,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3543,7 +3658,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3575,7 +3690,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3599,7 +3714,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3623,7 +3738,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3651,7 +3766,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3671,7 +3786,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3695,7 +3810,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3719,7 +3834,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3731,13 +3846,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3758,7 +3895,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3787,7 +3924,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3813,7 +3950,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3839,7 +3976,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3864,7 +4001,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3888,7 +4025,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3912,7 +4049,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3933,7 +4070,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3959,7 +4096,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -3979,7 +4116,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -3999,7 +4136,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4019,7 +4156,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4039,7 +4176,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4063,7 +4200,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4081,7 +4218,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4099,7 +4236,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4117,7 +4254,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4143,7 +4280,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4169,7 +4306,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4195,7 +4332,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4219,7 +4356,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4243,7 +4380,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4270,7 +4407,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4299,7 +4436,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4326,7 +4463,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4347,7 +4484,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4372,7 +4509,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4396,7 +4533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4426,7 +4563,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4454,7 +4591,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4480,7 +4617,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4504,7 +4641,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4533,7 +4670,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4561,7 +4698,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4587,7 +4724,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4612,7 +4749,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4630,7 +4767,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4648,7 +4785,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4674,7 +4811,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4700,7 +4837,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4721,7 +4858,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4749,7 +4886,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4779,7 +4916,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4799,7 +4936,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4825,7 +4962,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4851,7 +4988,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4873,7 +5010,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4894,7 +5031,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4920,7 +5057,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4940,7 +5077,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -4960,7 +5097,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4978,7 +5115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5002,7 +5139,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5022,7 +5159,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5042,7 +5179,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5068,7 +5205,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5088,7 +5225,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5106,7 +5243,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5120,13 +5257,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5146,7 +5308,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5178,7 +5340,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5210,7 +5372,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5230,7 +5392,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5256,7 +5418,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5281,7 +5443,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5317,7 +5479,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5346,7 +5508,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5372,7 +5534,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5400,7 +5562,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5437,7 +5599,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5468,7 +5630,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5501,7 +5663,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5530,7 +5692,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5559,7 +5721,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5588,7 +5750,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5618,7 +5780,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5647,7 +5809,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5676,7 +5838,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5704,7 +5866,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5727,7 +5889,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5760,7 +5922,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5789,7 +5951,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5807,7 +5969,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5835,7 +5997,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5853,7 +6015,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5874,7 +6036,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5902,7 +6064,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5922,7 +6084,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5942,7 +6104,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5980,7 +6142,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6007,7 +6169,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6032,7 +6194,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6056,7 +6218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6083,7 +6245,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6111,7 +6273,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6131,7 +6293,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6158,7 +6320,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6184,7 +6346,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6204,7 +6366,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6228,7 +6390,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6254,7 +6416,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6282,7 +6444,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6314,7 +6476,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6345,7 +6507,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6383,7 +6545,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6432,7 +6594,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6467,7 +6629,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6502,7 +6664,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6536,7 +6698,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6571,7 +6733,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ContentView.md b/content/api/classes/ContentView.md index be4a82c8..e738a721 100644 --- a/content/api/classes/ContentView.md +++ b/content/api/classes/ContentView.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/content-view/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L7) +Defined in: [ui/content-view/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L7) ## Ns View @@ -31,7 +31,7 @@ ContentView new ContentView(): ContentView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -49,7 +49,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -65,7 +65,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -79,7 +79,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -93,7 +93,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -107,7 +107,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -121,7 +121,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -135,7 +135,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -149,7 +149,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -163,7 +163,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -177,7 +177,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -191,7 +191,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -205,7 +205,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -219,7 +219,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -233,7 +233,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -241,13 +241,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_nativeWindow`](CustomLayoutView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -261,7 +279,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -275,7 +293,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -289,7 +307,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -303,7 +321,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -317,7 +335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -337,7 +355,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -355,7 +373,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -373,7 +391,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -393,7 +411,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -409,7 +427,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -427,7 +445,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -446,7 +464,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -464,7 +482,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -482,7 +500,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -500,7 +518,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -518,7 +536,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -536,7 +554,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -554,7 +572,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -572,7 +590,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -588,7 +606,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -606,7 +624,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -624,7 +642,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -638,7 +656,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -654,7 +672,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -672,7 +690,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -690,7 +708,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -708,7 +726,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -726,7 +744,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -744,7 +762,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -762,7 +780,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -780,7 +798,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -798,7 +816,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -816,7 +834,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -834,7 +852,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -856,7 +874,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -874,7 +892,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -892,7 +910,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -910,7 +928,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -928,7 +946,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -946,7 +964,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -964,7 +982,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -986,7 +1004,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1004,7 +1022,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1022,7 +1040,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1040,7 +1058,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1058,7 +1076,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1076,7 +1094,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1094,7 +1112,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1112,7 +1130,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1128,7 +1146,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS content: View; ``` -Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L13) +Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L13) Gets or sets the single child of the view. @@ -1142,7 +1160,7 @@ Gets or sets the single child of the view. cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1156,7 +1174,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1170,7 +1188,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1187,7 +1205,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1205,7 +1223,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1223,7 +1241,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1241,7 +1259,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1255,7 +1273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1269,7 +1287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1283,7 +1301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1297,7 +1315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,13 +1323,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveColumnGap`](CustomLayoutView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1325,7 +1357,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1339,7 +1371,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1353,7 +1385,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1367,7 +1399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1381,7 +1413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,13 +1421,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxHeight`](CustomLayoutView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxWidth`](CustomLayoutView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1409,7 +1469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,13 +1477,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveRowGap`](CustomLayoutView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1437,7 +1511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1451,7 +1525,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1469,7 +1543,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1487,7 +1561,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1505,7 +1579,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1523,7 +1597,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1541,7 +1615,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1559,7 +1633,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1577,7 +1651,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1595,7 +1669,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1613,7 +1687,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1629,7 +1703,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1645,7 +1719,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1663,7 +1737,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1681,7 +1755,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1699,7 +1773,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1717,7 +1791,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1735,7 +1809,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1753,7 +1827,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1771,7 +1845,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1789,7 +1863,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1807,7 +1881,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1823,7 +1897,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1841,7 +1915,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1864,7 +1938,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1882,7 +1956,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1900,7 +1974,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1918,7 +1992,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1936,7 +2010,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1948,58 +2022,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) +[`CustomLayoutView`](CustomLayoutView.md).[`maxHeight`](CustomLayoutView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) +[`CustomLayoutView`](CustomLayoutView.md).[`maxWidth`](CustomLayoutView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`mIsRootView`](CustomLayoutView.md#misrootview) +[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) *** @@ -2009,7 +2102,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2025,7 +2118,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2041,7 +2134,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2057,7 +2150,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2075,7 +2168,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2093,7 +2186,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2111,7 +2204,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2129,7 +2222,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2145,7 +2238,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2164,7 +2257,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2178,7 +2271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2196,7 +2289,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2214,7 +2307,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2232,7 +2325,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2250,7 +2343,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2268,7 +2361,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2286,7 +2379,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2304,7 +2397,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2322,7 +2415,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2340,7 +2433,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2358,7 +2451,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2385,7 +2478,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2401,7 +2494,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2421,7 +2514,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2437,7 +2530,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2453,7 +2546,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2469,7 +2562,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2487,7 +2580,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2505,7 +2598,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2523,7 +2616,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2539,7 +2632,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2557,7 +2650,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2575,7 +2668,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2593,7 +2686,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2611,7 +2704,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2631,7 +2724,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2651,7 +2744,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2671,7 +2764,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2685,7 +2778,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2699,13 +2792,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`closedModallyEvent`](CustomLayoutView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2725,7 +2840,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2745,7 +2860,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2765,7 +2880,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2785,7 +2900,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2805,7 +2920,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2825,7 +2940,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2845,7 +2960,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2867,7 +2982,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2879,7 +2994,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2905,7 +3020,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2917,7 +3032,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2943,7 +3058,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2955,7 +3070,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2981,7 +3096,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2993,7 +3108,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3019,7 +3134,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3031,7 +3146,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3057,7 +3172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3069,7 +3184,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3095,7 +3210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3107,7 +3222,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3133,7 +3248,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3145,7 +3260,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3171,7 +3286,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3191,7 +3306,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3203,7 +3318,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3229,7 +3344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3251,7 +3366,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3265,7 +3380,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3291,7 +3406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3305,7 +3420,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3333,7 +3448,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3345,7 +3460,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3371,7 +3486,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3393,7 +3508,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3413,7 +3528,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/content-view/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L15) +Defined in: [ui/content-view/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L15) Called for every child element declared in xml. This method will add a child element (value) to current element. @@ -3441,7 +3556,7 @@ This method will add a child element (value) to current element. _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3466,7 +3581,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3493,7 +3608,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3527,7 +3642,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3561,7 +3676,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3591,7 +3706,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3623,7 +3738,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3647,7 +3762,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3671,7 +3786,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3699,7 +3814,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3719,7 +3834,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3743,7 +3858,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3767,7 +3882,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3779,13 +3894,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_getRootModalHost`](CustomLayoutView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3806,7 +3943,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3835,7 +3972,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3861,7 +3998,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3887,7 +4024,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3912,7 +4049,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3936,7 +4073,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3960,7 +4097,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3981,7 +4118,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4007,7 +4144,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4027,7 +4164,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4047,7 +4184,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4067,7 +4204,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4087,7 +4224,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4111,7 +4248,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4129,7 +4266,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4147,7 +4284,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4165,7 +4302,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4191,7 +4328,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4217,7 +4354,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4243,7 +4380,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4267,7 +4404,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4291,7 +4428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4318,7 +4455,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4347,7 +4484,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4374,7 +4511,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4395,7 +4532,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4420,7 +4557,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4444,7 +4581,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4474,7 +4611,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4502,7 +4639,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4528,7 +4665,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4552,7 +4689,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4581,7 +4718,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4609,7 +4746,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4635,7 +4772,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4660,7 +4797,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4678,7 +4815,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4696,7 +4833,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4722,7 +4859,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4748,7 +4885,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4769,7 +4906,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4797,7 +4934,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4827,7 +4964,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4847,7 +4984,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4873,7 +5010,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4899,7 +5036,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4921,7 +5058,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4942,7 +5079,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4968,7 +5105,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4988,7 +5125,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5008,7 +5145,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5026,7 +5163,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5050,7 +5187,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5070,7 +5207,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5090,7 +5227,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5116,7 +5253,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5136,7 +5273,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5154,7 +5291,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5168,13 +5305,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`getNativeWindow`](CustomLayoutView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5194,7 +5356,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5226,7 +5388,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5258,7 +5420,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5278,7 +5440,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5304,7 +5466,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5329,7 +5491,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5365,7 +5527,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5394,7 +5556,7 @@ Called from onLayout when native view position is about to be changed. layoutView(): View; ``` -Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L14) +Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L14) #### Returns @@ -5408,7 +5570,7 @@ Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/Nati loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5434,7 +5596,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5462,7 +5624,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5499,7 +5661,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5530,7 +5692,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5563,7 +5725,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5592,7 +5754,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5621,7 +5783,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5650,7 +5812,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5680,7 +5842,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5709,7 +5871,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5738,7 +5900,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5766,7 +5928,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5789,7 +5951,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5822,7 +5984,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5851,7 +6013,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5869,7 +6031,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5897,7 +6059,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5915,7 +6077,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5936,7 +6098,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5964,7 +6126,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5984,7 +6146,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6004,7 +6166,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6042,7 +6204,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6069,7 +6231,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6094,7 +6256,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6118,7 +6280,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6145,7 +6307,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6173,7 +6335,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6193,7 +6355,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6220,7 +6382,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6246,7 +6408,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6266,7 +6428,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6290,7 +6452,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6316,7 +6478,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6344,7 +6506,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6376,7 +6538,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6407,7 +6569,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6445,7 +6607,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6494,7 +6656,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6529,7 +6691,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6564,7 +6726,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6598,7 +6760,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6633,7 +6795,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ControlStateChangeListener.md b/content/api/classes/ControlStateChangeListener.md index eb70f4af..dec03d66 100644 --- a/content/api/classes/ControlStateChangeListener.md +++ b/content/api/classes/ControlStateChangeListener.md @@ -5,7 +5,7 @@ description: "An utility class used for supporting styling infrastructure. WARNI contributors: false --- -Defined in: [ui/core/control-state-change/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/control-state-change/index.d.ts#L7) +Defined in: [ui/core/control-state-change/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/control-state-change/index.d.ts#L7) An utility class used for supporting styling infrastructure. WARNING: This class is intended for IOS only. @@ -21,7 +21,7 @@ new ControlStateChangeListener( callback: ControlStateChangeListenerCallback): ControlStateChangeListener; ``` -Defined in: [ui/core/control-state-change/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/control-state-change/index.d.ts#L13) +Defined in: [ui/core/control-state-change/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/control-state-change/index.d.ts#L13) Initializes an instance of ControlStateChangeListener class. @@ -45,7 +45,7 @@ Initializes an instance of ControlStateChangeListener class. start(): any; ``` -Defined in: [ui/core/control-state-change/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/control-state-change/index.d.ts#L15) +Defined in: [ui/core/control-state-change/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/control-state-change/index.d.ts#L15) #### Returns @@ -59,7 +59,7 @@ Defined in: [ui/core/control-state-change/index.d.ts:15](https://github.com/Nati stop(): any; ``` -Defined in: [ui/core/control-state-change/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/control-state-change/index.d.ts#L16) +Defined in: [ui/core/control-state-change/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/control-state-change/index.d.ts#L16) #### Returns diff --git a/content/api/classes/CssAnimationParser.md b/content/api/classes/CssAnimationParser.md index 9cf41043..7c75aabe 100644 --- a/content/api/classes/CssAnimationParser.md +++ b/content/api/classes/CssAnimationParser.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-animation-parser.ts) +Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-animation-parser.ts) ## Constructors @@ -26,7 +26,7 @@ new CssAnimationParser(): CssAnimationParser; static keyframeAnimationsFromCSSDeclarations(declarations: KeyframeDeclaration[]): KeyframeAnimationInfo[]; ``` -Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-animation-parser.ts) +Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-animation-parser.ts) #### Parameters @@ -46,7 +46,7 @@ Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript static keyframesArrayFromCSS(keyframes: UnparsedKeyframe[]): KeyframeInfo[]; ``` -Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-animation-parser.ts) +Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-animation-parser.ts) #### Parameters diff --git a/content/api/classes/CssAnimationProperty.md b/content/api/classes/CssAnimationProperty.md index 2cd4c14c..5f1ec15b 100644 --- a/content/api/classes/CssAnimationProperty.md +++ b/content/api/classes/CssAnimationProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Type Parameters @@ -25,7 +25,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new CssAnimationProperty(options: CssAnimationPropertyOptions): CssAnimationProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -45,7 +45,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native optional _valueConverter?: (value: string) => any; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -71,7 +71,7 @@ CssAnimationProperty._valueConverter readonly cssLocalName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -87,7 +87,7 @@ CssAnimationProperty.cssLocalName readonly cssName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -103,7 +103,7 @@ CssAnimationProperty.cssName readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -119,7 +119,7 @@ CssAnimationProperty.defaultValue readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -135,7 +135,7 @@ CssAnimationProperty.defaultValueKey readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -151,7 +151,7 @@ CssAnimationProperty.getDefault isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -167,7 +167,7 @@ CssAnimationProperty.isStyleProperty readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -183,7 +183,7 @@ CssAnimationProperty.key readonly keyframe: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -199,7 +199,7 @@ CssAnimationProperty.keyframe readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -217,7 +217,7 @@ readonly register: (cls: { }) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -244,7 +244,7 @@ CssAnimationProperty.register readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -260,7 +260,7 @@ CssAnimationProperty.setNative _initDefaultNativeValue(target: T): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -286,7 +286,7 @@ CssAnimationProperty._initDefaultNativeValue isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -312,7 +312,7 @@ CssAnimationProperty.isSet static _getByCssName(name: string): CssAnimationProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -332,7 +332,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native static _getPropertyNames(): string[]; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Returns diff --git a/content/api/classes/CssProperty.md b/content/api/classes/CssProperty.md index 95e20a57..63de8781 100644 --- a/content/api/classes/CssProperty.md +++ b/content/api/classes/CssProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Extended by @@ -25,7 +25,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new CssProperty(options: CssPropertyOptions): CssProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -45,7 +45,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly cssLocalName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -55,7 +55,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly cssName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -65,7 +65,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native protected readonly cssValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -75,7 +75,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -85,7 +85,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -95,7 +95,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -105,7 +105,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -115,7 +115,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -125,7 +125,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native protected readonly localValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -135,7 +135,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -145,7 +145,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native overrideHandlers: (options: CssPropertyOptions) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -165,7 +165,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) *** @@ -175,7 +175,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly sourceKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Methods @@ -185,7 +185,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -207,7 +207,7 @@ register(cls: { }): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/CustomLayoutView.md b/content/api/classes/CustomLayoutView.md index 0c72fbef..bbfffef9 100644 --- a/content/api/classes/CustomLayoutView.md +++ b/content/api/classes/CustomLayoutView.md @@ -5,7 +5,7 @@ description: Base class for all UI components that implement custom layouts. contributors: false --- -Defined in: [ui/core/view/index.d.ts:1136](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1136) +Defined in: [ui/core/view/index.d.ts:1193](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1193) Base class for all UI components that implement custom layouts. @@ -27,7 +27,7 @@ Base class for all UI components that implement custom layouts. new CustomLayoutView(): CustomLayoutView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -45,7 +45,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -61,7 +61,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -89,7 +89,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -103,7 +103,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -117,7 +117,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -131,7 +131,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -145,7 +145,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -159,7 +159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -173,7 +173,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -187,7 +187,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -201,7 +201,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -215,7 +215,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -229,7 +229,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -237,13 +237,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`_nativeWindow`](ContainerView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -257,7 +275,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -271,7 +289,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -285,7 +303,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -299,7 +317,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -313,7 +331,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -333,7 +351,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -351,7 +369,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -369,7 +387,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -389,7 +407,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -405,7 +423,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -423,7 +441,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -442,7 +460,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -460,7 +478,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -478,7 +496,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -496,7 +514,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -514,7 +532,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -532,7 +550,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -550,7 +568,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -568,7 +586,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -584,7 +602,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -602,7 +620,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -620,7 +638,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -634,7 +652,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -650,7 +668,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -668,7 +686,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -686,7 +704,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -704,7 +722,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -722,7 +740,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -740,7 +758,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -758,7 +776,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -776,7 +794,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -794,7 +812,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -812,7 +830,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -830,7 +848,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -852,7 +870,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -870,7 +888,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -888,7 +906,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -906,7 +924,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -924,7 +942,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -942,7 +960,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -960,7 +978,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -982,7 +1000,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1000,7 +1018,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1018,7 +1036,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1036,7 +1054,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1054,7 +1072,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1072,7 +1090,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1090,7 +1108,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1108,7 +1126,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1124,7 +1142,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1138,7 +1156,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1152,7 +1170,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1169,7 +1187,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1187,7 +1205,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1205,7 +1223,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1223,7 +1241,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1237,7 +1255,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1251,7 +1269,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1265,7 +1283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1279,7 +1297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1287,13 +1305,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`effectiveColumnGap`](ContainerView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1307,7 +1339,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1321,7 +1353,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1335,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1349,7 +1381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1363,7 +1395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1371,13 +1403,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`effectiveMaxHeight`](ContainerView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`effectiveMaxWidth`](ContainerView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,7 +1451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1399,13 +1459,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`effectiveRowGap`](ContainerView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1419,7 +1493,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1433,7 +1507,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1451,7 +1525,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1469,7 +1543,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1487,7 +1561,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1505,7 +1579,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1523,7 +1597,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1541,7 +1615,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1559,7 +1633,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1577,7 +1651,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1595,7 +1669,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1611,7 +1685,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1627,7 +1701,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1645,7 +1719,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1663,7 +1737,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1681,7 +1755,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1699,7 +1773,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1717,7 +1791,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1735,7 +1809,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1753,7 +1827,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1771,7 +1845,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1789,7 +1863,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1805,7 +1879,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1823,7 +1897,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1846,7 +1920,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1864,7 +1938,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1882,7 +1956,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1900,7 +1974,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1918,7 +1992,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1930,58 +2004,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContainerView`](ContainerView.md).[`minHeight`](ContainerView.md#minheight) +[`ContainerView`](ContainerView.md).[`maxHeight`](ContainerView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContainerView`](ContainerView.md).[`minWidth`](ContainerView.md#minwidth) +[`ContainerView`](ContainerView.md).[`maxWidth`](ContainerView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`ContainerView`](ContainerView.md).[`mIsRootView`](ContainerView.md#misrootview) +[`ContainerView`](ContainerView.md).[`minHeight`](ContainerView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`minWidth`](ContainerView.md#minwidth) *** @@ -1991,7 +2084,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2007,7 +2100,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2023,7 +2116,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2039,7 +2132,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2057,7 +2150,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2075,7 +2168,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2093,7 +2186,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2111,7 +2204,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2127,7 +2220,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2146,7 +2239,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2160,7 +2253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2178,7 +2271,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2196,7 +2289,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2214,7 +2307,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2232,7 +2325,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2250,7 +2343,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2268,7 +2361,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2286,7 +2379,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2304,7 +2397,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2322,7 +2415,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2340,7 +2433,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2367,7 +2460,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2383,7 +2476,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2403,7 +2496,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2419,7 +2512,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2435,7 +2528,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2451,7 +2544,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2469,7 +2562,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2487,7 +2580,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2505,7 +2598,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2521,7 +2614,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2539,7 +2632,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2557,7 +2650,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2575,7 +2668,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2593,7 +2686,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2613,7 +2706,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2633,7 +2726,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2653,7 +2746,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2667,7 +2760,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2681,13 +2774,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`closedModallyEvent`](ContainerView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2707,7 +2822,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2727,7 +2842,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2747,7 +2862,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2767,7 +2882,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2787,7 +2902,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2807,7 +2922,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2827,7 +2942,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2849,7 +2964,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2861,7 +2976,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2887,7 +3002,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2899,7 +3014,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2925,7 +3040,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2937,7 +3052,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2963,7 +3078,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2975,7 +3090,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3001,7 +3116,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3013,7 +3128,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3039,7 +3154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3051,7 +3166,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3077,7 +3192,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3089,7 +3204,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3115,7 +3230,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3127,7 +3242,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3153,7 +3268,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3173,7 +3288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3185,7 +3300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3211,7 +3326,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3233,7 +3348,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3247,7 +3362,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3273,7 +3388,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3287,7 +3402,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3315,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3327,7 +3442,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3353,7 +3468,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3375,7 +3490,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3395,7 +3510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3420,7 +3535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3447,7 +3562,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3481,7 +3596,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3515,7 +3630,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3545,7 +3660,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3577,7 +3692,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3601,7 +3716,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3625,7 +3740,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3653,7 +3768,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3673,7 +3788,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3697,7 +3812,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3721,7 +3836,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3733,13 +3848,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`_getRootModalHost`](ContainerView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3760,7 +3897,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3789,7 +3926,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3815,7 +3952,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3841,7 +3978,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3866,7 +4003,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3890,7 +4027,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3914,7 +4051,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3935,7 +4072,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3961,7 +4098,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -3981,7 +4118,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4001,7 +4138,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4021,7 +4158,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4041,7 +4178,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4065,7 +4202,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4083,7 +4220,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4101,7 +4238,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4119,7 +4256,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4145,7 +4282,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4171,7 +4308,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4197,7 +4334,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4221,7 +4358,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4245,7 +4382,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4272,7 +4409,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4301,7 +4438,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4328,7 +4465,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4349,7 +4486,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4374,7 +4511,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4398,7 +4535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4428,7 +4565,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4456,7 +4593,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4482,7 +4619,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4506,7 +4643,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4535,7 +4672,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4563,7 +4700,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4589,7 +4726,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4614,7 +4751,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4632,7 +4769,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4650,7 +4787,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4676,7 +4813,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4702,7 +4839,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4723,7 +4860,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4751,7 +4888,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4781,7 +4918,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4801,7 +4938,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4827,7 +4964,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4853,7 +4990,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4875,7 +5012,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4896,7 +5033,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4922,7 +5059,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4942,7 +5079,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -4962,7 +5099,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4980,7 +5117,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5004,7 +5141,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5024,7 +5161,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5044,7 +5181,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5070,7 +5207,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5090,7 +5227,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5108,7 +5245,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5122,13 +5259,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ContainerView`](ContainerView.md).[`getNativeWindow`](ContainerView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5148,7 +5310,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5180,7 +5342,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5212,7 +5374,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5232,7 +5394,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5258,7 +5420,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5283,7 +5445,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5319,7 +5481,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5348,7 +5510,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5374,7 +5536,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5402,7 +5564,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5439,7 +5601,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5470,7 +5632,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5503,7 +5665,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5532,7 +5694,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5561,7 +5723,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5590,7 +5752,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5620,7 +5782,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5649,7 +5811,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5678,7 +5840,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5706,7 +5868,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5729,7 +5891,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5762,7 +5924,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5791,7 +5953,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5809,7 +5971,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5837,7 +5999,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5855,7 +6017,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5876,7 +6038,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5904,7 +6066,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5924,7 +6086,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5944,7 +6106,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5982,7 +6144,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6009,7 +6171,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6034,7 +6196,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6058,7 +6220,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6085,7 +6247,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6113,7 +6275,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6133,7 +6295,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6160,7 +6322,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6186,7 +6348,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6206,7 +6368,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6230,7 +6392,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6256,7 +6418,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6284,7 +6446,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6316,7 +6478,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6347,7 +6509,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6385,7 +6547,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6434,7 +6596,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6469,7 +6631,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6504,7 +6666,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6538,7 +6700,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6573,7 +6735,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/DatePicker.md b/content/api/classes/DatePicker.md index a26b8d14..de565dcc 100644 --- a/content/api/classes/DatePicker.md +++ b/content/api/classes/DatePicker.md @@ -5,7 +5,7 @@ description: Represents an date picker. contributors: false --- -Defined in: [ui/date-picker/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L17) +Defined in: [ui/date-picker/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L17) Represents an date picker. @@ -25,7 +25,7 @@ DatePicker new DatePicker(): DatePicker; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/date-picker/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L28) +Defined in: [ui/date-picker/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L28) Gets the native [android.widget.DatePicker](http://developer.android.com/reference/android/widget/DatePicker.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android.widget.DatePicker](http://developer.android.com/referen androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, date: Date; ``` -Defined in: [ui/date-picker/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L61) +Defined in: [ui/date-picker/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L61) Gets or sets the entire date. @@ -1181,7 +1199,7 @@ Gets or sets the entire date. day: number; ``` -Defined in: [ui/date-picker/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L54) +Defined in: [ui/date-picker/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L54) Gets or sets the day. The days start from 1. @@ -1195,7 +1213,7 @@ Gets or sets the day. The days start from 1. defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1213,7 +1231,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1231,7 +1249,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1249,7 +1267,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1323,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1313,13 +1331,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1375,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1421,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1429,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1477,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1425,13 +1485,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1445,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1459,7 +1533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1477,7 +1551,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1495,7 +1569,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1513,7 +1587,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1531,7 +1605,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1549,7 +1623,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1567,7 +1641,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1585,7 +1659,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1603,7 +1677,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1621,7 +1695,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1637,7 +1711,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/date-picker/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L33) +Defined in: [ui/date-picker/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L33) Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS. @@ -1653,7 +1727,7 @@ Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1671,7 +1745,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1689,7 +1763,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1707,7 +1781,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1725,7 +1799,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1743,7 +1817,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1761,7 +1835,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1779,7 +1853,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosPreferredDatePickerStyle: number; ``` -Defined in: [ui/date-picker/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L87) +Defined in: [ui/date-picker/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L87) Gets or set the UIDatePickerStyle of the date picker in iOS 13.4+. Defaults to 0. Valid values are numbers: @@ -1798,7 +1872,7 @@ Valid values are numbers: isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1816,7 +1890,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1834,7 +1908,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1850,7 +1924,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1868,7 +1942,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1891,7 +1965,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1909,7 +1983,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1927,7 +2001,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1945,7 +2019,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1963,7 +2037,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1981,7 +2055,7 @@ Specifies extra space on the top side of this view. maxDate: Date; ``` -Defined in: [ui/date-picker/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L68) +Defined in: [ui/date-picker/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L68) Gets or sets the max date. @@ -1989,72 +2063,91 @@ Gets or sets the max date. *** -### minDate +### maxHeight ```ts -minDate: Date; +maxHeight: PercentLengthType; ``` -Defined in: [ui/date-picker/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L75) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the min date. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property +#### Inherited from + +[`View`](View.md).[`maxHeight`](View.md#maxheight) + *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### minWidth +### minDate ```ts -minWidth: LengthType; +minDate: Date; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/date-picker/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L75) -Gets or sets the minimum width the view may grow to. +Gets or sets the min date. + +#### Ns Property + +*** + +### minHeight + +```ts +minHeight: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`minHeight`](View.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2064,7 +2157,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2080,7 +2173,7 @@ Returns the current modal view that this page is showing (is parent of), if any. month: number; ``` -Defined in: [ui/date-picker/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L47) +Defined in: [ui/date-picker/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L47) Gets or sets the month. The months start from 1. @@ -2094,7 +2187,7 @@ Gets or sets the month. The months start from 1. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2110,7 +2203,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2126,7 +2219,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2144,7 +2237,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2162,7 +2255,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2180,7 +2273,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2198,7 +2291,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2214,7 +2307,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2233,7 +2326,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2247,7 +2340,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2265,7 +2358,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2283,7 +2376,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2301,7 +2394,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2319,7 +2412,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2337,7 +2430,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2355,7 +2448,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2373,7 +2466,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2391,7 +2484,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2409,7 +2502,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2427,7 +2520,7 @@ Gets or sets the shared transition tag for animated view transitions showTime: boolean; ``` -Defined in: [ui/date-picker/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L94) +Defined in: [ui/date-picker/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L94) Gets or sets whether the time should be shown. @@ -2441,7 +2534,7 @@ Gets or sets whether the time should be shown. statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2468,7 +2561,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2484,7 +2577,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2504,7 +2597,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2520,7 +2613,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2536,7 +2629,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2552,7 +2645,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2570,7 +2663,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2588,7 +2681,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2606,7 +2699,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2622,7 +2715,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2640,7 +2733,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2658,7 +2751,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2676,7 +2769,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2694,7 +2787,7 @@ Gets or sets the desired width of the view. year: number; ``` -Defined in: [ui/date-picker/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L40) +Defined in: [ui/date-picker/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L40) Gets or sets the year. @@ -2708,7 +2801,7 @@ Gets or sets the year. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2728,7 +2821,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2748,7 +2841,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2768,7 +2861,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2782,7 +2875,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2796,13 +2889,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2822,7 +2937,7 @@ created static dateChangeEvent: string; ``` -Defined in: [ui/date-picker/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/date-picker/index.d.ts#L23) +Defined in: [ui/date-picker/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/date-picker/index.d.ts#L23) String value used when hooking to dateChange event. @@ -2838,7 +2953,7 @@ dateChange static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2858,7 +2973,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2878,7 +2993,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2898,7 +3013,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2918,7 +3033,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2938,7 +3053,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2958,7 +3073,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2980,7 +3095,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2992,7 +3107,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3018,7 +3133,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3030,7 +3145,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3056,7 +3171,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3068,7 +3183,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3094,7 +3209,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3106,7 +3221,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3132,7 +3247,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3144,7 +3259,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3170,7 +3285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3182,7 +3297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3208,7 +3323,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3220,7 +3335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3246,7 +3361,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3258,7 +3373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3284,7 +3399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3304,7 +3419,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3316,7 +3431,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3342,7 +3457,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3364,7 +3479,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3378,7 +3493,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3404,7 +3519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3418,7 +3533,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3446,7 +3561,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3458,7 +3573,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3484,7 +3599,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3506,7 +3621,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3526,7 +3641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3551,7 +3666,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3578,7 +3693,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3612,7 +3727,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3646,7 +3761,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3676,7 +3791,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3708,7 +3823,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3732,7 +3847,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3756,7 +3871,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3784,7 +3899,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3804,7 +3919,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3828,7 +3943,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3852,7 +3967,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3864,13 +3979,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3891,7 +4028,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3920,7 +4057,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3946,7 +4083,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3972,7 +4109,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3997,7 +4134,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4021,7 +4158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4045,7 +4182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4066,7 +4203,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4092,7 +4229,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4112,7 +4249,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4132,7 +4269,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4152,7 +4289,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4172,7 +4309,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4196,7 +4333,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4214,7 +4351,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4232,7 +4369,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4250,7 +4387,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4276,7 +4413,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4302,7 +4439,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4328,7 +4465,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4352,7 +4489,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4376,7 +4513,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4403,7 +4540,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4432,7 +4569,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4459,7 +4596,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4480,7 +4617,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4505,7 +4642,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4529,7 +4666,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4559,7 +4696,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4587,7 +4724,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4613,7 +4750,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4637,7 +4774,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4666,7 +4803,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4694,7 +4831,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4720,7 +4857,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4745,7 +4882,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4763,7 +4900,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4781,7 +4918,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4807,7 +4944,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4833,7 +4970,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4854,7 +4991,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4882,7 +5019,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4912,7 +5049,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4932,7 +5069,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4958,7 +5095,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4984,7 +5121,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5006,7 +5143,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5027,7 +5164,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5053,7 +5190,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5073,7 +5210,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5093,7 +5230,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5111,7 +5248,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5135,7 +5272,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5155,7 +5292,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5175,7 +5312,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5201,7 +5338,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5221,7 +5358,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5239,7 +5376,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5253,13 +5390,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5279,7 +5441,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5311,7 +5473,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5343,7 +5505,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5363,7 +5525,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5389,7 +5551,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5414,7 +5576,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5450,7 +5612,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5479,7 +5641,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5505,7 +5667,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5533,7 +5695,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5570,7 +5732,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5601,7 +5763,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5634,7 +5796,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5663,7 +5825,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5692,7 +5854,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5721,7 +5883,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5751,7 +5913,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5780,7 +5942,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5809,7 +5971,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5837,7 +5999,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5860,7 +6022,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5893,7 +6055,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5922,7 +6084,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5940,7 +6102,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5968,7 +6130,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5986,7 +6148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6007,7 +6169,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6035,7 +6197,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6055,7 +6217,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6075,7 +6237,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6113,7 +6275,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6140,7 +6302,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6165,7 +6327,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6189,7 +6351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6216,7 +6378,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6244,7 +6406,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6264,7 +6426,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6291,7 +6453,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6317,7 +6479,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6337,7 +6499,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6361,7 +6523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6387,7 +6549,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6415,7 +6577,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6447,7 +6609,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6478,7 +6640,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6516,7 +6678,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6565,7 +6727,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6600,7 +6762,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6635,7 +6797,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6669,7 +6831,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6704,7 +6866,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/DockLayout.md b/content/api/classes/DockLayout.md index 6bd226e4..99dd60bc 100644 --- a/content/api/classes/DockLayout.md +++ b/content/api/classes/DockLayout.md @@ -5,7 +5,7 @@ description: A Layout that arranges its children at its outer edges, and allows contributors: false --- -Defined in: [ui/layouts/dock-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/dock-layout/index.d.ts#L11) +Defined in: [ui/layouts/dock-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/dock-layout/index.d.ts#L11) A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space. @@ -25,7 +25,7 @@ DockLayout new DockLayout(): DockLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1052,7 +1070,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1070,7 +1088,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1088,7 +1106,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1106,7 +1124,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1124,7 +1142,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1140,7 +1158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1154,7 +1172,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1168,7 +1186,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1185,7 +1203,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1203,7 +1221,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1221,7 +1239,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1239,7 +1257,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1253,7 +1271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1267,7 +1285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1281,7 +1299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1295,7 +1313,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1303,13 +1321,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1323,7 +1355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1337,7 +1369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1351,7 +1383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1365,7 +1397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1379,7 +1411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1387,13 +1419,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1407,7 +1467,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1415,13 +1475,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1435,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1449,7 +1523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1467,7 +1541,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1485,7 +1559,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1503,7 +1577,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1521,7 +1595,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1539,7 +1613,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1557,7 +1631,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1575,7 +1649,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1593,7 +1667,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1611,7 +1685,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1627,7 +1701,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1643,7 +1717,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1661,7 +1735,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1697,7 +1771,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1715,7 +1789,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1769,7 +1843,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1787,7 +1861,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1805,7 +1879,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1821,7 +1895,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1841,7 +1915,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1859,7 +1933,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1882,7 +1956,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1900,7 +1974,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1918,7 +1992,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1936,7 +2010,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1954,7 +2028,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1966,58 +2040,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2027,7 +2120,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2043,7 +2136,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2059,7 +2152,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2075,7 +2168,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2093,7 +2186,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2111,7 +2204,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2129,7 +2222,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2151,7 +2244,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2169,7 +2262,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2187,7 +2280,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2205,7 +2298,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2223,7 +2316,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2241,7 +2334,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2257,7 +2350,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2276,7 +2369,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2290,7 +2383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2308,7 +2401,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2326,7 +2419,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2344,7 +2437,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2362,7 +2455,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2380,7 +2473,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2398,7 +2491,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2416,7 +2509,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2434,7 +2527,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2452,7 +2545,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2470,7 +2563,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2497,7 +2590,7 @@ False value will make this property have no effect. stretchLastChild: boolean; ``` -Defined in: [ui/layouts/dock-layout/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/dock-layout/index.d.ts#L28) +Defined in: [ui/layouts/dock-layout/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/dock-layout/index.d.ts#L28) Gets or sets a value that indicates whether the last child element within a DockLayout stretches to fill the remaining available space. The default value is true. @@ -2512,7 +2605,7 @@ The default value is true. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2528,7 +2621,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2548,7 +2641,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2564,7 +2657,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2580,7 +2673,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2596,7 +2689,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2614,7 +2707,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2632,7 +2725,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2650,7 +2743,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2666,7 +2759,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2684,7 +2777,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2702,7 +2795,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2720,7 +2813,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2738,7 +2831,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2758,7 +2851,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2778,7 +2871,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2798,7 +2891,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2812,7 +2905,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2826,13 +2919,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2852,7 +2967,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2872,7 +2987,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2892,7 +3007,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2912,7 +3027,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2932,7 +3047,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2952,7 +3067,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2972,7 +3087,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2994,7 +3109,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3006,7 +3121,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3032,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3044,7 +3159,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3070,7 +3185,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3082,7 +3197,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3108,7 +3223,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3120,7 +3235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3146,7 +3261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3158,7 +3273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3184,7 +3299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3196,7 +3311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3222,7 +3337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3234,7 +3349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3260,7 +3375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3272,7 +3387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3298,7 +3413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3318,7 +3433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3330,7 +3445,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3356,7 +3471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3378,7 +3493,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3392,7 +3507,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3418,7 +3533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3432,7 +3547,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3460,7 +3575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3472,7 +3587,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3498,7 +3613,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3520,7 +3635,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3540,7 +3655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3565,7 +3680,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3592,7 +3707,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3626,7 +3741,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3660,7 +3775,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3690,7 +3805,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3722,7 +3837,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3746,7 +3861,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3770,7 +3885,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3798,7 +3913,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3818,7 +3933,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3842,7 +3957,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3866,7 +3981,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3878,13 +3993,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3905,7 +4042,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3934,7 +4071,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3960,7 +4097,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3986,7 +4123,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4011,7 +4148,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4035,7 +4172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4059,7 +4196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4080,7 +4217,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4106,7 +4243,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4126,7 +4263,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4146,7 +4283,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4166,7 +4303,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4186,7 +4323,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4210,7 +4347,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4228,7 +4365,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4246,7 +4383,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4264,7 +4401,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4290,7 +4427,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4316,7 +4453,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4342,7 +4479,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4368,7 +4505,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4392,7 +4529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4416,7 +4553,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4443,7 +4580,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4472,7 +4609,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4499,7 +4636,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4520,7 +4657,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4545,7 +4682,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4569,7 +4706,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4596,7 +4733,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4625,7 +4762,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4653,7 +4790,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4679,7 +4816,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4699,7 +4836,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4729,7 +4866,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4758,7 +4895,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4786,7 +4923,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4812,7 +4949,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4837,7 +4974,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4855,7 +4992,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4873,7 +5010,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4899,7 +5036,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4925,7 +5062,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4946,7 +5083,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4974,7 +5111,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5004,7 +5141,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5024,7 +5161,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5050,7 +5187,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5076,7 +5213,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5102,7 +5239,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5124,7 +5261,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5145,7 +5282,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5171,7 +5308,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5191,7 +5328,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5217,7 +5354,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5243,7 +5380,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5263,7 +5400,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5283,7 +5420,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5301,7 +5438,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5325,7 +5462,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5345,7 +5482,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5365,7 +5502,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5391,7 +5528,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5411,7 +5548,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5429,7 +5566,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5443,13 +5580,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5469,7 +5631,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5501,7 +5663,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5533,7 +5695,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5553,7 +5715,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5579,7 +5741,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5599,7 +5761,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5631,7 +5793,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5667,7 +5829,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5696,7 +5858,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5722,7 +5884,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5750,7 +5912,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5787,7 +5949,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5818,7 +5980,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5851,7 +6013,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5880,7 +6042,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5909,7 +6071,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5938,7 +6100,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5968,7 +6130,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5997,7 +6159,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6026,7 +6188,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6054,7 +6216,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6077,7 +6239,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6110,7 +6272,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6139,7 +6301,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6157,7 +6319,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6185,7 +6347,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6203,7 +6365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6221,7 +6383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6247,7 +6409,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6270,7 +6432,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6298,7 +6460,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6318,7 +6480,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6338,7 +6500,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6376,7 +6538,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6403,7 +6565,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6428,7 +6590,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6452,7 +6614,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6479,7 +6641,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6507,7 +6669,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6527,7 +6689,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6554,7 +6716,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6580,7 +6742,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6600,7 +6762,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6624,7 +6786,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6650,7 +6812,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6678,7 +6840,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6710,7 +6872,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6735,7 +6897,7 @@ Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/Native static getDock(view: View): DockType; ``` -Defined in: [ui/layouts/dock-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/dock-layout/index.d.ts#L15) +Defined in: [ui/layouts/dock-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/dock-layout/index.d.ts#L15) Gets the value of the Dock property from a given View. @@ -6763,7 +6925,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6801,7 +6963,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6850,7 +7012,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6885,7 +7047,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6920,7 +7082,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6954,7 +7116,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6989,7 +7151,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7023,7 +7185,7 @@ size is smaller than the size the view wants to be. static setDock(view: View, value: DockType): void; ``` -Defined in: [ui/layouts/dock-layout/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/dock-layout/index.d.ts#L20) +Defined in: [ui/layouts/dock-layout/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/dock-layout/index.d.ts#L20) Sets the value of the Dock property from a given View. diff --git a/content/api/classes/EditableTextBase.md b/content/api/classes/EditableTextBase.md index 1da3a00f..99e7268a 100644 --- a/content/api/classes/EditableTextBase.md +++ b/content/api/classes/EditableTextBase.md @@ -5,7 +5,7 @@ description: Represents the base class for all editable text views. contributors: false --- -Defined in: [ui/editable-text-base/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L13) +Defined in: [ui/editable-text-base/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L13) Represents the base class for all editable text views. @@ -30,7 +30,7 @@ EditableTextBase new EditableTextBase(): EditableTextBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -48,7 +48,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -64,7 +64,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -78,7 +78,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -92,7 +92,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -106,7 +106,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -134,7 +134,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -148,7 +148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -162,7 +162,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -176,7 +176,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -190,7 +190,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -218,7 +218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,7 +232,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -240,13 +240,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`TextBase`](TextBase.md).[`_nativeWindow`](TextBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -260,7 +278,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -274,7 +292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -288,7 +306,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -302,7 +320,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -316,7 +334,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -336,7 +354,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -354,7 +372,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -372,7 +390,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -392,7 +410,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -408,7 +426,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -426,7 +444,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -445,7 +463,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -463,7 +481,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -481,7 +499,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -499,7 +517,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -517,7 +535,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -535,7 +553,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -553,7 +571,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -571,7 +589,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -587,7 +605,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -605,7 +623,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -623,7 +641,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -637,7 +655,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native autocapitalizationType: AutocapitalizationInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L59) +Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L59) Gets or sets the autocapitalization type. @@ -651,7 +669,7 @@ Gets or sets the autocapitalization type. autocorrect: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L80) +Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L80) Enables or disables autocorrection. @@ -665,7 +683,7 @@ Enables or disables autocorrection. autofillType: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L66) +Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L66) Gets or sets the autofill type. @@ -679,7 +697,7 @@ Gets or sets the autofill type. automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -695,7 +713,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -713,7 +731,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -731,7 +749,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -749,7 +767,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -767,7 +785,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -785,7 +803,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -803,7 +821,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -821,7 +839,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -839,7 +857,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -857,7 +875,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -875,7 +893,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -897,7 +915,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -915,7 +933,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -933,7 +951,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -951,7 +969,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -969,7 +987,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -987,7 +1005,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1005,7 +1023,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1027,7 +1045,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1045,7 +1063,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1063,7 +1081,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1081,7 +1099,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1099,7 +1117,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1117,7 +1135,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1135,7 +1153,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1153,7 +1171,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1169,7 +1187,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1183,7 +1201,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1197,7 +1215,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1214,7 +1232,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1232,7 +1250,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1250,7 +1268,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1268,7 +1286,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1282,7 +1300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS editable: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L73) +Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L73) Gets or sets whether the instance is editable. @@ -1296,7 +1314,7 @@ Gets or sets whether the instance is editable. effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1310,7 +1328,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1324,7 +1342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1338,7 +1356,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1346,13 +1364,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveColumnGap`](TextBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1366,7 +1398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1380,7 +1412,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1394,7 +1426,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1408,7 +1440,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1422,7 +1454,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1430,13 +1462,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxHeight`](TextBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxWidth`](TextBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1450,7 +1510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1458,13 +1518,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveRowGap`](TextBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1478,7 +1552,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1492,7 +1566,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1510,7 +1584,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1528,7 +1602,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1546,7 +1620,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1564,7 +1638,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1582,7 +1656,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1600,7 +1674,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1618,7 +1692,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1636,7 +1710,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1654,7 +1728,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1672,7 +1746,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1690,7 +1764,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1708,7 +1782,7 @@ Gets or sets the visual state of the view. hint: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L87) +Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L87) Gets or sets the placeholder text. @@ -1722,7 +1796,7 @@ Gets or sets the placeholder text. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1740,7 +1814,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1758,7 +1832,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1774,7 +1848,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1790,7 +1864,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1808,7 +1882,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1826,7 +1900,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1844,7 +1918,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1862,7 +1936,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1880,7 +1954,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1898,7 +1972,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1916,7 +1990,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1934,7 +2008,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1952,7 +2026,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1970,7 +2044,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1986,7 +2060,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2004,7 +2078,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi keyboardType: KeyboardInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L38) +Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L38) Gets or sets the soft keyboard type. @@ -2018,7 +2092,7 @@ Gets or sets the soft keyboard type. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2036,7 +2110,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -2054,7 +2128,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -2077,7 +2151,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2095,7 +2169,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2113,7 +2187,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2131,7 +2205,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2149,7 +2223,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2161,13 +2235,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`TextBase`](TextBase.md).[`maxHeight`](TextBase.md#maxheight) + +*** + ### maxLength ```ts maxLength: number; ``` -Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L94) +Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L94) Limits input to a certain number of characters. @@ -2181,7 +2274,7 @@ Limits input to a certain number of characters. maxLines: number; ``` -Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L132) +Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L132) Gets or sets white space style property. @@ -2193,58 +2286,58 @@ Gets or sets white space style property. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) +[`TextBase`](TextBase.md).[`maxWidth`](TextBase.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) +[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`mIsRootView`](TextBase.md#misrootview) +[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) *** @@ -2254,7 +2347,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2270,7 +2363,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2286,7 +2379,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2303,7 +2396,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2319,7 +2412,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2337,7 +2430,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2355,7 +2448,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2373,7 +2466,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2395,7 +2488,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2413,7 +2506,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2431,7 +2524,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2449,7 +2542,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2467,7 +2560,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2485,7 +2578,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2501,7 +2594,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2520,7 +2613,7 @@ Usually needed when rotating the view over the X or Y axis. placeholderColor: Color; ``` -Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L101) +Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L101) Gets or sets the color of the placeholder text @@ -2534,7 +2627,7 @@ Gets or sets the color of the placeholder text recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2548,7 +2641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS returnKeyType: ReturnKeyButtonType; ``` -Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L45) +Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L45) Gets or sets the soft keyboard return key flavor. @@ -2562,7 +2655,7 @@ Gets or sets the soft keyboard return key flavor. reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2580,7 +2673,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2598,7 +2691,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2616,7 +2709,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2634,7 +2727,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2652,7 +2745,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2670,7 +2763,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2688,7 +2781,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2706,7 +2799,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2724,7 +2817,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2742,7 +2835,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2769,7 +2862,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2785,7 +2878,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2803,7 +2896,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2821,7 +2914,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2839,7 +2932,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2857,7 +2950,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2875,7 +2968,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2893,7 +2986,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2911,7 +3004,7 @@ Gets or sets text transform style property. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2931,7 +3024,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2947,7 +3040,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2963,7 +3056,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2979,7 +3072,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2997,7 +3090,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -3015,7 +3108,7 @@ Gets or sets the translateY affine transform of the view in device independent p updateTextTrigger: UpdateTextTriggerType; ``` -Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L52) +Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L52) Gets or sets a value indicating when the text property will be updated. @@ -3029,7 +3122,7 @@ Gets or sets a value indicating when the text property will be updated. valueFormatter: (value: string) => string; ``` -Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L107) +Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L107) Format input values Note: useful for input masking/formatting @@ -3052,7 +3145,7 @@ Note: useful for input masking/formatting verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -3070,7 +3163,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -3086,7 +3179,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3104,7 +3197,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3122,7 +3215,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3140,7 +3233,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -3158,7 +3251,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3176,7 +3269,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3196,7 +3289,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3216,7 +3309,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3236,7 +3329,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3250,7 +3343,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3270,7 +3363,7 @@ androidOverflowInset static blurEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L19) +Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L19) String value used when hooking to the blur event. @@ -3280,13 +3373,35 @@ blurEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`TextBase`](TextBase.md).[`closedModallyEvent`](TextBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3306,7 +3421,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3326,7 +3441,7 @@ disposeNativeView static focusEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L25) +Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L25) String value used when hooking to the focus event. @@ -3342,7 +3457,7 @@ focusEvent static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3358,7 +3473,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3378,7 +3493,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3398,7 +3513,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3418,7 +3533,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3438,7 +3553,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3458,7 +3573,7 @@ shownModally static textChangeEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L31) +Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L31) String value used when hooking to the textChange event. @@ -3474,7 +3589,7 @@ textChangeEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3496,7 +3611,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3508,7 +3623,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3534,7 +3649,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3546,7 +3661,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3572,7 +3687,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3584,7 +3699,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3610,7 +3725,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3622,7 +3737,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3648,7 +3763,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3660,7 +3775,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3686,7 +3801,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3698,7 +3813,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3724,7 +3839,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3736,7 +3851,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3762,7 +3877,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3774,7 +3889,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3800,7 +3915,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3820,7 +3935,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3832,7 +3947,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3858,7 +3973,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3880,7 +3995,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3894,7 +4009,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3920,7 +4035,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3934,7 +4049,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3962,7 +4077,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3984,7 +4099,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -4004,7 +4119,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4029,7 +4144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4056,7 +4171,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4090,7 +4205,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4124,7 +4239,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4154,7 +4269,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4186,7 +4301,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4210,7 +4325,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4234,7 +4349,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4262,7 +4377,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4282,7 +4397,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4306,7 +4421,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4330,7 +4445,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4342,13 +4457,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`_getRootModalHost`](TextBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4369,7 +4506,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4398,7 +4535,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4424,7 +4561,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4450,7 +4587,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4475,7 +4612,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4499,7 +4636,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4523,7 +4660,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4544,7 +4681,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4570,7 +4707,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4590,7 +4727,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4610,7 +4747,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4630,7 +4767,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4650,7 +4787,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4674,7 +4811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4692,7 +4829,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4710,7 +4847,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4728,7 +4865,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4754,7 +4891,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4780,7 +4917,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4806,7 +4943,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4830,7 +4967,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4854,7 +4991,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4881,7 +5018,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4910,7 +5047,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4937,7 +5074,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4958,7 +5095,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4983,7 +5120,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5007,7 +5144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5037,7 +5174,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5065,7 +5202,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5091,7 +5228,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5115,7 +5252,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5144,7 +5281,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5172,7 +5309,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5198,7 +5335,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5223,7 +5360,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5241,7 +5378,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5259,7 +5396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5285,7 +5422,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5311,7 +5448,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5332,7 +5469,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5360,7 +5497,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5390,7 +5527,7 @@ _tearDownUI dismissSoftInput(): void; ``` -Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L112) +Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L112) Hides the soft input method, ususally a soft keyboard. @@ -5406,7 +5543,7 @@ Hides the soft input method, ususally a soft keyboard. disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5426,7 +5563,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5452,7 +5589,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5478,7 +5615,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5500,7 +5637,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5521,7 +5658,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5547,7 +5684,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5567,7 +5704,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5587,7 +5724,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5605,7 +5742,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5629,7 +5766,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5649,7 +5786,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5669,7 +5806,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5695,7 +5832,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5715,7 +5852,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5733,7 +5870,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5747,13 +5884,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`getNativeWindow`](TextBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5773,7 +5935,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5805,7 +5967,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5837,7 +5999,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5857,7 +6019,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5883,7 +6045,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5908,7 +6070,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5944,7 +6106,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5973,7 +6135,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5999,7 +6161,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6027,7 +6189,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6064,7 +6226,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6095,7 +6257,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6128,7 +6290,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6157,7 +6319,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6186,7 +6348,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6215,7 +6377,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6245,7 +6407,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6274,7 +6436,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6303,7 +6465,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6331,7 +6493,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6354,7 +6516,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6387,7 +6549,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6416,7 +6578,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6434,7 +6596,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6462,7 +6624,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6480,7 +6642,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6501,7 +6663,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6529,7 +6691,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6549,7 +6711,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6569,7 +6731,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6607,7 +6769,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6634,7 +6796,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6659,7 +6821,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6683,7 +6845,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6710,7 +6872,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6738,7 +6900,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6758,7 +6920,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6785,7 +6947,7 @@ Updates the specified property with the provided value and raises a property cha setSelection(start: number, stop?: number): any; ``` -Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L124) +Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L124) Set the selection anchor to start and the selection edge to stop @@ -6808,7 +6970,7 @@ Set the selection anchor to start and the selection edge to stop showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6834,7 +6996,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6854,7 +7016,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6878,7 +7040,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6904,7 +7066,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6932,7 +7094,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6964,7 +7126,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6995,7 +7157,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7033,7 +7195,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7082,7 +7244,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7117,7 +7279,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7152,7 +7314,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7186,7 +7348,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7221,7 +7383,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/FadeTransition.md b/content/api/classes/FadeTransition.md index c88c47bf..bad206b6 100644 --- a/content/api/classes/FadeTransition.md +++ b/content/api/classes/FadeTransition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/fade-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/fade-transition.d.ts#L3) +Defined in: [ui/transition/fade-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/fade-transition.d.ts#L3) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/transition/fade-transition.d.ts:3](https://github.com/NativeScri new FadeTransition(duration?: number, nativeCurve?: any): FadeTransition; ``` -Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L39) +Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L40) #### Parameters @@ -43,7 +43,7 @@ Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/Native id: number; ``` -Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L23) +Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L23) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/Native optional interactiveController?: any; ``` -Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L29) +Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L29) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/Native optional name?: string; ``` -Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L27) +Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L27) (Optional) Provide a unique name to identify this transition @@ -87,7 +87,7 @@ Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/Native optional presented?: any; ``` -Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L30) +Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L30) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/Native optional presenting?: any; ``` -Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L31) +Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L31) #### Inherited from @@ -113,6 +113,7 @@ Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/Native ```ts optional sharedElements?: { + _allPresentingViews?: View[]; independent?: SharedElementSettings & { isPresented?: boolean; }[]; @@ -121,7 +122,13 @@ optional sharedElements?: { }; ``` -Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L32) +Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L32) + +#### \_allPresentingViews? + +```ts +optional _allPresentingViews?: View[]; +``` #### independent? @@ -155,7 +162,7 @@ optional presenting?: SharedElementSettings[]; optional transitionController?: any; ``` -Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L28) +Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L28) #### Inherited from @@ -174,7 +181,7 @@ static optional AndroidTransitionType?: { }; ``` -Defined in: [ui/transition/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L38) +Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L39) #### enter? @@ -215,7 +222,7 @@ optional androidFragmentTransactionCallback( newEntry: BackstackEntry): void; ``` -Defined in: [ui/transition/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L58) +Defined in: [ui/transition/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L59) #### Parameters @@ -245,7 +252,7 @@ animateIOSTransition( operation: any): void; ``` -Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L43) +Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L44) #### Parameters @@ -272,7 +279,7 @@ Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/Native createAndroidAnimator(transitionType: string): any; ``` -Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L44) +Defined in: [ui/transition/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L45) #### Parameters @@ -296,7 +303,7 @@ Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/Native getCurve(): any; ``` -Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L42) +Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L43) #### Returns @@ -314,7 +321,7 @@ Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/Native getDuration(): number; ``` -Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L40) +Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L41) #### Returns @@ -332,7 +339,7 @@ Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/Native optional iosDismissedController(dismissed: any): any; ``` -Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L48) +Defined in: [ui/transition/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L49) #### Parameters @@ -356,7 +363,7 @@ Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/Native optional iosInteractionDismiss(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L52) +Defined in: [ui/transition/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L53) #### Parameters @@ -380,7 +387,7 @@ Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/Native optional iosInteractionPresented(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L54) +Defined in: [ui/transition/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L55) #### Parameters @@ -408,7 +415,7 @@ optional iosNavigatedController( toVC: any): any; ``` -Defined in: [ui/transition/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L56) +Defined in: [ui/transition/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L57) #### Parameters @@ -438,7 +445,7 @@ optional iosPresentedController( source: any): any; ``` -Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L50) +Defined in: [ui/transition/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L51) #### Parameters @@ -464,7 +471,7 @@ Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/Native setDuration(value: number): void; ``` -Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L41) +Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L42) #### Parameters @@ -488,7 +495,7 @@ Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/Native optional setupInteractiveGesture(startCallback: () => void, view: View): void; ``` -Defined in: [ui/transition/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L46) +Defined in: [ui/transition/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L47) #### Parameters diff --git a/content/api/classes/File.md b/content/api/classes/File.md index 27682906..e70dfe56 100644 --- a/content/api/classes/File.md +++ b/content/api/classes/File.md @@ -5,7 +5,7 @@ description: Represents a File entity on the file system. contributors: false --- -Defined in: [file-system/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L89) +Defined in: [file-system/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L89) Represents a File entity on the file system. @@ -37,7 +37,7 @@ new File(): File; extension: string; ``` -Defined in: [file-system/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L103) +Defined in: [file-system/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L103) Gets the extension of the file. @@ -49,7 +49,7 @@ Gets the extension of the file. isLocked: boolean; ``` -Defined in: [file-system/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L113) +Defined in: [file-system/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L113) Gets a value indicating whether the file is currently locked, meaning a background operation associated with this file is running. @@ -61,7 +61,7 @@ Gets a value indicating whether the file is currently locked, meaning a backgrou lastModified: Date; ``` -Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L31) +Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L31) Gets the Date object specifying the last time this entity was modified. @@ -77,7 +77,7 @@ Gets the Date object specifying the last time this entity was modified. name: string; ``` -Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L36) +Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L36) Gets the name of the entity. @@ -93,7 +93,7 @@ Gets the name of the entity. parent: Folder; ``` -Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L48) +Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L48) Gets the Folder object representing the parent of this entity. Will be null for a root folder like Documents or Temporary. @@ -111,7 +111,7 @@ This property is readonly. path: string; ``` -Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L41) +Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L41) Gets the fully-qualified path (including the extension for a File) of the entity. @@ -127,7 +127,7 @@ Gets the fully-qualified path (including the extension for a File) of the entity size: number; ``` -Defined in: [file-system/index.d.ts:108](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L108) +Defined in: [file-system/index.d.ts:108](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L108) Gets the size in bytes of the file. @@ -139,7 +139,7 @@ Gets the size in bytes of the file. readonly static android: Android; ``` -Defined in: [file-system/index.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L90) +Defined in: [file-system/index.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L90) *** @@ -149,7 +149,7 @@ Defined in: [file-system/index.d.ts:90](https://github.com/NativeScript/NativeSc readonly static ios: iOS; ``` -Defined in: [file-system/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L92) +Defined in: [file-system/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L92) ## Methods @@ -159,7 +159,7 @@ Defined in: [file-system/index.d.ts:92](https://github.com/NativeScript/NativeSc append(content: any): Promise; ``` -Defined in: [file-system/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L134) +Defined in: [file-system/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L134) Appends the provided binary content to the file. @@ -181,7 +181,7 @@ Appends the provided binary content to the file. appendSync(content: any, onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L141) +Defined in: [file-system/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L141) Appends the provided binary content to the file synchronously. @@ -204,7 +204,7 @@ Appends the provided binary content to the file synchronously. appendText(content: string, encoding?: string): Promise; ``` -Defined in: [file-system/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L120) +Defined in: [file-system/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L120) Appends the provided string to the file, using the specified encoding (defaults to UTF-8). @@ -230,7 +230,7 @@ appendTextSync( encoding?: string): void; ``` -Defined in: [file-system/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L128) +Defined in: [file-system/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L128) Appends the provided string to the file synchronously, using the specified encoding (defaults to UTF-8). @@ -254,7 +254,7 @@ Appends the provided string to the file synchronously, using the specified encod copy(dest: string): Promise; ``` -Defined in: [file-system/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L148) +Defined in: [file-system/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L148) Copies a file to a given path. @@ -276,7 +276,7 @@ Copies a file to a given path. copySync(dest: string, onError?: (error: any) => any): any; ``` -Defined in: [file-system/index.d.ts:156](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L156) +Defined in: [file-system/index.d.ts:156](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L156) Copies a file to a given path. @@ -299,7 +299,7 @@ Copies a file to a given path. read(): Promise; ``` -Defined in: [file-system/index.d.ts:181](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L181) +Defined in: [file-system/index.d.ts:181](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L181) Reads the binary content of the file asynchronously. @@ -315,7 +315,7 @@ Reads the binary content of the file asynchronously. readSync(onError?: (error: any) => any): any; ``` -Defined in: [file-system/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L187) +Defined in: [file-system/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L187) Reads the binary content of the file synchronously. @@ -337,7 +337,7 @@ Reads the binary content of the file synchronously. readText(encoding?: string): Promise; ``` -Defined in: [file-system/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L169) +Defined in: [file-system/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L169) Reads the content of the file as a string using the specified encoding (defaults to UTF-8). @@ -359,7 +359,7 @@ Reads the content of the file as a string using the specified encoding (defaults readTextSync(onError?: (error: any) => any, encoding?: string): string; ``` -Defined in: [file-system/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L176) +Defined in: [file-system/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L176) Reads the content of the file as a string synchronously, using the specified encoding (defaults to UTF-8). @@ -382,7 +382,7 @@ Reads the content of the file as a string synchronously, using the specified enc remove(): Promise; ``` -Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L53) +Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L53) Removes (deletes) the current Entity from the file system. @@ -402,7 +402,7 @@ Removes (deletes) the current Entity from the file system. removeSync(onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L58) +Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L58) Removes (deletes) the current Entity from the file system synchronously. @@ -428,7 +428,7 @@ Removes (deletes) the current Entity from the file system synchronously. rename(newName: string): Promise; ``` -Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L64) +Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L64) Renames the current entity using the specified name. @@ -454,7 +454,7 @@ Renames the current entity using the specified name. renameSync(newName: string, onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L70) +Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L70) Renames the current entity synchronously, using the specified name. @@ -481,7 +481,7 @@ Renames the current entity synchronously, using the specified name. write(content: any): Promise; ``` -Defined in: [file-system/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L208) +Defined in: [file-system/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L208) Writes the provided binary content to the file. @@ -503,7 +503,7 @@ Writes the provided binary content to the file. writeSync(content: any, onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L215) +Defined in: [file-system/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L215) Writes the provided binary content to the file synchronously. @@ -526,7 +526,7 @@ Writes the provided binary content to the file synchronously. writeText(content: string, encoding?: string): Promise; ``` -Defined in: [file-system/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L194) +Defined in: [file-system/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L194) Writes the provided string to the file, using the specified encoding (defaults to UTF-8). @@ -552,7 +552,7 @@ writeTextSync( encoding?: string): void; ``` -Defined in: [file-system/index.d.ts:202](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L202) +Defined in: [file-system/index.d.ts:202](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L202) Writes the provided string to the file synchronously, using the specified encoding (defaults to UTF-8). @@ -576,7 +576,7 @@ Writes the provided string to the file synchronously, using the specified encodi static exists(path: string): boolean; ``` -Defined in: [file-system/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L98) +Defined in: [file-system/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L98) Checks whether a File with the specified path already exists. @@ -598,7 +598,7 @@ Checks whether a File with the specified path already exists. static fromPath(path: string, copy?: boolean): File; ``` -Defined in: [file-system/index.d.ts:163](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L163) +Defined in: [file-system/index.d.ts:163](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L163) Gets or creates a File entity at the specified path. diff --git a/content/api/classes/FileSystemEntity.md b/content/api/classes/FileSystemEntity.md index 656452e0..05d49c0c 100644 --- a/content/api/classes/FileSystemEntity.md +++ b/content/api/classes/FileSystemEntity.md @@ -5,7 +5,7 @@ description: Represents a single entity on the file system. contributors: false --- -Defined in: [file-system/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L27) +Defined in: [file-system/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L27) Represents a single entity on the file system. @@ -34,7 +34,7 @@ new FileSystemEntity(): FileSystemEntity; lastModified: Date; ``` -Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L31) +Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L31) Gets the Date object specifying the last time this entity was modified. @@ -46,7 +46,7 @@ Gets the Date object specifying the last time this entity was modified. name: string; ``` -Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L36) +Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L36) Gets the name of the entity. @@ -58,7 +58,7 @@ Gets the name of the entity. parent: Folder; ``` -Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L48) +Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L48) Gets the Folder object representing the parent of this entity. Will be null for a root folder like Documents or Temporary. @@ -72,7 +72,7 @@ This property is readonly. path: string; ``` -Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L41) +Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L41) Gets the fully-qualified path (including the extension for a File) of the entity. @@ -84,7 +84,7 @@ Gets the fully-qualified path (including the extension for a File) of the entity remove(): Promise; ``` -Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L53) +Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L53) Removes (deletes) the current Entity from the file system. @@ -100,7 +100,7 @@ Removes (deletes) the current Entity from the file system. removeSync(onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L58) +Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L58) Removes (deletes) the current Entity from the file system synchronously. @@ -122,7 +122,7 @@ Removes (deletes) the current Entity from the file system synchronously. rename(newName: string): Promise; ``` -Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L64) +Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L64) Renames the current entity using the specified name. @@ -144,7 +144,7 @@ Renames the current entity using the specified name. renameSync(newName: string, onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L70) +Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L70) Renames the current entity synchronously, using the specified name. diff --git a/content/api/classes/FlexboxLayout.md b/content/api/classes/FlexboxLayout.md index 05794fc4..7fd32c24 100644 --- a/content/api/classes/FlexboxLayout.md +++ b/content/api/classes/FlexboxLayout.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/flexbox-layout/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L40) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L40) ## Ns View @@ -22,7 +22,7 @@ FlexboxLayout new FlexboxLayout(): FlexboxLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -40,7 +40,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -56,7 +56,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -70,7 +70,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -98,7 +98,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -126,7 +126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -140,7 +140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -154,7 +154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -182,7 +182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -196,7 +196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -210,7 +210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -224,7 +224,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,13 +232,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -252,7 +270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -266,7 +284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -280,7 +298,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -294,7 +312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -308,7 +326,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -328,7 +346,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -346,7 +364,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -364,7 +382,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -384,7 +402,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -400,7 +418,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -418,7 +436,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -437,7 +455,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -455,7 +473,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -473,7 +491,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -491,7 +509,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -509,7 +527,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -527,7 +545,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -545,7 +563,7 @@ If `true` the element is an accessibility element and all the children will be t alignContent: AlignContent; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L70) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L70) Gets or sets alignment of items along the cross axis @@ -559,7 +577,7 @@ Gets or sets alignment of items along the cross axis alignItems: AlignItems; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L64) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L64) Gets or sets alignment of the childern on cross axis @@ -573,7 +591,7 @@ Gets or sets alignment of the childern on cross axis alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -591,7 +609,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -607,7 +625,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -625,7 +643,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -643,7 +661,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -657,7 +675,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -673,7 +691,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -691,7 +709,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -709,7 +727,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -727,7 +745,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -745,7 +763,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -763,7 +781,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -781,7 +799,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -799,7 +817,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -817,7 +835,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -835,7 +853,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -853,7 +871,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -875,7 +893,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -893,7 +911,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -911,7 +929,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -929,7 +947,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -947,7 +965,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -965,7 +983,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -983,7 +1001,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1005,7 +1023,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1023,7 +1041,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1041,7 +1059,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1059,7 +1077,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1077,7 +1095,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1095,7 +1113,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1113,7 +1131,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1131,7 +1149,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1143,13 +1161,27 @@ The column for the element. The columns are 0-indexed, so the first column is in *** +### columnGap + +```ts +columnGap: LengthType; +``` + +Defined in: [ui/layouts/flexbox-layout/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L88) + +Gets or sets the gap between columns + +#### Ns Property + +*** + ### columnSpan ```ts columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1165,7 +1197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1179,7 +1211,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1193,7 +1225,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1210,7 +1242,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1228,7 +1260,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1246,7 +1278,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1264,7 +1296,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1278,7 +1310,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1292,7 +1324,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1306,7 +1338,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1320,7 +1352,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1328,13 +1360,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1348,7 +1394,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1362,7 +1408,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1376,7 +1422,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1390,7 +1436,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1404,7 +1450,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1412,13 +1458,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1432,7 +1506,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1440,13 +1514,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1460,7 +1548,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1474,7 +1562,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1492,7 +1580,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexDirection: FlexDirection; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L46) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L46) Gets or set the direction of childern on the main axis. @@ -1506,7 +1594,7 @@ Gets or set the direction of childern on the main axis. flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1524,7 +1612,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1542,7 +1630,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1560,7 +1648,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrap: FlexWrap; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L52) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L52) Gets or sets whether children can wrap into multiple lines @@ -1574,7 +1662,7 @@ Gets or sets whether children can wrap into multiple lines flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1586,13 +1674,31 @@ When true, forces the item to wrap onto a new line. *** +### gap + +```ts +gap: + | string + | number + | LengthDipUnit + | LengthPxUnit; +``` + +Defined in: [ui/layouts/flexbox-layout/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L76) + +Gets or sets the gaps between rows and columns + +#### Ns Property + +*** + ### height ```ts height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1610,7 +1716,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1628,7 +1734,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1646,7 +1752,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1664,7 +1770,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1680,7 +1786,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1696,7 +1802,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1714,7 +1820,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1732,7 +1838,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1750,7 +1856,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1768,7 +1874,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1786,7 +1892,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1804,7 +1910,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1822,7 +1928,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1840,7 +1946,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1858,7 +1964,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1874,7 +1980,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1894,7 +2000,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1912,7 +2018,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi justifyContent: JustifyContent; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L58) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L58) Gets or sets alignment of childern on the main axis @@ -1926,7 +2032,7 @@ Gets or sets alignment of childern on the main axis left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1949,7 +2055,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1967,7 +2073,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1985,7 +2091,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2003,7 +2109,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2021,7 +2127,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2033,58 +2139,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) + +*** + +### minHeight + +```ts +minHeight: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2094,7 +2219,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2110,7 +2235,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2126,7 +2251,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2142,7 +2267,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2160,7 +2285,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2178,7 +2303,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2196,7 +2321,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2218,7 +2343,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2236,7 +2361,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2254,7 +2379,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2272,7 +2397,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2290,7 +2415,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2308,7 +2433,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2324,7 +2449,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2343,7 +2468,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2357,7 +2482,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2375,7 +2500,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2393,7 +2518,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2411,7 +2536,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2429,7 +2554,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2441,13 +2566,27 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b *** +### rowGap + +```ts +rowGap: LengthType; +``` + +Defined in: [ui/layouts/flexbox-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L82) + +Gets or sets the gap between rows + +#### Ns Property + +*** + ### rowSpan ```ts rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2465,7 +2604,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2483,7 +2622,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2501,7 +2640,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2519,7 +2658,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2537,7 +2676,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2564,7 +2703,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2580,7 +2719,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2600,7 +2739,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2616,7 +2755,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2632,7 +2771,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2648,7 +2787,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2666,7 +2805,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2684,7 +2823,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2702,7 +2841,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2718,7 +2857,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2736,7 +2875,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2754,7 +2893,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2772,7 +2911,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2790,7 +2929,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2810,7 +2949,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2830,7 +2969,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2850,7 +2989,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2864,7 +3003,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2878,13 +3017,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2904,7 +3065,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2924,7 +3085,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2944,7 +3105,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2964,7 +3125,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2984,7 +3145,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3004,7 +3165,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3024,7 +3185,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3046,7 +3207,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3058,7 +3219,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3084,7 +3245,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3096,7 +3257,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3122,7 +3283,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3134,7 +3295,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3160,7 +3321,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3172,7 +3333,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3198,7 +3359,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3210,7 +3371,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3236,7 +3397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3248,7 +3409,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3274,7 +3435,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3286,7 +3447,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3312,7 +3473,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3324,7 +3485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3350,7 +3511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3370,7 +3531,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3382,7 +3543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3408,7 +3569,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3430,7 +3591,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3444,7 +3605,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3470,7 +3631,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3484,7 +3645,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3512,7 +3673,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3524,7 +3685,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3550,7 +3711,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3572,7 +3733,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3592,7 +3753,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3617,7 +3778,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3644,7 +3805,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3678,7 +3839,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3712,7 +3873,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3742,7 +3903,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3774,7 +3935,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3798,7 +3959,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3822,7 +3983,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3850,7 +4011,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3870,7 +4031,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3894,7 +4055,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3918,7 +4079,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3930,13 +4091,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3957,7 +4140,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3986,7 +4169,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4012,7 +4195,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4038,7 +4221,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4063,7 +4246,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4087,7 +4270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4111,7 +4294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4132,7 +4315,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4158,7 +4341,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4178,7 +4361,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4198,7 +4381,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4218,7 +4401,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4238,7 +4421,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4262,7 +4445,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4280,7 +4463,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4298,7 +4481,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4316,7 +4499,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4342,7 +4525,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4368,7 +4551,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4394,7 +4577,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4420,7 +4603,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4444,7 +4627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4468,7 +4651,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4495,7 +4678,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4524,7 +4707,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4551,7 +4734,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4572,7 +4755,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4597,7 +4780,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4621,7 +4804,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4648,7 +4831,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4677,7 +4860,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4705,7 +4888,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4731,7 +4914,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4751,7 +4934,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4781,7 +4964,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4810,7 +4993,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4838,7 +5021,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4864,7 +5047,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4889,7 +5072,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4907,7 +5090,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4925,7 +5108,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4951,7 +5134,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4977,7 +5160,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4998,7 +5181,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5026,7 +5209,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5056,7 +5239,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5076,7 +5259,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5102,7 +5285,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5128,7 +5311,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5154,7 +5337,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5176,7 +5359,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5197,7 +5380,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5223,7 +5406,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5243,7 +5426,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5269,7 +5452,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5295,7 +5478,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5315,7 +5498,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5335,7 +5518,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5353,7 +5536,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5377,7 +5560,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5397,7 +5580,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5417,7 +5600,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5443,7 +5626,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5463,7 +5646,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5481,7 +5664,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5495,13 +5678,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5521,7 +5729,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5553,7 +5761,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5585,7 +5793,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5605,7 +5813,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5631,7 +5839,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5651,7 +5859,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5683,7 +5891,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5719,7 +5927,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5748,7 +5956,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5774,7 +5982,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5802,7 +6010,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5839,7 +6047,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5870,7 +6078,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5903,7 +6111,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5932,7 +6140,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5961,7 +6169,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5990,7 +6198,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6020,7 +6228,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6049,7 +6257,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6078,7 +6286,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6106,7 +6314,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6129,7 +6337,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6162,7 +6370,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6191,7 +6399,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6209,7 +6417,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6237,7 +6445,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6255,7 +6463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6273,7 +6481,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6299,7 +6507,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6322,7 +6530,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6350,7 +6558,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6370,7 +6578,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6390,7 +6598,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6428,7 +6636,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6455,7 +6663,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6480,7 +6688,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6504,7 +6712,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6531,7 +6739,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6559,7 +6767,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6579,7 +6787,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6606,7 +6814,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6632,7 +6840,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6652,7 +6860,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6676,7 +6884,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6702,7 +6910,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6730,7 +6938,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6762,7 +6970,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6787,7 +6995,7 @@ Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/Native static getAlignSelf(view: View): AlignSelf; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L82) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L100) #### Parameters @@ -6807,7 +7015,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:82](https://github.com/NativeS static getFlexGrow(view: View): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L76) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L94) #### Parameters @@ -6827,7 +7035,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:76](https://github.com/NativeS static getFlexShrink(view: View): number; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L79) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L97) #### Parameters @@ -6847,7 +7055,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:79](https://github.com/NativeS static getFlexWrapBefore(view: View): boolean; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L85) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L103) #### Parameters @@ -6867,7 +7075,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:85](https://github.com/NativeS static getOrder(view: View): number; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L73) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L91) #### Parameters @@ -6893,7 +7101,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6931,7 +7139,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6980,7 +7188,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7015,7 +7223,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7050,7 +7258,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7084,7 +7292,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7119,7 +7327,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7153,7 +7361,7 @@ size is smaller than the size the view wants to be. static setAlignSelf(view: View, align: AlignSelf): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L81) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L99) #### Parameters @@ -7174,7 +7382,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:81](https://github.com/NativeS static setFlexGrow(view: View, grow: number): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L75) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L93) #### Parameters @@ -7195,7 +7403,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:75](https://github.com/NativeS static setFlexShrink(view: View, shrink: number): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L78) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L96) #### Parameters @@ -7216,7 +7424,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:78](https://github.com/NativeS static setFlexWrapBefore(view: View, wrap: boolean): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L84) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L102) #### Parameters @@ -7237,7 +7445,7 @@ Defined in: [ui/layouts/flexbox-layout/index.d.ts:84](https://github.com/NativeS static setOrder(view: View, order: number): any; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L72) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L90) #### Parameters diff --git a/content/api/classes/Folder.md b/content/api/classes/Folder.md index 910d378f..cbc792ea 100644 --- a/content/api/classes/Folder.md +++ b/content/api/classes/Folder.md @@ -5,7 +5,7 @@ description: Represents a Folder (directory) entity on the file system. contributors: false --- -Defined in: [file-system/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L221) +Defined in: [file-system/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L221) Represents a Folder (directory) entity on the file system. @@ -37,7 +37,7 @@ new Folder(): Folder; isKnown: boolean; ``` -Defined in: [file-system/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L225) +Defined in: [file-system/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L225) Determines whether this instance is a KnownFolder (accessed through the KnownFolders object). @@ -49,7 +49,7 @@ Determines whether this instance is a KnownFolder (accessed through the KnownFol lastModified: Date; ``` -Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L31) +Defined in: [file-system/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L31) Gets the Date object specifying the last time this entity was modified. @@ -65,7 +65,7 @@ Gets the Date object specifying the last time this entity was modified. name: string; ``` -Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L36) +Defined in: [file-system/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L36) Gets the name of the entity. @@ -81,7 +81,7 @@ Gets the name of the entity. parent: Folder; ``` -Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L48) +Defined in: [file-system/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L48) Gets the Folder object representing the parent of this entity. Will be null for a root folder like Documents or Temporary. @@ -99,7 +99,7 @@ This property is readonly. path: string; ``` -Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L41) +Defined in: [file-system/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L41) Gets the fully-qualified path (including the extension for a File) of the entity. @@ -115,7 +115,7 @@ Gets the fully-qualified path (including the extension for a File) of the entity clear(): Promise; ``` -Defined in: [file-system/index.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L249) +Defined in: [file-system/index.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L249) Deletes all the files and folders (recursively), contained within this Folder. @@ -131,7 +131,7 @@ Deletes all the files and folders (recursively), contained within this Folder. clearSync(onError?: (error: any) => void): void; ``` -Defined in: [file-system/index.d.ts:255](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L255) +Defined in: [file-system/index.d.ts:255](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L255) Deletes all the files and folders (recursively), contained within this Folder synchronously. @@ -153,7 +153,7 @@ Deletes all the files and folders (recursively), contained within this Folder sy contains(name: string): boolean; ``` -Defined in: [file-system/index.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L244) +Defined in: [file-system/index.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L244) Checks whether this Folder contains an Entity with the specified name. The path of the folder is added to the name to resolve the complete path to check for. @@ -176,7 +176,7 @@ The path of the folder is added to the name to resolve the complete path to chec eachEntity(onEntity: (entity: FileSystemEntity) => boolean): any; ``` -Defined in: [file-system/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L284) +Defined in: [file-system/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L284) Enumerates all the top-level FileSystem entities residing within this folder. @@ -198,7 +198,7 @@ Enumerates all the top-level FileSystem entities residing within this folder. getEntities(): Promise; ``` -Defined in: [file-system/index.d.ts:272](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L272) +Defined in: [file-system/index.d.ts:272](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L272) Gets all the top-level entities residing within this folder. @@ -214,7 +214,7 @@ Gets all the top-level entities residing within this folder. getEntitiesSync(onError?: (error: any) => any): FileSystemEntity[]; ``` -Defined in: [file-system/index.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L278) +Defined in: [file-system/index.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L278) Gets all the top-level entities residing within this folder synchronously. @@ -236,7 +236,7 @@ Gets all the top-level entities residing within this folder synchronously. getFile(name: string): File; ``` -Defined in: [file-system/index.d.ts:261](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L261) +Defined in: [file-system/index.d.ts:261](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L261) Gets or creates a File entity with the specified name within this Folder. @@ -258,7 +258,7 @@ Gets or creates a File entity with the specified name within this Folder. getFolder(name: string): Folder; ``` -Defined in: [file-system/index.d.ts:267](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L267) +Defined in: [file-system/index.d.ts:267](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L267) Gets or creates a Folder entity with the specified name within this Folder. @@ -280,7 +280,7 @@ Gets or creates a Folder entity with the specified name within this Folder. remove(): Promise; ``` -Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L53) +Defined in: [file-system/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L53) Removes (deletes) the current Entity from the file system. @@ -300,7 +300,7 @@ Removes (deletes) the current Entity from the file system. removeSync(onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L58) +Defined in: [file-system/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L58) Removes (deletes) the current Entity from the file system synchronously. @@ -326,7 +326,7 @@ Removes (deletes) the current Entity from the file system synchronously. rename(newName: string): Promise; ``` -Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L64) +Defined in: [file-system/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L64) Renames the current entity using the specified name. @@ -352,7 +352,7 @@ Renames the current entity using the specified name. renameSync(newName: string, onError?: (error: any) => any): void; ``` -Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L70) +Defined in: [file-system/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L70) Renames the current entity synchronously, using the specified name. @@ -379,7 +379,7 @@ Renames the current entity synchronously, using the specified name. static exists(path: string): boolean; ``` -Defined in: [file-system/index.d.ts:237](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L237) +Defined in: [file-system/index.d.ts:237](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L237) Checks whether a Folder with the specified path already exists. @@ -401,7 +401,7 @@ Checks whether a Folder with the specified path already exists. static fromPath(path: string): Folder; ``` -Defined in: [file-system/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L231) +Defined in: [file-system/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L231) Gets or creates a Folder entity at the specified path. diff --git a/content/api/classes/Font.md b/content/api/classes/Font.md index 6ba3f085..fb8b0647 100644 --- a/content/api/classes/Font.md +++ b/content/api/classes/Font.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/font.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L6) +Defined in: [ui/styling/font.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L6) ## Extends @@ -24,7 +24,7 @@ new Font( fontVariationSettings?: FontVariationSettings[]): Font; ``` -Defined in: [ui/styling/font.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L19) +Defined in: [ui/styling/font.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L19) #### Parameters @@ -55,7 +55,7 @@ FontBase.constructor fontFamily: string; ``` -Defined in: [ui/styling/font.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L9) +Defined in: [ui/styling/font.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L9) #### Overrides @@ -71,7 +71,7 @@ FontBase.fontFamily fontScale: number; ``` -Defined in: [ui/styling/font.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L13) +Defined in: [ui/styling/font.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L13) #### Overrides @@ -87,7 +87,7 @@ FontBase.fontScale fontSize: number; ``` -Defined in: [ui/styling/font.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L12) +Defined in: [ui/styling/font.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L12) #### Overrides @@ -103,7 +103,7 @@ FontBase.fontSize fontStyle: FontStyleType; ``` -Defined in: [ui/styling/font.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L10) +Defined in: [ui/styling/font.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L10) #### Overrides @@ -119,7 +119,7 @@ FontBase.fontStyle optional fontVariationSettings?: FontVariationSettingsType[]; ``` -Defined in: [ui/styling/font.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L14) +Defined in: [ui/styling/font.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L14) #### Overrides @@ -135,7 +135,7 @@ FontBase.fontVariationSettings fontWeight: FontWeightType; ``` -Defined in: [ui/styling/font.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L11) +Defined in: [ui/styling/font.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L11) #### Overrides @@ -151,7 +151,7 @@ FontBase.fontWeight isBold: boolean; ``` -Defined in: [ui/styling/font.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L16) +Defined in: [ui/styling/font.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L16) #### Overrides @@ -167,7 +167,7 @@ FontBase.isBold isItalic: boolean; ``` -Defined in: [ui/styling/font.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L17) +Defined in: [ui/styling/font.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L17) #### Overrides @@ -183,7 +183,7 @@ FontBase.isItalic static default: Font; ``` -Defined in: [ui/styling/font.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L7) +Defined in: [ui/styling/font.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L7) #### Overrides @@ -199,7 +199,7 @@ FontBase.default getAndroidTypeface(): any; ``` -Defined in: [ui/styling/font.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L21) +Defined in: [ui/styling/font.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L21) #### Returns @@ -219,7 +219,7 @@ FontBase.getAndroidTypeface getUIFont(defaultFont: any): any; ``` -Defined in: [ui/styling/font.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L22) +Defined in: [ui/styling/font.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L22) #### Parameters @@ -245,7 +245,7 @@ FontBase.getUIFont withFontFamily(family: string): Font; ``` -Defined in: [ui/styling/font.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L24) +Defined in: [ui/styling/font.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L24) #### Parameters @@ -271,7 +271,7 @@ FontBase.withFontFamily withFontScale(scale: number): Font; ``` -Defined in: [ui/styling/font.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L28) +Defined in: [ui/styling/font.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L28) #### Parameters @@ -297,7 +297,7 @@ FontBase.withFontScale withFontSize(size: number): Font; ``` -Defined in: [ui/styling/font.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L27) +Defined in: [ui/styling/font.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L27) #### Parameters @@ -323,7 +323,7 @@ FontBase.withFontSize withFontStyle(style: FontStyleType): Font; ``` -Defined in: [ui/styling/font.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L25) +Defined in: [ui/styling/font.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L25) #### Parameters @@ -349,7 +349,7 @@ FontBase.withFontStyle withFontVariationSettings(variationSettings: FontVariationSettings[]): Font; ``` -Defined in: [ui/styling/font.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L29) +Defined in: [ui/styling/font.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L29) #### Parameters @@ -375,7 +375,7 @@ FontBase.withFontVariationSettings withFontWeight(weight: FontWeightType): Font; ``` -Defined in: [ui/styling/font.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L26) +Defined in: [ui/styling/font.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L26) #### Parameters @@ -401,7 +401,7 @@ FontBase.withFontWeight static equals(value1: Font, value2: Font): boolean; ``` -Defined in: [ui/styling/font.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L31) +Defined in: [ui/styling/font.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L31) #### Parameters diff --git a/content/api/classes/FormattedString.md b/content/api/classes/FormattedString.md index baa6767e..41232601 100644 --- a/content/api/classes/FormattedString.md +++ b/content/api/classes/FormattedString.md @@ -5,7 +5,7 @@ description: A class used to create a formatted (rich text) string. contributors: false --- -Defined in: [ui/text-base/formatted-string.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L17) +Defined in: [ui/text-base/formatted-string.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L17) A class used to create a formatted (rich text) string. @@ -25,7 +25,7 @@ FormattedString new FormattedString(): FormattedString; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -99,7 +99,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -113,7 +113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -127,7 +127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -141,7 +141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -155,7 +155,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -169,7 +169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -183,7 +183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -197,7 +197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -211,7 +211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -225,7 +225,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -239,7 +239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -253,7 +253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -267,7 +267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -281,7 +281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -301,7 +301,7 @@ as well as adding/rmoving the view to/from the visual tree. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -319,7 +319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS backgroundColor: Color; ``` -Defined in: [ui/text-base/formatted-string.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L82) +Defined in: [ui/text-base/formatted-string.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L82) Gets or sets the font background color which will be used for all spans that doesn't have a specific value. @@ -333,7 +333,7 @@ Gets or sets the font background color which will be used for all spans that doe bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -349,7 +349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -367,7 +367,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -385,7 +385,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/text-base/formatted-string.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L75) +Defined in: [ui/text-base/formatted-string.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L75) Gets or sets the font foreground color which will be used for all spans that doesn't have a specific value. @@ -399,7 +399,7 @@ Gets or sets the font foreground color which will be used for all spans that doe colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -417,7 +417,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -435,7 +435,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -451,7 +451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -465,7 +465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -479,7 +479,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -497,7 +497,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -515,7 +515,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -529,7 +529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -543,7 +543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -557,7 +557,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -571,7 +571,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -579,13 +579,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveColumnGap`](ViewBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -599,7 +613,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -613,7 +627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -627,7 +641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -641,7 +655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -655,7 +669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -663,13 +677,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxHeight`](ViewBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxWidth`](ViewBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -683,7 +725,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -691,13 +733,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveRowGap`](ViewBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -711,7 +767,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -725,7 +781,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -743,7 +799,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -761,7 +817,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -779,7 +835,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/formatted-string.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L33) +Defined in: [ui/text-base/formatted-string.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L33) Gets or sets the font family which will be used for all spans that doesn't have a specific value. @@ -793,7 +849,7 @@ Gets or sets the font family which will be used for all spans that doesn't have fontSize: number; ``` -Defined in: [ui/text-base/formatted-string.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L40) +Defined in: [ui/text-base/formatted-string.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L40) Gets or sets the font size which will be used for all spans that doesn't have a specific value. @@ -807,7 +863,7 @@ Gets or sets the font size which will be used for all spans that doesn't have a fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/formatted-string.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L47) +Defined in: [ui/text-base/formatted-string.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L47) Gets or sets the font style which will be used for all spans that doesn't have a specific value. @@ -821,7 +877,7 @@ Gets or sets the font style which will be used for all spans that doesn't have a fontVariationSettings: FontVariationSettingsType[]; ``` -Defined in: [ui/text-base/formatted-string.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L61) +Defined in: [ui/text-base/formatted-string.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L61) Gets or sets the font variation settings which will be used for all spans that doesn't have a specific value. @@ -835,7 +891,7 @@ Gets or sets the font variation settings which will be used for all spans that d fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/formatted-string.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L54) +Defined in: [ui/text-base/formatted-string.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L54) Gets or sets the font weight which will be used for all spans that doesn't have a specific value. @@ -849,7 +905,7 @@ Gets or sets the font weight which will be used for all spans that doesn't have hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -867,7 +923,7 @@ Gets or sets the visual state of the view. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -885,7 +941,7 @@ Gets or sets the id for this view. iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/text-base/formatted-string.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L89) +Defined in: [ui/text-base/formatted-string.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L89) Defines whether accessibility font scale should affect font size. @@ -899,7 +955,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/text-base/formatted-string.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L103) +Defined in: [ui/text-base/formatted-string.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L103) Gets or sets the maximum accessibility font scale. @@ -913,7 +969,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/text-base/formatted-string.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L96) +Defined in: [ui/text-base/formatted-string.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L96) Gets or sets the minimum accessibility font scale. @@ -927,7 +983,7 @@ Gets or sets the minimum accessibility font scale. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -945,7 +1001,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -957,32 +1013,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ViewBase`](ViewBase.md).[`mIsRootView`](ViewBase.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -998,7 +1035,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -1016,7 +1053,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -1032,7 +1069,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1046,7 +1083,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -1064,7 +1101,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -1082,7 +1119,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -1100,7 +1137,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -1118,7 +1155,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -1136,7 +1173,7 @@ Gets or sets the shared transition tag for animated view transitions spans: ObservableArray; ``` -Defined in: [ui/text-base/formatted-string.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L21) +Defined in: [ui/text-base/formatted-string.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L21) An observable collection of Span objects used to define common text properties. @@ -1148,7 +1185,7 @@ An observable collection of Span objects used to define common text properties. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/formatted-string.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L68) +Defined in: [ui/text-base/formatted-string.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L68) Gets or sets text decorations which will be used for all spans that doesn't have a specific value. @@ -1162,7 +1199,7 @@ Gets or sets text decorations which will be used for all spans that doesn't have top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1180,7 +1217,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1196,7 +1233,7 @@ returns the native UIViewController. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1216,7 +1253,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1236,7 +1273,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1256,7 +1293,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1276,7 +1313,7 @@ propertyChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1298,7 +1335,7 @@ unloaded get android(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1318,7 +1355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1330,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1348,6 +1385,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`cssType`](ViewBase.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1356,7 +1433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1368,7 +1445,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1394,7 +1471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1406,7 +1483,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1432,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1444,7 +1521,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1470,7 +1547,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1482,7 +1559,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1508,7 +1585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1528,7 +1605,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1548,7 +1625,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1560,7 +1637,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1586,7 +1663,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1608,7 +1685,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1622,7 +1699,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1648,7 +1725,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1662,7 +1739,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1690,7 +1767,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1712,7 +1789,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1732,7 +1809,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1757,7 +1834,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1784,7 +1861,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1812,7 +1889,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1836,7 +1913,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1866,7 +1943,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1898,7 +1975,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1925,7 +2002,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1953,7 +2030,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1973,7 +2050,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1997,7 +2074,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2025,7 +2102,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2049,7 +2126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2073,7 +2150,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2091,7 +2168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2111,7 +2188,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2135,7 +2212,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2161,7 +2238,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2187,7 +2264,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2213,7 +2290,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2237,7 +2314,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2261,7 +2338,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2285,7 +2362,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2312,7 +2389,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2341,7 +2418,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2362,7 +2439,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2386,7 +2463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2417,7 +2494,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2446,7 +2523,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2474,7 +2551,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2499,7 +2576,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2517,7 +2594,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2535,7 +2612,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2561,7 +2638,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2582,7 +2659,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2610,7 +2687,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2640,7 +2717,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2660,7 +2737,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2686,7 +2763,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2708,7 +2785,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2734,7 +2811,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2752,7 +2829,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2784,7 +2861,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2816,7 +2893,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2842,7 +2919,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2862,7 +2939,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2888,7 +2965,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2925,7 +3002,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2956,7 +3033,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2987,7 +3064,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -3018,7 +3095,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -3047,7 +3124,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3065,7 +3142,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3083,7 +3160,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3104,7 +3181,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -3132,7 +3209,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3152,7 +3229,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3172,7 +3249,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3199,7 +3276,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3223,7 +3300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3251,7 +3328,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3280,7 +3357,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3305,7 +3382,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3332,7 +3409,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/text-base/formatted-string.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/formatted-string.d.ts#L26) +Defined in: [ui/text-base/formatted-string.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/formatted-string.d.ts#L26) A human readable representation of the formatted string. @@ -3352,7 +3429,7 @@ A human readable representation of the formatted string. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3376,7 +3453,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3406,7 +3483,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3441,7 +3518,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3476,7 +3553,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3511,7 +3588,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3545,7 +3622,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/Frame.md b/content/api/classes/Frame.md index 8e3af330..3288b980 100644 --- a/content/api/classes/Frame.md +++ b/content/api/classes/Frame.md @@ -5,7 +5,7 @@ description: Represents the logical View unit that is responsible for navigation contributors: false --- -Defined in: [ui/frame/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L16) +Defined in: [ui/frame/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L17) Represents the logical View unit that is responsible for navigation within an application. Nested frames are supported, enabling hierarchical navigation scenarios. @@ -26,7 +26,7 @@ Frame new Frame(): Frame; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -46,7 +46,7 @@ FrameBase.constructor optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -64,7 +64,7 @@ FrameBase._androidContentDescriptionUpdated _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -80,7 +80,7 @@ FrameBase._automaticallyAdjustsScrollViewInsets protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -96,7 +96,7 @@ FrameBase._closeModalCallback _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -112,7 +112,7 @@ FrameBase._context _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -128,7 +128,7 @@ FrameBase._cssState protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -144,7 +144,7 @@ FrameBase._defaultPaddingBottom protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -160,7 +160,7 @@ FrameBase._defaultPaddingLeft protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -176,7 +176,7 @@ FrameBase._defaultPaddingRight protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -192,7 +192,7 @@ FrameBase._defaultPaddingTop _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -208,7 +208,7 @@ FrameBase._domId _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -224,7 +224,7 @@ FrameBase._ignoreFlexMinWidthHeightReset _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -240,7 +240,7 @@ FrameBase._isAddedToNativeVisualTree _isInFrameStack: boolean; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Inherited from @@ -256,7 +256,7 @@ FrameBase._isInFrameStack protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -272,7 +272,7 @@ FrameBase._isPaddingRelative _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -282,13 +282,33 @@ FrameBase._isStyleScopeHost *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +```ts +FrameBase._nativeWindow +``` + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -304,7 +324,7 @@ FrameBase._oldBottom _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -320,7 +340,7 @@ FrameBase._oldLeft _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -336,7 +356,7 @@ FrameBase._oldRight _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -352,7 +372,7 @@ FrameBase._oldTop _resolvedPage: Page; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) A reference of current page that is set earlier than current entry. Using this property, methods like 'eachChildView' and '_childrenCount' gain access to page view @@ -372,7 +392,7 @@ FrameBase._resolvedPage _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -388,7 +408,7 @@ FrameBase._styleScope _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -410,7 +430,7 @@ FrameBase._suspendNativeUpdatesCount accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -430,7 +450,7 @@ FrameBase.accessibilityHidden accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -450,7 +470,7 @@ FrameBase.accessibilityHint accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -472,7 +492,7 @@ FrameBase.accessibilityIdentifier accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -490,7 +510,7 @@ FrameBase.accessibilityIgnoresInvertColors accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -510,7 +530,7 @@ FrameBase.accessibilityLabel accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -531,7 +551,7 @@ FrameBase.accessibilityLanguage accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -551,7 +571,7 @@ FrameBase.accessibilityLiveRegion accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -571,7 +591,7 @@ FrameBase.accessibilityMediaSession accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -591,7 +611,7 @@ FrameBase.accessibilityRole accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -611,7 +631,7 @@ FrameBase.accessibilityState accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -631,7 +651,7 @@ FrameBase.accessibilityValue accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -651,7 +671,7 @@ FrameBase.accessible actionBarVisibility: "auto" | "always" | "never"; ``` -Defined in: [ui/frame/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L116) +Defined in: [ui/frame/index.d.ts:126](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L126) Used to control the visibility the Navigation Bar in iOS and the Action Bar in Android. @@ -671,7 +691,7 @@ FrameBase.actionBarVisibility alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -691,7 +711,7 @@ FrameBase.alignSelf android: AndroidFrame; ``` -Defined in: [ui/frame/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L160) +Defined in: [ui/frame/index.d.ts:170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L170) Gets the AndroidFrame object that represents the Android-specific APIs for this Frame. Valid when running on Android OS. @@ -709,7 +729,7 @@ FrameBase.android androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -729,7 +749,7 @@ FrameBase.androidDynamicElevationOffset androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -749,7 +769,7 @@ FrameBase.androidElevation androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -765,7 +785,7 @@ FrameBase.androidOverflowEdge animated: boolean; ``` -Defined in: [ui/frame/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L139) +Defined in: [ui/frame/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L149) Gets or sets if navigation transitions should be animated. @@ -783,7 +803,7 @@ FrameBase.animated automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -801,7 +821,7 @@ FrameBase.automationText background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -821,7 +841,7 @@ FrameBase.background backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -841,7 +861,7 @@ FrameBase.backgroundColor backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -861,7 +881,7 @@ FrameBase.backgroundImage backStack: BackstackEntry[]; ``` -Defined in: [ui/frame/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L122) +Defined in: [ui/frame/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L132) Gets the back stack of this instance. @@ -879,7 +899,7 @@ FrameBase.backStack bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -899,7 +919,7 @@ FrameBase.bindingContext borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -919,7 +939,7 @@ FrameBase.borderBottomColor borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -939,7 +959,7 @@ FrameBase.borderBottomLeftRadius borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -959,7 +979,7 @@ FrameBase.borderBottomRightRadius borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -979,7 +999,7 @@ FrameBase.borderBottomWidth borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -999,7 +1019,7 @@ FrameBase.borderColor borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -1019,7 +1039,7 @@ FrameBase.borderLeftColor borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -1043,7 +1063,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -1063,7 +1083,7 @@ FrameBase.borderRadius borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -1083,7 +1103,7 @@ FrameBase.borderRightColor borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -1103,7 +1123,7 @@ FrameBase.borderRightWidth borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1123,7 +1143,7 @@ FrameBase.borderTopColor borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1143,7 +1163,7 @@ FrameBase.borderTopLeftRadius borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1163,7 +1183,7 @@ FrameBase.borderTopRightRadius borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1187,7 +1207,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1207,7 +1227,7 @@ FrameBase.borderWidth boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1227,7 +1247,7 @@ FrameBase.boxShadow className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1247,7 +1267,7 @@ FrameBase.className col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1267,7 +1287,7 @@ FrameBase.col color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1287,7 +1307,7 @@ FrameBase.color colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1307,7 +1327,7 @@ FrameBase.colSpan column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1327,7 +1347,7 @@ FrameBase.column columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1345,7 +1365,7 @@ FrameBase.columnSpan cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1361,7 +1381,7 @@ FrameBase.cssClasses cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1377,7 +1397,7 @@ FrameBase.cssPseudoClasses cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1396,7 +1416,7 @@ FrameBase.cssType currentEntry: NavigationEntry; ``` -Defined in: [ui/frame/index.d.ts:133](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L133) +Defined in: [ui/frame/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L143) Gets the NavigationEntry instance the Frame is currently navigated to. @@ -1414,7 +1434,7 @@ FrameBase.currentEntry currentPage: Page; ``` -Defined in: [ui/frame/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L127) +Defined in: [ui/frame/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L137) Gets the Page instance the Frame is currently navigated to. @@ -1432,7 +1452,7 @@ FrameBase.currentPage optional defaultPage?: string; ``` -Defined in: [ui/frame/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L42) +Defined in: [ui/frame/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L43) #### Ns Property @@ -1444,7 +1464,7 @@ Defined in: [ui/frame/index.d.ts:42](https://github.com/NativeScript/NativeScrip defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1464,7 +1484,7 @@ FrameBase.defaultVisualState direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1484,7 +1504,7 @@ FrameBase.direction dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1504,7 +1524,7 @@ FrameBase.dock domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1520,7 +1540,7 @@ FrameBase.domNode effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1536,7 +1556,7 @@ FrameBase.effectiveBorderBottomWidth effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1552,7 +1572,7 @@ FrameBase.effectiveBorderLeftWidth effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1568,7 +1588,7 @@ FrameBase.effectiveBorderRightWidth effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1578,13 +1598,29 @@ FrameBase.effectiveBorderTopWidth *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +FrameBase.effectiveColumnGap +``` + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1600,7 +1636,7 @@ FrameBase.effectiveHeight effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1616,7 +1652,7 @@ FrameBase.effectiveLeft effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1632,7 +1668,7 @@ FrameBase.effectiveMarginBottom effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1648,7 +1684,7 @@ FrameBase.effectiveMarginLeft effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1664,7 +1700,7 @@ FrameBase.effectiveMarginRight effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1674,13 +1710,45 @@ FrameBase.effectiveMarginTop *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +FrameBase.effectiveMaxHeight +``` + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +FrameBase.effectiveMaxWidth +``` + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1696,7 +1764,7 @@ FrameBase.effectiveMinHeight effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1706,13 +1774,29 @@ FrameBase.effectiveMinWidth *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +FrameBase.effectiveRowGap +``` + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1728,7 +1812,7 @@ FrameBase.effectiveTop effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1744,7 +1828,7 @@ FrameBase.effectiveWidth flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1764,7 +1848,7 @@ FrameBase.flex flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1784,7 +1868,7 @@ FrameBase.flexFlow flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1804,7 +1888,7 @@ FrameBase.flexGrow flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1824,7 +1908,7 @@ FrameBase.flexShrink flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1844,7 +1928,7 @@ FrameBase.flexWrapBefore height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1864,7 +1948,7 @@ FrameBase.height hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1884,7 +1968,7 @@ FrameBase.hidden horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1904,7 +1988,7 @@ FrameBase.horizontalAlignment id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1924,7 +2008,7 @@ FrameBase.id ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1942,7 +2026,7 @@ FrameBase.ignoreTouchAnimation ios: iOSFrame; ``` -Defined in: [ui/frame/index.d.ts:165](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L165) +Defined in: [ui/frame/index.d.ts:175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L175) Gets the iOSFrame object that represents the iOS-specific APIs for this Frame. Valid when running on iOS. @@ -1960,7 +2044,7 @@ FrameBase.ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1980,7 +2064,7 @@ FrameBase.iosAccessibilityAdjustsFontSize iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -2000,7 +2084,7 @@ FrameBase.iosAccessibilityMaxFontScale iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -2020,7 +2104,7 @@ FrameBase.iosAccessibilityMinFontScale iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -2040,7 +2124,7 @@ FrameBase.iosGlassEffect iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -2060,7 +2144,7 @@ FrameBase.iosIgnoreSafeArea optional iosNavigationBarClass?: any; ``` -Defined in: [ui/frame/index.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L172) +Defined in: [ui/frame/index.d.ts:182](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L182) Specify a custom UINavigationBar class (iOS only) @@ -2074,7 +2158,7 @@ Specify a custom UINavigationBar class (iOS only) iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -2094,7 +2178,7 @@ FrameBase.iosOverflowSafeArea iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -2114,7 +2198,7 @@ FrameBase.iosOverflowSafeAreaEnabled optional iosToolbarClass?: any; ``` -Defined in: [ui/frame/index.d.ts:178](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L178) +Defined in: [ui/frame/index.d.ts:188](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L188) Specify a custom UIToolbar class (iOS only) @@ -2128,7 +2212,7 @@ Specify a custom UIToolbar class (iOS only) isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -2148,7 +2232,7 @@ FrameBase.isCollapsed isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -2168,7 +2252,7 @@ FrameBase.isEnabled isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2186,7 +2270,7 @@ FrameBase.isLayoutValid isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2206,7 +2290,7 @@ FrameBase.isUserInteractionEnabled left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2231,7 +2315,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2251,7 +2335,7 @@ FrameBase.margin marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2271,7 +2355,7 @@ FrameBase.marginBottom marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2291,7 +2375,7 @@ FrameBase.marginLeft marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2311,7 +2395,7 @@ FrameBase.marginRight marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2325,63 +2409,84 @@ FrameBase.marginTop *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -FrameBase.minHeight +FrameBase.maxHeight ``` *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -FrameBase.minWidth +FrameBase.maxWidth +``` + +*** + +### minHeight + +```ts +minHeight: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +```ts +FrameBase.minHeight ``` *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from ```ts -FrameBase.mIsRootView +FrameBase.minWidth ``` *** @@ -2392,7 +2497,7 @@ FrameBase.mIsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2410,7 +2515,7 @@ FrameBase.modal optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2428,7 +2533,7 @@ FrameBase.nativeBackgroundState nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2446,7 +2551,7 @@ FrameBase.nativeViewProtected opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2466,7 +2571,7 @@ FrameBase.opacity order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2486,7 +2591,7 @@ FrameBase.order originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2506,7 +2611,7 @@ FrameBase.originX originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2526,7 +2631,7 @@ FrameBase.originY parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2544,7 +2649,7 @@ FrameBase.parent perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2565,7 +2670,7 @@ FrameBase.perspective recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2581,7 +2686,7 @@ FrameBase.recycleNativeView reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2601,7 +2706,7 @@ FrameBase.reusable rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2621,7 +2726,7 @@ FrameBase.rotate rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2641,7 +2746,7 @@ FrameBase.rotateX rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2661,7 +2766,7 @@ FrameBase.rotateY row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2681,7 +2786,7 @@ FrameBase.row rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2701,7 +2806,7 @@ FrameBase.rowSpan scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2721,7 +2826,7 @@ FrameBase.scaleX scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2741,7 +2846,7 @@ FrameBase.scaleY sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2761,7 +2866,7 @@ FrameBase.sharedTransitionIgnore sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2781,7 +2886,7 @@ FrameBase.sharedTransitionTag statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2810,7 +2915,7 @@ FrameBase.statusBarStyle testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2828,7 +2933,7 @@ FrameBase.testID top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2850,7 +2955,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2868,7 +2973,7 @@ FrameBase.touchAnimation touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2886,7 +2991,7 @@ FrameBase.touchDelay transition: NavigationTransition; ``` -Defined in: [ui/frame/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L145) +Defined in: [ui/frame/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L155) Gets or sets the default navigation transition for this frame. @@ -2904,7 +3009,7 @@ FrameBase.transition transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2922,7 +3027,7 @@ FrameBase.transitionId translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2942,7 +3047,7 @@ FrameBase.translateX translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2962,7 +3067,7 @@ FrameBase.translateY verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2982,7 +3087,7 @@ FrameBase.verticalAlignment viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -3000,7 +3105,7 @@ FrameBase.viewController visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3020,7 +3125,7 @@ FrameBase.visibility visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3040,7 +3145,7 @@ FrameBase.visionHoverStyle visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3060,7 +3165,7 @@ FrameBase.visionIgnoreHoverStyle width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3080,7 +3185,7 @@ FrameBase.width static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3102,7 +3207,7 @@ FrameBase.accessibilityBlurEvent static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3124,7 +3229,7 @@ FrameBase.accessibilityFocusChangedEvent static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3146,7 +3251,7 @@ FrameBase.accessibilityFocusEvent static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3162,7 +3267,7 @@ FrameBase.accessibilityPerformEscapeEvent static androidOptionSelectedEvent: string; ``` -Defined in: [ui/frame/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L22) +Defined in: [ui/frame/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L23) String value used when hooking to OptionSelected event. @@ -3178,7 +3283,7 @@ optionSelected static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3194,13 +3299,37 @@ FrameBase.androidOverflowInsetEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +```ts +FrameBase.closedModallyEvent +``` + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3222,7 +3351,7 @@ FrameBase.createdEvent static defaultAnimatedNavigation: boolean; ``` -Defined in: [ui/frame/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L150) +Defined in: [ui/frame/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L160) Gets or sets if navigation transitions should be animated globally. @@ -3240,7 +3369,7 @@ FrameBase.defaultAnimatedNavigation static defaultTransition: NavigationTransition; ``` -Defined in: [ui/frame/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L155) +Defined in: [ui/frame/index.d.ts:165](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L165) Gets or sets the default NavigationTransition for all frames across the app. @@ -3258,7 +3387,7 @@ FrameBase.defaultTransition static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3280,7 +3409,7 @@ FrameBase.disposeNativeViewEvent static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3302,7 +3431,7 @@ FrameBase.layoutChangedEvent static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3324,7 +3453,7 @@ FrameBase.loadedEvent static navigatedToEvent: string; ``` -Defined in: [ui/frame/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L36) +Defined in: [ui/frame/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L37) String value used when hooking to navigatedTo event. @@ -3346,7 +3475,7 @@ FrameBase.navigatedToEvent static navigatingToEvent: string; ``` -Defined in: [ui/frame/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L29) +Defined in: [ui/frame/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L30) String value used when hooking to navigatingTo event. @@ -3368,7 +3497,7 @@ FrameBase.navigatingToEvent static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3390,7 +3519,7 @@ FrameBase.propertyChangeEvent static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3412,7 +3541,7 @@ FrameBase.showingModallyEvent static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3434,7 +3563,7 @@ FrameBase.shownModallyEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3458,7 +3587,7 @@ FrameBase.unloadedEvent get _childrenCount(): number; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) ##### Returns @@ -3480,7 +3609,7 @@ FrameBase._childrenCount get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3492,7 +3621,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3520,7 +3649,7 @@ FrameBase.backgroundPosition get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3532,7 +3661,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3560,7 +3689,7 @@ FrameBase.backgroundRepeat get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3572,7 +3701,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3600,7 +3729,7 @@ FrameBase.backgroundSize get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3612,7 +3741,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3640,7 +3769,7 @@ FrameBase.class get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3652,7 +3781,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3680,7 +3809,7 @@ FrameBase.effectivePaddingBottom get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3692,7 +3821,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3720,7 +3849,7 @@ FrameBase.effectivePaddingLeft get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3732,7 +3861,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3760,7 +3889,7 @@ FrameBase.effectivePaddingRight get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3772,7 +3901,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3800,7 +3929,7 @@ FrameBase.effectivePaddingTop get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3822,7 +3951,7 @@ FrameBase.isLoaded get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3834,7 +3963,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3862,7 +3991,7 @@ FrameBase.nativeView get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3886,7 +4015,7 @@ FrameBase.page get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3900,7 +4029,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3928,7 +4057,7 @@ FrameBase.parentNode get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3942,7 +4071,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3972,7 +4101,7 @@ FrameBase.style get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3984,7 +4113,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -4012,7 +4141,7 @@ FrameBase.textTransform get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -4036,7 +4165,7 @@ FrameBase.typeName get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -4058,7 +4187,7 @@ FrameBase.visualState _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4085,7 +4214,7 @@ FrameBase._addChildFromBuilder _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4112,7 +4241,7 @@ FrameBase._addView _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4141,7 +4270,7 @@ FrameBase._addViewCore _addViewToNativeVisualTree(child: View): boolean; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4176,7 +4305,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4212,7 +4341,7 @@ FrameBase._applyGlassEffect _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4244,7 +4373,7 @@ FrameBase._applyXmlAttribute _backstackEntryTrace(b: BackstackEntry): string; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4270,7 +4399,7 @@ FrameBase._backstackEntryTrace _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4304,7 +4433,7 @@ FrameBase._batchUpdate _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4330,7 +4459,7 @@ FrameBase._childIndexToNativeChildIndex _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4356,7 +4485,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4386,7 +4515,7 @@ FrameBase._createPropertyChangeData _dialogClosed(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4408,7 +4537,7 @@ FrameBase._dialogClosed protected _disposeBackstackEntry(entry: BackstackEntry): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4434,7 +4563,7 @@ FrameBase._disposeBackstackEntry _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4460,7 +4589,7 @@ FrameBase._eachLayoutView _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4486,7 +4615,7 @@ FrameBase._emit _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4500,13 +4629,37 @@ FrameBase._getNativeViewsCount *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +```ts +FrameBase._getRootModalHost +``` + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4529,7 +4682,7 @@ FrameBase._getRootModalViews _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4557,7 +4710,7 @@ FrameBase._getValue _goBackCore(backstackEntry: BackstackEntry): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4583,7 +4736,7 @@ FrameBase._goBackCore _handleLivesync(context?: ModuleContext): boolean; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4609,7 +4762,7 @@ FrameBase._handleLivesync _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4637,7 +4790,7 @@ FrameBase._hasAncestorView protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4664,7 +4817,7 @@ FrameBase._hideNativeModalView _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4690,7 +4843,7 @@ FrameBase._inheritStyles _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4716,7 +4869,7 @@ FrameBase._inheritStyleScope _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4736,7 +4889,7 @@ FrameBase._layoutParent _navigateCore(backstackEntry: BackstackEntry): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4765,7 +4918,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4793,7 +4946,7 @@ FrameBase._observe _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4815,7 +4968,7 @@ FrameBase._onAttachedToWindow _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4837,7 +4990,7 @@ FrameBase._onDetachedFromWindow _onNavigatingTo(backstackEntry: BackstackEntry, isBack: boolean): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -4864,7 +5017,7 @@ FrameBase._onNavigatingTo _onRootViewReset(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4886,7 +5039,7 @@ FrameBase._onRootViewReset optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4908,7 +5061,7 @@ FrameBase._onSizeChanged _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4934,7 +5087,7 @@ FrameBase._parentChanged _popFromFrameStack(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Returns @@ -4954,7 +5107,7 @@ FrameBase._popFromFrameStack _printFrameBackStack(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Returns @@ -4974,7 +5127,7 @@ FrameBase._printFrameBackStack protected _processNextNavigationEntry(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Returns @@ -4994,7 +5147,7 @@ FrameBase._processNextNavigationEntry protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5014,7 +5167,7 @@ FrameBase._raiseLayoutChangedEvent protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5034,7 +5187,7 @@ FrameBase._raiseShowingModallyEvent protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5054,7 +5207,7 @@ FrameBase._raiseShownModallyEvent _removeEntry(removed: BackstackEntry): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -5080,7 +5233,7 @@ FrameBase._removeEntry _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -5108,7 +5261,7 @@ FrameBase._removeView _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -5136,7 +5289,7 @@ FrameBase._removeViewCore _removeViewFromNativeVisualTree(child: View): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -5164,7 +5317,7 @@ FrameBase._removeViewFromNativeVisualTree _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5190,7 +5343,7 @@ FrameBase._resumeNativeUpdates _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5216,7 +5369,7 @@ FrameBase._setDefaultPaddings _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5245,7 +5398,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5276,7 +5429,7 @@ FrameBase._setupUI _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -5305,7 +5458,7 @@ FrameBase._setValue _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -5328,7 +5481,7 @@ FrameBase._shouldDelayLayout protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5355,7 +5508,7 @@ FrameBase._showNativeModalView _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5381,7 +5534,7 @@ FrameBase._suspendNativeUpdates _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5413,7 +5566,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5443,7 +5596,7 @@ FrameBase._updateStyleScope accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5471,7 +5624,7 @@ FrameBase.accessibilityAnnouncement accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5497,7 +5650,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5528,7 +5681,7 @@ FrameBase.addEventListener protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5558,7 +5711,7 @@ FrameBase.addPseudoClass animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5586,7 +5739,7 @@ FrameBase.animate bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5613,7 +5766,7 @@ FrameBase.bind callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5633,7 +5786,7 @@ FrameBase.callLoaded callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5653,7 +5806,7 @@ FrameBase.callUnloaded canGoBack(): boolean; ``` -Defined in: [ui/frame/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L84) +Defined in: [ui/frame/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L94) Checks whether the goBack operation is available. @@ -5675,7 +5828,7 @@ FrameBase.canGoBack closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5703,7 +5856,7 @@ FrameBase.closeModal createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5731,7 +5884,7 @@ FrameBase.createAnimation createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5754,7 +5907,7 @@ FrameBase.createNativeView protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5784,7 +5937,7 @@ FrameBase.deletePseudoClass destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5816,7 +5969,7 @@ FrameBase.destroyNode disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5838,7 +5991,7 @@ FrameBase.disposeNativeView eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5866,7 +6019,7 @@ FrameBase.eachChild eachChildView(callback: (child: View) => boolean): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) Iterates over children of type View. @@ -5894,7 +6047,7 @@ FrameBase.eachChildView ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5918,7 +6071,7 @@ FrameBase.ensureDomNode focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5941,7 +6094,7 @@ FrameBase.focus get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5969,7 +6122,7 @@ FrameBase.get getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5991,7 +6144,7 @@ FrameBase.getActualSize getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -6013,7 +6166,7 @@ FrameBase.getClosestWindow getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6033,7 +6186,7 @@ FrameBase.getEffectivePaddingShorthand getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -6059,7 +6212,7 @@ FrameBase.getGestureObservers getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -6081,7 +6234,7 @@ FrameBase.getLocationInWindow getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -6103,7 +6256,7 @@ FrameBase.getLocationOnScreen getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -6131,7 +6284,7 @@ FrameBase.getLocationRelativeTo getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -6153,7 +6306,7 @@ FrameBase.getMeasuredHeight getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -6173,7 +6326,7 @@ FrameBase.getMeasuredState getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -6189,13 +6342,40 @@ FrameBase.getMeasuredWidth *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +```ts +FrameBase.getNativeWindow +``` + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -6217,7 +6397,7 @@ FrameBase.getSafeAreaInsets getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -6251,7 +6431,7 @@ FrameBase.getViewByDomId getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -6285,7 +6465,7 @@ FrameBase.getViewById goBack(to?: BackstackEntry): any; ``` -Defined in: [ui/frame/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L79) +Defined in: [ui/frame/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L89) Navigates to the previous entry (if any) in the back stack. @@ -6313,7 +6493,7 @@ FrameBase.goBack optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -6335,7 +6515,7 @@ FrameBase.hasGestureObservers hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -6363,7 +6543,7 @@ FrameBase.hasListeners initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6390,7 +6570,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6428,7 +6608,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6459,7 +6639,7 @@ FrameBase.layoutNativeView loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6487,7 +6667,7 @@ FrameBase.loadView measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6519,7 +6699,7 @@ FrameBase.measure navigate(pageModuleName: string): any; ``` -Defined in: [ui/frame/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L94) +Defined in: [ui/frame/index.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L104) Navigates to a Page instance as described by the module name. This method will require the module and will check for a Page property in the exports of the module. @@ -6546,7 +6726,7 @@ FrameBase.navigate navigate(create: () => Page): any; ``` -Defined in: [ui/frame/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L100) +Defined in: [ui/frame/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L110) Creates a new Page instance using the provided callback and navigates to that Page. @@ -6572,7 +6752,7 @@ FrameBase.navigate navigate(entry: NavigationEntry): any; ``` -Defined in: [ui/frame/index.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L109) +Defined in: [ui/frame/index.d.ts:119](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L119) Navigates to a Page resolved by the provided NavigationEntry object. Since there are a couple of ways to specify a Page instance through an entry, there is a resolution priority: @@ -6603,7 +6783,7 @@ FrameBase.navigate notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6642,7 +6822,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6675,7 +6855,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6710,7 +6890,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/frame/index.d.ts:287](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L287) +Defined in: [ui/frame/index.d.ts:297](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L297) Adds a listener for the specified event name. @@ -6741,7 +6921,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/frame/index.d.ts:292](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L292) +Defined in: [ui/frame/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L302) Raised when navigation to the page has started. @@ -6772,7 +6952,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/frame/index.d.ts:297](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L297) +Defined in: [ui/frame/index.d.ts:307](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L307) Raised when navigation to the page has finished. @@ -6802,7 +6982,7 @@ FrameBase.on onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6827,7 +7007,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6862,7 +7042,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6893,7 +7073,7 @@ FrameBase.onLayout onLoaded(): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Returns @@ -6913,7 +7093,7 @@ FrameBase.onLoaded onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6943,7 +7123,7 @@ FrameBase.onMeasure onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6963,7 +7143,7 @@ FrameBase.onResumeNativeUpdates onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6983,7 +7163,7 @@ FrameBase.onUnloaded performGoBack(navigationContext: NavigationContext): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -7012,7 +7192,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -7042,7 +7222,7 @@ FrameBase.removeEventListener replacePage(entry: string | NavigationEntry): void; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -7068,7 +7248,7 @@ FrameBase.replacePage requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -7090,7 +7270,7 @@ FrameBase.requestLayout resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -7112,7 +7292,7 @@ FrameBase.resetNativeView sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -7152,7 +7332,7 @@ FrameBase.sendAccessibilityEvent set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -7181,7 +7361,7 @@ FrameBase.set setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7208,7 +7388,7 @@ FrameBase.setAccessibilityIdentifier setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7234,7 +7414,7 @@ FrameBase.setInlineStyle setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -7263,7 +7443,7 @@ FrameBase.setMeasuredDimension setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -7293,7 +7473,7 @@ FrameBase.setNativeView optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -7315,7 +7495,7 @@ FrameBase.setOnTouchListener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -7344,7 +7524,7 @@ FrameBase.setProperty showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -7372,7 +7552,7 @@ FrameBase.showModal toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -7394,7 +7574,7 @@ FrameBase.toString unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7420,7 +7600,7 @@ FrameBase.unbind unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7448,7 +7628,7 @@ FrameBase.unloadView updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7474,7 +7654,7 @@ FrameBase.updateStatusBarStyle static _isEntryBackstackVisible(entry: BackstackEntry): boolean; ``` -Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-common.ts) +Defined in: [ui/frame/frame-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-common.ts) #### Parameters @@ -7504,7 +7684,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7538,7 +7718,7 @@ FrameBase.addEventListener static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7565,7 +7745,7 @@ FrameBase.combineMeasuredStates static getFrameById(id: string): Frame; ``` -Defined in: [ui/frame/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L52) +Defined in: [ui/frame/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L53) Gets a frame by id. @@ -7590,13 +7770,19 @@ FrameBase.getFrameById ### goBack() ```ts -static goBack(): any; +static goBack(frame?: Frame): any; ``` -Defined in: [ui/frame/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L63) +Defined in: [ui/frame/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L73) Navigates back using the navigation hierarchy (if any). Updates the Frame stack as needed. -This method will start from the topmost Frame and will recursively search for an instance that has the canGoBack operation available. +This method will start from the given Frame and will recursively search its ancestors for an instance that has the canGoBack operation available. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `frame?` | `Frame` | The Frame to navigate back. Defaults to the topmost Frame; pass one to scope the back navigation to that Frame's hierarchy. | #### Returns @@ -7622,7 +7808,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7662,7 +7848,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7713,7 +7899,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7750,7 +7936,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7787,7 +7973,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7823,7 +8009,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7860,7 +8046,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7893,12 +8079,24 @@ FrameBase.resolveSizeAndState ### topmost() ```ts -static topmost(): Frame; +static topmost(window?: WindowBase): Frame; ``` -Defined in: [ui/frame/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L57) +Defined in: [ui/frame/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L66) + +Gets the topmost frame of a window. An application will typically has one frame instance. Multiple frames handle nested (hierarchical) navigation scenarios. + +The frame highest in the navigation stack wins outright while it belongs to no window - +`navigate()` puts a frame in the stack before it is attached to one, and scoping cannot +place such a frame. Otherwise the frame highest in the stack that belongs to the resolved +window is returned, falling back to the frame highest in the stack regardless of window +when that window hosts none. -Gets the topmost frame in the frames stack. An application will typically has one frame instance. Multiple frames handle nested (hierarchical) navigation scenarios. +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `window?` | [`WindowBase`](WindowBase.md) | The window to scope the lookup to. Defaults to `Application.activeWindow`. | #### Returns diff --git a/content/api/classes/GesturesObserver.md b/content/api/classes/GesturesObserver.md index b0a159b7..8073a9df 100644 --- a/content/api/classes/GesturesObserver.md +++ b/content/api/classes/GesturesObserver.md @@ -5,7 +5,7 @@ description: Provides options for the GesturesObserver. contributors: false --- -Defined in: [ui/gestures/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L11) +Defined in: [ui/gestures/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L11) Provides options for the GesturesObserver. @@ -20,7 +20,7 @@ new GesturesObserver( context: any): GesturesObserver; ``` -Defined in: [ui/gestures/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L18) +Defined in: [ui/gestures/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L18) Creates an instance of GesturesObserver class. @@ -44,7 +44,7 @@ Creates an instance of GesturesObserver class. androidOnTouchEvent: (motionEvent: any) => void; ``` -Defined in: [ui/gestures/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L51) +Defined in: [ui/gestures/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L51) An internal Android specific method used to pass the motion event to the correct gesture observer. @@ -66,7 +66,7 @@ An internal Android specific method used to pass the motion event to the correct callback: (args: GestureEventData) => void; ``` -Defined in: [ui/gestures/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L41) +Defined in: [ui/gestures/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L41) A function that will be executed when a gesture is received. @@ -88,7 +88,7 @@ A function that will be executed when a gesture is received. context: any; ``` -Defined in: [ui/gestures/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L46) +Defined in: [ui/gestures/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L46) A context which will be used as `this` in callback execution. @@ -100,7 +100,7 @@ A context which will be used as `this` in callback execution. type: GestureTypes; ``` -Defined in: [ui/gestures/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L36) +Defined in: [ui/gestures/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L36) Singular gesture type (e.g. GestureTypes.tap) attached to the observer. Does not support plural gesture types (e.g. @@ -114,7 +114,7 @@ GestureTypes.tap & GestureTypes.doubleTap). disconnect(): any; ``` -Defined in: [ui/gestures/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L29) +Defined in: [ui/gestures/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L29) Disconnects the gesture observer. @@ -130,7 +130,7 @@ Disconnects the gesture observer. observe(type: GestureTypes): any; ``` -Defined in: [ui/gestures/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L24) +Defined in: [ui/gestures/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L24) Registers a gesture observer to a view and gesture. diff --git a/content/api/classes/GridLayout.md b/content/api/classes/GridLayout.md index 9e90255a..c69a0bfa 100644 --- a/content/api/classes/GridLayout.md +++ b/content/api/classes/GridLayout.md @@ -5,7 +5,7 @@ description: Defines a rectangular layout area that consists of columns and rows contributors: false --- -Defined in: [ui/layouts/grid-layout/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L51) +Defined in: [ui/layouts/grid-layout/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L51) Defines a rectangular layout area that consists of columns and rows. @@ -29,7 +29,7 @@ GridLayout new GridLayout(): GridLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -47,7 +47,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -63,7 +63,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -77,7 +77,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -91,7 +91,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -119,7 +119,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -133,7 +133,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -147,7 +147,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -161,7 +161,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -175,7 +175,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -189,7 +189,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -203,7 +203,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -217,7 +217,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -231,7 +231,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -239,13 +239,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -259,7 +277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -273,7 +291,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -287,7 +305,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -301,7 +319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -315,7 +333,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -335,7 +353,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -353,7 +371,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -371,7 +389,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -391,7 +409,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -407,7 +425,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -425,7 +443,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -444,7 +462,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -462,7 +480,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -480,7 +498,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -498,7 +516,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -516,7 +534,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -534,7 +552,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -552,7 +570,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -570,7 +588,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -586,7 +604,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -604,7 +622,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -622,7 +640,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -636,7 +654,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -652,7 +670,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -670,7 +688,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -688,7 +706,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -706,7 +724,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -724,7 +742,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -742,7 +760,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -760,7 +778,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -778,7 +796,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -796,7 +814,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -814,7 +832,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -832,7 +850,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -854,7 +872,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -872,7 +890,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -890,7 +908,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -908,7 +926,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -926,7 +944,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -944,7 +962,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -962,7 +980,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -984,7 +1002,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1002,7 +1020,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1020,7 +1038,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1038,7 +1056,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1056,7 +1074,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1074,7 +1092,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1092,7 +1110,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1110,7 +1128,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1128,7 +1146,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columns: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) +Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) A string value representing column widths delimited with commas. @@ -1144,7 +1162,7 @@ Valid values: an absolute number, auto, or *: columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1160,7 +1178,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1174,7 +1192,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1188,7 +1206,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1205,7 +1223,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1223,7 +1241,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1241,7 +1259,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1259,7 +1277,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1273,7 +1291,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1287,7 +1305,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1301,7 +1319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1315,7 +1333,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1323,13 +1341,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1343,7 +1375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1357,7 +1389,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1371,7 +1403,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1385,7 +1417,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1399,7 +1431,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1407,13 +1439,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1427,7 +1487,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1435,13 +1495,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1455,7 +1529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1469,7 +1543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1487,7 +1561,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1505,7 +1579,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1523,7 +1597,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1541,7 +1615,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1559,7 +1633,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1577,7 +1651,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1595,7 +1669,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1613,7 +1687,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1631,7 +1705,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1647,7 +1721,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1663,7 +1737,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1681,7 +1755,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1699,7 +1773,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1717,7 +1791,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1735,7 +1809,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1753,7 +1827,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1771,7 +1845,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1789,7 +1863,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1807,7 +1881,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1825,7 +1899,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1841,7 +1915,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1861,7 +1935,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1879,7 +1953,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1902,7 +1976,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1920,7 +1994,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1938,7 +2012,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1956,7 +2030,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1974,7 +2048,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1986,58 +2060,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2047,7 +2140,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2063,7 +2156,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2079,7 +2172,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2095,7 +2188,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2113,7 +2206,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2131,7 +2224,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2149,7 +2242,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2171,7 +2264,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2189,7 +2282,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2207,7 +2300,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2225,7 +2318,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2243,7 +2336,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2261,7 +2354,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2277,7 +2370,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2296,7 +2389,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2310,7 +2403,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2328,7 +2421,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2346,7 +2439,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2364,7 +2457,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2382,7 +2475,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2400,7 +2493,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rows: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) +Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) A string value representing row heights delimited with commas. @@ -2416,7 +2509,7 @@ Valid values: an absolute number, auto, or *: rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2434,7 +2527,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2452,7 +2545,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2470,7 +2563,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2488,7 +2581,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2506,7 +2599,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2533,7 +2626,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2549,7 +2642,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2569,7 +2662,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2585,7 +2678,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2601,7 +2694,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2617,7 +2710,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2635,7 +2728,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2653,7 +2746,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2671,7 +2764,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2687,7 +2780,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2705,7 +2798,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2723,7 +2816,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2741,7 +2834,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2759,7 +2852,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2779,7 +2872,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2799,7 +2892,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2819,7 +2912,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2833,7 +2926,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2847,13 +2940,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2873,7 +2988,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2893,7 +3008,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2913,7 +3028,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2933,7 +3048,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2953,7 +3068,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2973,7 +3088,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2993,7 +3108,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3015,7 +3130,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3027,7 +3142,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3053,7 +3168,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3065,7 +3180,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3091,7 +3206,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3103,7 +3218,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3129,7 +3244,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3141,7 +3256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3167,7 +3282,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3179,7 +3294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3205,7 +3320,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3217,7 +3332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3243,7 +3358,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3255,7 +3370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3281,7 +3396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3293,7 +3408,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3319,7 +3434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3339,7 +3454,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3351,7 +3466,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3377,7 +3492,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3399,7 +3514,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3413,7 +3528,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3439,7 +3554,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3453,7 +3568,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3481,7 +3596,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3493,7 +3608,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3519,7 +3634,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3541,7 +3656,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3561,7 +3676,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3586,7 +3701,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3613,7 +3728,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3647,7 +3762,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3681,7 +3796,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3711,7 +3826,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3743,7 +3858,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3767,7 +3882,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3791,7 +3906,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3819,7 +3934,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3839,7 +3954,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3863,7 +3978,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3887,7 +4002,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3899,13 +4014,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3926,7 +4063,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3955,7 +4092,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3981,7 +4118,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4007,7 +4144,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4032,7 +4169,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4056,7 +4193,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4080,7 +4217,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4101,7 +4238,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4127,7 +4264,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4147,7 +4284,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4167,7 +4304,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4187,7 +4324,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4207,7 +4344,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4231,7 +4368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4249,7 +4386,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4267,7 +4404,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4285,7 +4422,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4311,7 +4448,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4337,7 +4474,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4363,7 +4500,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4389,7 +4526,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4413,7 +4550,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4437,7 +4574,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4464,7 +4601,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4493,7 +4630,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4520,7 +4657,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4541,7 +4678,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4566,7 +4703,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4590,7 +4727,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4617,7 +4754,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4646,7 +4783,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4674,7 +4811,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4700,7 +4837,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4720,7 +4857,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4751,7 +4888,7 @@ addChildAtCell( columnSpan?: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) +Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan attributes @@ -4777,7 +4914,7 @@ Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan att addColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) +Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) Adds a column specification to a GridLayout. @@ -4803,7 +4940,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4832,7 +4969,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4860,7 +4997,7 @@ A widget can call this method to add a matching css pseudo class. addRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) +Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) Adds a row specification to a GridLayout. @@ -4882,7 +5019,7 @@ Adds a row specification to a GridLayout. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4908,7 +5045,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4933,7 +5070,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4951,7 +5088,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4969,7 +5106,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4995,7 +5132,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5021,7 +5158,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5042,7 +5179,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5070,7 +5207,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5100,7 +5237,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5120,7 +5257,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5146,7 +5283,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5172,7 +5309,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5198,7 +5335,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5220,7 +5357,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5241,7 +5378,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5267,7 +5404,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5287,7 +5424,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5313,7 +5450,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5339,7 +5476,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5359,7 +5496,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5379,7 +5516,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getColumns(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) +Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) Gets array of column specifications defined on this instance of GridLayout. @@ -5395,7 +5532,7 @@ Gets array of column specifications defined on this instance of GridLayout. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5413,7 +5550,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5437,7 +5574,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5457,7 +5594,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5477,7 +5614,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5503,7 +5640,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5523,7 +5660,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5541,7 +5678,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5555,13 +5692,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getRows() ```ts getRows(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) +Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) Gets array of row specifications defined on this instance of GridLayout. @@ -5577,7 +5739,7 @@ Gets array of row specifications defined on this instance of GridLayout. getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5597,7 +5759,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5629,7 +5791,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5661,7 +5823,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5681,7 +5843,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5707,7 +5869,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5727,7 +5889,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5759,7 +5921,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5795,7 +5957,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5824,7 +5986,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5850,7 +6012,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5878,7 +6040,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5915,7 +6077,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5946,7 +6108,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5979,7 +6141,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6008,7 +6170,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6037,7 +6199,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6066,7 +6228,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6096,7 +6258,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6125,7 +6287,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6154,7 +6316,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6182,7 +6344,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6205,7 +6367,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6238,7 +6400,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6267,7 +6429,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6285,7 +6447,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6313,7 +6475,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6331,7 +6493,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6349,7 +6511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6375,7 +6537,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6395,7 +6557,7 @@ Removes all views in this layout. removeColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) +Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) Removes a column specification from a GridLayout. @@ -6417,7 +6579,7 @@ Removes a column specification from a GridLayout. removeColumns(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) +Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) Removes all column specifications from a GridLayout. @@ -6436,7 +6598,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6464,7 +6626,7 @@ Removes listener(s) for the specified event name. removeRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) +Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) Removes a row specification from a GridLayout. @@ -6486,7 +6648,7 @@ Removes a row specification from a GridLayout. removeRows(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) +Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) Removes all row specifications from a GridLayout. @@ -6502,7 +6664,7 @@ Removes all row specifications from a GridLayout. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6522,7 +6684,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6542,7 +6704,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6580,7 +6742,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6607,7 +6769,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6632,7 +6794,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6656,7 +6818,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6683,7 +6845,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6711,7 +6873,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6731,7 +6893,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6758,7 +6920,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6784,7 +6946,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6804,7 +6966,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6828,7 +6990,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6854,7 +7016,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6882,7 +7044,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6914,7 +7076,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6939,7 +7101,7 @@ Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/Native static getColumn(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) +Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) Gets the value of the Column attached property from a given View. @@ -6961,7 +7123,7 @@ Gets the value of the Column attached property from a given View. static getColumnSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) +Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) Gets the value of the ColumnSpan attached property from a given View. @@ -6983,7 +7145,7 @@ Gets the value of the ColumnSpan attached property from a given View. static getRow(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) +Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) Gets the value of the Row attached property from a given View. @@ -7005,7 +7167,7 @@ Gets the value of the Row attached property from a given View. static getRowSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) +Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) Gets the value of the RowSpan attached property from a given View. @@ -7033,7 +7195,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7071,7 +7233,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7120,7 +7282,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7155,7 +7317,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7190,7 +7352,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7224,7 +7386,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7259,7 +7421,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7293,7 +7455,7 @@ size is smaller than the size the view wants to be. static setColumn(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) +Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) Sets the value of the Column attached property to a given View. @@ -7316,7 +7478,7 @@ Sets the value of the Column attached property to a given View. static setColumnSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) +Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) Sets the value of the ColumnSpan attached property to a given View. @@ -7339,7 +7501,7 @@ Sets the value of the ColumnSpan attached property to a given View. static setRow(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) +Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) Sets the value of the Row attached property to a given View. @@ -7362,7 +7524,7 @@ Sets the value of the Row attached property to a given View. static setRowSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) +Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) Sets the value of the RowSpan attached property to a given View. diff --git a/content/api/classes/HtmlView.md b/content/api/classes/HtmlView.md index 994f52ca..4929d5b8 100644 --- a/content/api/classes/HtmlView.md +++ b/content/api/classes/HtmlView.md @@ -5,7 +5,7 @@ description: Represents a view with html content. Use this component instead Web contributors: false --- -Defined in: [ui/html-view/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L12) +Defined in: [ui/html-view/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L12) Represents a view with html content. Use this component instead WebView when you want to show just static HTML content. [iOS support](https://developer.apple.com/documentation/foundation/nsattributedstring/1524613-initwithdata) @@ -27,7 +27,7 @@ HtmlView new HtmlView(): HtmlView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -45,7 +45,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -61,7 +61,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -89,7 +89,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -103,7 +103,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -117,7 +117,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -131,7 +131,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -145,7 +145,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -159,7 +159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -173,7 +173,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -187,7 +187,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -201,7 +201,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -215,7 +215,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -229,7 +229,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -237,13 +237,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -257,7 +275,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -271,7 +289,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -285,7 +303,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -299,7 +317,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -313,7 +331,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -333,7 +351,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -351,7 +369,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -369,7 +387,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -389,7 +407,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -405,7 +423,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -423,7 +441,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -442,7 +460,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -460,7 +478,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -478,7 +496,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -496,7 +514,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -514,7 +532,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -532,7 +550,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -550,7 +568,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -568,7 +586,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/html-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L16) +Defined in: [ui/html-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L16) Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -584,7 +602,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -602,7 +620,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -620,7 +638,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -634,7 +652,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -650,7 +668,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -668,7 +686,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -686,7 +704,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -704,7 +722,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -722,7 +740,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -740,7 +758,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -758,7 +776,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -776,7 +794,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -794,7 +812,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -812,7 +830,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -830,7 +848,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -852,7 +870,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -870,7 +888,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -888,7 +906,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -906,7 +924,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -924,7 +942,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -942,7 +960,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -960,7 +978,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -982,7 +1000,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1000,7 +1018,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1018,7 +1036,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1036,7 +1054,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1054,7 +1072,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1072,7 +1090,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1090,7 +1108,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1108,7 +1126,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1124,7 +1142,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1138,7 +1156,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1152,7 +1170,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1169,7 +1187,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1187,7 +1205,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1205,7 +1223,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1223,7 +1241,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1237,7 +1255,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1251,7 +1269,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1265,7 +1283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1279,7 +1297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1287,13 +1305,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1307,7 +1339,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1321,7 +1353,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1335,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1349,7 +1381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1363,7 +1395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1371,13 +1403,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,7 +1451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1399,13 +1459,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1419,7 +1493,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1433,7 +1507,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1451,7 +1525,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1469,7 +1543,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1487,7 +1561,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1505,7 +1579,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1523,7 +1597,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1541,7 +1615,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1559,7 +1633,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1577,7 +1651,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a html: string; ``` -Defined in: [ui/html-view/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L27) +Defined in: [ui/html-view/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L27) Gets or sets html string for the HtmlView. @@ -1591,7 +1665,7 @@ Gets or sets html string for the HtmlView. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1609,7 +1683,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1625,7 +1699,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/html-view/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L21) +Defined in: [ui/html-view/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L21) Gets the native [UITextView](https://developer.apple.com/documentation/uikit/uitextview) that represents the user interface for this component. Valid only when running on iOS. @@ -1641,7 +1715,7 @@ Gets the native [UITextView](https://developer.apple.com/documentation/uikit/uit iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1659,7 +1733,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1677,7 +1751,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1695,7 +1769,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1713,7 +1787,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1731,7 +1805,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1749,7 +1823,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1767,7 +1841,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1785,7 +1859,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1803,7 +1877,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1819,7 +1893,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1837,7 +1911,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1855,7 +1929,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the linkColor: Color; ``` -Defined in: [ui/html-view/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L39) +Defined in: [ui/html-view/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L39) Gets of sets color of links in the rendered HTML. @@ -1874,7 +1948,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1892,7 +1966,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1910,7 +1984,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1928,7 +2002,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1946,7 +2020,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1958,58 +2032,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2019,7 +2112,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2035,7 +2128,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2051,7 +2144,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2067,7 +2160,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2085,7 +2178,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2103,7 +2196,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2121,7 +2214,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2139,7 +2232,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2155,7 +2248,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2174,7 +2267,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2188,7 +2281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2206,7 +2299,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2224,7 +2317,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2242,7 +2335,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2260,7 +2353,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2278,7 +2371,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2296,7 +2389,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2314,7 +2407,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2332,7 +2425,7 @@ Gets or sets the scaleY affine transform of the view. selectable: boolean; ``` -Defined in: [ui/html-view/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/html-view/index.d.ts#L33) +Defined in: [ui/html-view/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/html-view/index.d.ts#L33) Gets or sets a value indicating whether HtmlView is selectable. @@ -2346,7 +2439,7 @@ Gets or sets a value indicating whether HtmlView is selectable. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2364,7 +2457,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2382,7 +2475,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2409,7 +2502,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2425,7 +2518,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2445,7 +2538,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2461,7 +2554,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2477,7 +2570,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2493,7 +2586,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2511,7 +2604,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2529,7 +2622,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2547,7 +2640,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2563,7 +2656,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2581,7 +2674,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2599,7 +2692,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2617,7 +2710,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2635,7 +2728,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2655,7 +2748,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2675,7 +2768,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2695,7 +2788,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2709,7 +2802,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2723,13 +2816,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2749,7 +2864,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2769,7 +2884,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2789,7 +2904,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2809,7 +2924,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2829,7 +2944,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2849,7 +2964,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2869,7 +2984,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2891,7 +3006,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2903,7 +3018,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2929,7 +3044,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2941,7 +3056,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2967,7 +3082,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2979,7 +3094,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3005,7 +3120,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3017,7 +3132,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3043,7 +3158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3055,7 +3170,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3081,7 +3196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3093,7 +3208,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3119,7 +3234,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3131,7 +3246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3157,7 +3272,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3169,7 +3284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3195,7 +3310,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3215,7 +3330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3227,7 +3342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3253,7 +3368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3275,7 +3390,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3289,7 +3404,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3315,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3329,7 +3444,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3357,7 +3472,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3369,7 +3484,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3395,7 +3510,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3417,7 +3532,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3437,7 +3552,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3462,7 +3577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3489,7 +3604,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3523,7 +3638,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3557,7 +3672,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3587,7 +3702,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3619,7 +3734,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3643,7 +3758,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3667,7 +3782,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3695,7 +3810,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3715,7 +3830,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3739,7 +3854,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3763,7 +3878,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3775,13 +3890,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3802,7 +3939,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3831,7 +3968,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3857,7 +3994,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3883,7 +4020,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3908,7 +4045,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3932,7 +4069,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3956,7 +4093,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3977,7 +4114,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4003,7 +4140,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4023,7 +4160,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4043,7 +4180,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4063,7 +4200,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4083,7 +4220,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4107,7 +4244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4125,7 +4262,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4143,7 +4280,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4161,7 +4298,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4187,7 +4324,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4213,7 +4350,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4239,7 +4376,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4263,7 +4400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4287,7 +4424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4314,7 +4451,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4343,7 +4480,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4370,7 +4507,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4391,7 +4528,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4416,7 +4553,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4440,7 +4577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4470,7 +4607,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4498,7 +4635,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4524,7 +4661,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4548,7 +4685,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4577,7 +4714,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4605,7 +4742,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4631,7 +4768,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4656,7 +4793,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4674,7 +4811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4692,7 +4829,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4718,7 +4855,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4744,7 +4881,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4765,7 +4902,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4793,7 +4930,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4823,7 +4960,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4843,7 +4980,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4869,7 +5006,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4895,7 +5032,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4917,7 +5054,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4938,7 +5075,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4964,7 +5101,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4984,7 +5121,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5004,7 +5141,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5022,7 +5159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5046,7 +5183,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5066,7 +5203,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5086,7 +5223,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5112,7 +5249,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5132,7 +5269,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5150,7 +5287,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5164,13 +5301,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5190,7 +5352,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5222,7 +5384,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5254,7 +5416,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5274,7 +5436,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5300,7 +5462,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5325,7 +5487,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5361,7 +5523,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5390,7 +5552,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5416,7 +5578,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5444,7 +5606,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5481,7 +5643,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5512,7 +5674,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5545,7 +5707,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5574,7 +5736,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5603,7 +5765,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5632,7 +5794,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5662,7 +5824,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5691,7 +5853,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5720,7 +5882,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5748,7 +5910,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5771,7 +5933,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5804,7 +5966,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5833,7 +5995,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5851,7 +6013,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5879,7 +6041,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5897,7 +6059,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5918,7 +6080,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5946,7 +6108,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5966,7 +6128,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5986,7 +6148,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6024,7 +6186,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6051,7 +6213,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6076,7 +6238,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6100,7 +6262,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6127,7 +6289,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6155,7 +6317,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6175,7 +6337,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6202,7 +6364,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6228,7 +6390,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6248,7 +6410,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6272,7 +6434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6298,7 +6460,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6326,7 +6488,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6358,7 +6520,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6389,7 +6551,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6427,7 +6589,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6476,7 +6638,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6511,7 +6673,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6546,7 +6708,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6580,7 +6742,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6615,7 +6777,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Image.md b/content/api/classes/Image.md index 0aa4d81a..54fdf2b9 100644 --- a/content/api/classes/Image.md +++ b/content/api/classes/Image.md @@ -5,7 +5,7 @@ description: Represents a class that provides functionality for loading and stre contributors: false --- -Defined in: [ui/image/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L18) +Defined in: [ui/image/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L18) Represents a class that provides functionality for loading and streching image(s). @@ -25,7 +25,7 @@ Image new Image(): Image; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/image/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L28) +Defined in: [ui/image/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L28) Gets the native [android widget](http://developer.android.com/reference/android/widget/ImageView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, decodeHeight: LengthType; ``` -Defined in: [ui/image/index.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L85) +Defined in: [ui/image/index.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L85) Gets or sets the desired decode height of the image. This property is Android specific. @@ -1182,7 +1200,7 @@ This property is Android specific. decodeWidth: LengthType; ``` -Defined in: [ui/image/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L93) +Defined in: [ui/image/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L93) Gets or sets the desired decode width of the image. This property is Android specific. @@ -1197,7 +1215,7 @@ This property is Android specific. defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1215,7 +1233,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1233,7 +1251,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1251,7 +1269,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1265,7 +1283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1279,7 +1297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1293,7 +1311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1307,7 +1325,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1315,13 +1333,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1335,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1349,7 +1381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1363,7 +1395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1377,7 +1409,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,7 +1423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1399,13 +1431,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1419,7 +1479,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1427,13 +1487,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1447,7 +1521,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1461,7 +1535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1479,7 +1553,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1497,7 +1571,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1515,7 +1589,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1533,7 +1607,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1551,7 +1625,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1569,7 +1643,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1587,7 +1661,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1605,7 +1679,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1623,7 +1697,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1639,7 +1713,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native imageSource: ImageSource; ``` -Defined in: [ui/image/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L40) +Defined in: [ui/image/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L40) Gets or sets the image source of the image. @@ -1653,7 +1727,7 @@ Gets or sets the image source of the image. ios: any; ``` -Defined in: [ui/image/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L33) +Defined in: [ui/image/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L33) Gets the native iOS [UIImageView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImageView_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1669,7 +1743,7 @@ Gets the native iOS [UIImageView](https://developer.apple.com/library/ios/docume iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1687,7 +1761,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1705,7 +1779,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1723,7 +1797,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1741,7 +1815,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1759,7 +1833,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1777,7 +1851,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1797,7 +1871,7 @@ iosSymbolEffect: | ImageSymbolEffects; ``` -Defined in: [ui/image/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L100) +Defined in: [ui/image/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L100) Get or set the symbol effect used to animate the SF symbol image Symbol effects: https://developer.apple.com/documentation/symbols?language=objc @@ -1812,7 +1886,7 @@ Symbol effects: https://developer.apple.com/documentation/symbols?language=objc iosSymbolScale: iosSymbolScaleType; ``` -Defined in: [ui/image/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L107) +Defined in: [ui/image/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L107) Get or set the SF Symbol scale to use. @@ -1826,7 +1900,7 @@ Get or set the SF Symbol scale to use. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1844,7 +1918,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1862,7 +1936,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1878,7 +1952,7 @@ Gets if layout is valid. This is a read-only property. readonly isLoading: boolean; ``` -Defined in: [ui/image/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L52) +Defined in: [ui/image/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L52) Gets a value indicating if the image is currently loading. @@ -1890,7 +1964,7 @@ Gets a value indicating if the image is currently loading. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1908,7 +1982,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1926,7 +2000,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the loadMode: "sync" | "async"; ``` -Defined in: [ui/image/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L69) +Defined in: [ui/image/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L69) Gets or sets the loading strategy for images on the local file system: - **sync** - blocks the UI if necessary to display immediately, good for small icons. @@ -1948,7 +2022,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1966,7 +2040,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1984,7 +2058,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2002,7 +2076,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2020,7 +2094,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2032,58 +2106,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2093,7 +2186,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2109,7 +2202,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2125,7 +2218,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2141,7 +2234,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2159,7 +2252,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2177,7 +2270,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2195,7 +2288,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2213,7 +2306,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2229,7 +2322,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2248,7 +2341,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2262,7 +2355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2280,7 +2373,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2298,7 +2391,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2316,7 +2409,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2334,7 +2427,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2352,7 +2445,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2370,7 +2463,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2388,7 +2481,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2406,7 +2499,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2424,7 +2517,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2442,7 +2535,7 @@ Gets or sets the shared transition tag for animated view transitions src: string | ImageSource | ImageAsset; ``` -Defined in: [ui/image/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L47) +Defined in: [ui/image/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L47) Gets or sets the source of the Image. This can be either an URL string or a native image instance. @@ -2456,7 +2549,7 @@ Gets or sets the source of the Image. This can be either an URL string or a nati statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2483,7 +2576,7 @@ False value will make this property have no effect. stretch: ImageStretchType; ``` -Defined in: [ui/image/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L59) +Defined in: [ui/image/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L59) Gets or sets the image stretch mode. @@ -2497,7 +2590,7 @@ Gets or sets the image stretch mode. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2513,7 +2606,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native tintColor: Color; ``` -Defined in: [ui/image/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L76) +Defined in: [ui/image/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L76) A color used to tint template images. @@ -2527,7 +2620,7 @@ A color used to tint template images. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2547,7 +2640,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2563,7 +2656,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2579,7 +2672,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2595,7 +2688,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2613,7 +2706,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2631,7 +2724,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2649,7 +2742,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2665,7 +2758,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2683,7 +2776,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2701,7 +2794,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2719,7 +2812,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2737,7 +2830,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2757,7 +2850,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2777,7 +2870,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2797,7 +2890,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2811,7 +2904,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2825,13 +2918,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2851,7 +2966,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2871,7 +2986,7 @@ disposeNativeView static isLoadingChangeEvent: string; ``` -Defined in: [ui/image/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/index.d.ts#L24) +Defined in: [ui/image/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/index.d.ts#L24) String value used when hooking to the isLoadingChange event. @@ -2887,7 +3002,7 @@ isLoading static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2907,7 +3022,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2927,7 +3042,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2947,7 +3062,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2967,7 +3082,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2987,7 +3102,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3009,7 +3124,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3021,7 +3136,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3047,7 +3162,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3059,7 +3174,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3085,7 +3200,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3097,7 +3212,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3123,7 +3238,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3135,7 +3250,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3161,7 +3276,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3173,7 +3288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3199,7 +3314,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3211,7 +3326,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3237,7 +3352,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3249,7 +3364,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3275,7 +3390,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3287,7 +3402,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3313,7 +3428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3333,7 +3448,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3345,7 +3460,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3371,7 +3486,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3393,7 +3508,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3407,7 +3522,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3433,7 +3548,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3447,7 +3562,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3475,7 +3590,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3487,7 +3602,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3513,7 +3628,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3535,7 +3650,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3555,7 +3670,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3580,7 +3695,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3607,7 +3722,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3641,7 +3756,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3675,7 +3790,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3705,7 +3820,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3737,7 +3852,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3761,7 +3876,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3785,7 +3900,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3813,7 +3928,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3833,7 +3948,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3857,7 +3972,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3881,7 +3996,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3893,13 +4008,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3920,7 +4057,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3949,7 +4086,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3975,7 +4112,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4001,7 +4138,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4026,7 +4163,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4050,7 +4187,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4074,7 +4211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4095,7 +4232,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4121,7 +4258,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4141,7 +4278,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4161,7 +4298,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4181,7 +4318,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4201,7 +4338,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4225,7 +4362,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4243,7 +4380,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4261,7 +4398,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4279,7 +4416,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4305,7 +4442,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4331,7 +4468,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4357,7 +4494,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4381,7 +4518,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4405,7 +4542,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4432,7 +4569,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4461,7 +4598,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4488,7 +4625,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4509,7 +4646,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4534,7 +4671,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4558,7 +4695,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4588,7 +4725,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4616,7 +4753,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4642,7 +4779,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4666,7 +4803,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4695,7 +4832,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4723,7 +4860,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4749,7 +4886,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4774,7 +4911,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4792,7 +4929,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4810,7 +4947,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4836,7 +4973,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4862,7 +4999,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4883,7 +5020,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4911,7 +5048,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4941,7 +5078,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4961,7 +5098,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4987,7 +5124,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5013,7 +5150,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5035,7 +5172,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5056,7 +5193,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5082,7 +5219,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5102,7 +5239,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5122,7 +5259,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5140,7 +5277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5164,7 +5301,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5184,7 +5321,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5204,7 +5341,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5230,7 +5367,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5250,7 +5387,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5268,7 +5405,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5282,13 +5419,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5308,7 +5470,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5340,7 +5502,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5372,7 +5534,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5392,7 +5554,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5418,7 +5580,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5443,7 +5605,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5479,7 +5641,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5508,7 +5670,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5534,7 +5696,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5562,7 +5724,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5599,7 +5761,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5630,7 +5792,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5663,7 +5825,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5692,7 +5854,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5721,7 +5883,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5750,7 +5912,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5780,7 +5942,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5809,7 +5971,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5838,7 +6000,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5866,7 +6028,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5889,7 +6051,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5922,7 +6084,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5951,7 +6113,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5969,7 +6131,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5997,7 +6159,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6015,7 +6177,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6036,7 +6198,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6064,7 +6226,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6084,7 +6246,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6104,7 +6266,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6142,7 +6304,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6169,7 +6331,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6194,7 +6356,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6218,7 +6380,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6245,7 +6407,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6273,7 +6435,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6293,7 +6455,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6320,7 +6482,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6346,7 +6508,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6366,7 +6528,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6390,7 +6552,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6416,7 +6578,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6444,7 +6606,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6476,7 +6638,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6507,7 +6669,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6545,7 +6707,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6594,7 +6756,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6629,7 +6791,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6664,7 +6826,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6698,7 +6860,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6733,7 +6895,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ImageAsset.md b/content/api/classes/ImageAsset.md index df44332d..5d179b1a 100644 --- a/content/api/classes/ImageAsset.md +++ b/content/api/classes/ImageAsset.md @@ -5,7 +5,7 @@ description: Observable is used when you want to be notified when a change occur contributors: false --- -Defined in: [image-asset/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L3) +Defined in: [image-asset/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L3) Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0, @@ -23,7 +23,7 @@ and you have to migrate to the "data/observable" `fromObject({})` or the `fromOb new ImageAsset(asset: any): ImageAsset; ``` -Defined in: [image-asset/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L4) +Defined in: [image-asset/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L4) #### Parameters @@ -47,7 +47,7 @@ Defined in: [image-asset/index.d.ts:4](https://github.com/NativeScript/NativeScr android: any; ``` -Defined in: [image-asset/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L8) +Defined in: [image-asset/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L8) *** @@ -57,7 +57,7 @@ Defined in: [image-asset/index.d.ts:8](https://github.com/NativeScript/NativeScr ios: any; ``` -Defined in: [image-asset/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L6) +Defined in: [image-asset/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L6) *** @@ -67,7 +67,7 @@ Defined in: [image-asset/index.d.ts:6](https://github.com/NativeScript/NativeScr nativeImage: any; ``` -Defined in: [image-asset/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L7) +Defined in: [image-asset/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L7) *** @@ -77,7 +77,7 @@ Defined in: [image-asset/index.d.ts:7](https://github.com/NativeScript/NativeScr options: ImageAssetOptions; ``` -Defined in: [image-asset/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L9) +Defined in: [image-asset/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L9) *** @@ -87,7 +87,7 @@ Defined in: [image-asset/index.d.ts:9](https://github.com/NativeScript/NativeScr static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -110,7 +110,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -138,7 +138,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -166,7 +166,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -195,7 +195,7 @@ Adds a listener for the specified event name. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -221,7 +221,7 @@ Gets the value of the specified property. getImageAsync(callback: (image: any, error: any) => void): any; ``` -Defined in: [image-asset/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L5) +Defined in: [image-asset/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L5) #### Parameters @@ -241,7 +241,7 @@ Defined in: [image-asset/index.d.ts:5](https://github.com/NativeScript/NativeScr hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -267,7 +267,7 @@ Checks whether a listener is registered for the specified event name. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -304,7 +304,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -335,7 +335,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -366,7 +366,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -397,7 +397,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -429,7 +429,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -457,7 +457,7 @@ Removes listener(s) for the specified event name. set(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value. @@ -484,7 +484,7 @@ Updates the specified property with the provided value. setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -515,7 +515,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -550,7 +550,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -585,7 +585,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -620,7 +620,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -654,7 +654,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/ImageCache.md b/content/api/classes/ImageCache.md index ae41e303..a049a287 100644 --- a/content/api/classes/ImageCache.md +++ b/content/api/classes/ImageCache.md @@ -5,7 +5,7 @@ description: Represents a class that stores handles image download requests and contributors: false --- -Defined in: [ui/image-cache/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L29) +Defined in: [ui/image-cache/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L29) Represents a class that stores handles image download requests and caches the already downloaded images. @@ -37,7 +37,7 @@ new ImageCache(): Cache; maxRequests: number; ``` -Defined in: [ui/image-cache/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L45) +Defined in: [ui/image-cache/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L45) The maximum number of simultaneous download requests. Defaults to 5. @@ -49,7 +49,7 @@ The maximum number of simultaneous download requests. Defaults to 5. placeholder: ImageSource; ``` -Defined in: [ui/image-cache/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L41) +Defined in: [ui/image-cache/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L41) The image to be used to notify for a pending download request - e.g. loading indicator. @@ -61,7 +61,7 @@ The image to be used to notify for a pending download request - e.g. loading ind static downloadedEvent: string; ``` -Defined in: [ui/image-cache/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L33) +Defined in: [ui/image-cache/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L33) String value used when hooking to downloaded event. @@ -73,7 +73,7 @@ String value used when hooking to downloaded event. static downloadErrorEvent: string; ``` -Defined in: [ui/image-cache/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L37) +Defined in: [ui/image-cache/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L37) String value used when hooking to download error event. @@ -85,7 +85,7 @@ String value used when hooking to download error event. static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -108,7 +108,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -136,7 +136,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -164,7 +164,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -193,7 +193,7 @@ Adds a listener for the specified event name. clear(): void; ``` -Defined in: [ui/image-cache/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L80) +Defined in: [ui/image-cache/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L80) Removes all the previously cached images. @@ -209,7 +209,7 @@ Removes all the previously cached images. disableDownload(): void; ``` -Defined in: [ui/image-cache/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L54) +Defined in: [ui/image-cache/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L54) Temporary disables download requests. @@ -225,7 +225,7 @@ Temporary disables download requests. enableDownload(): void; ``` -Defined in: [ui/image-cache/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L50) +Defined in: [ui/image-cache/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L50) Enables previously suspended download requests. @@ -241,7 +241,7 @@ Enables previously suspended download requests. enqueue(request: DownloadRequest): any; ``` -Defined in: [ui/image-cache/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L63) +Defined in: [ui/image-cache/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L63) Adds a new download request at the end of the download queue. This will be the last download to start. @@ -263,7 +263,7 @@ Adds a new download request at the end of the download queue. This will be the l get(key: string): any; ``` -Defined in: [ui/image-cache/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L68) +Defined in: [ui/image-cache/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L68) Gets the image for the specified key. May be undefined if the key is not present in the cache. @@ -289,7 +289,7 @@ Gets the image for the specified key. May be undefined if the key is not present hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -315,7 +315,7 @@ Checks whether a listener is registered for the specified event name. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -352,7 +352,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -383,7 +383,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -416,7 +416,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/image-cache/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L92) +Defined in: [ui/image-cache/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L92) Adds a listener for the specified event name. @@ -445,7 +445,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/image-cache/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L97) +Defined in: [ui/image-cache/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L97) Raised when the image has been downloaded. @@ -476,7 +476,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/image-cache/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L102) +Defined in: [ui/image-cache/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L102) Raised if the image download errors. @@ -509,7 +509,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -538,7 +538,7 @@ remove itself. push(request: DownloadRequest): any; ``` -Defined in: [ui/image-cache/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L59) +Defined in: [ui/image-cache/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L59) Adds a new download request at the top of the download queue. This will be the next immediate download to start. @@ -560,7 +560,7 @@ Adds a new download request at the top of the download queue. This will be the n remove(key: string): void; ``` -Defined in: [ui/image-cache/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L76) +Defined in: [ui/image-cache/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L76) Removes the cache for the specified key. @@ -585,7 +585,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -613,7 +613,7 @@ Removes listener(s) for the specified event name. set(key: string, image: any): void; ``` -Defined in: [ui/image-cache/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L72) +Defined in: [ui/image-cache/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L72) Sets the image for the specified key. @@ -640,7 +640,7 @@ Sets the image for the specified key. setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -671,7 +671,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -706,7 +706,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -741,7 +741,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -776,7 +776,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -810,7 +810,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/ImageSource.md b/content/api/classes/ImageSource.md index 9b237e1b..a8773354 100644 --- a/content/api/classes/ImageSource.md +++ b/content/api/classes/ImageSource.md @@ -5,7 +5,7 @@ description: Encapsulates the common abstraction behind a platform specific obje contributors: false --- -Defined in: [image-source/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L8) +Defined in: [image-source/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L8) Encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images. @@ -17,7 +17,7 @@ Encapsulates the common abstraction behind a platform specific object (typically new ImageSource(nativeSource?: any): ImageSource; ``` -Defined in: [image-source/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L131) +Defined in: [image-source/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L131) Creates a new ImageSource instance and sets the provided native source object (typically a Bitmap). The native source object will update either the android or ios properties, depending on the target os. @@ -40,7 +40,7 @@ The native source object will update either the android or ios properties, depen android: any; ``` -Defined in: [image-source/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L32) +Defined in: [image-source/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L32) The Android-specific [image](http://developer.android.com/reference/android/graphics/Bitmap.html) instance. Will be undefined when running on iOS. @@ -52,7 +52,7 @@ The Android-specific [image](http://developer.android.com/reference/android/grap height: number; ``` -Defined in: [image-source/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L12) +Defined in: [image-source/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L12) Gets the height of this instance. This is a read-only property. @@ -64,7 +64,7 @@ Gets the height of this instance. This is a read-only property. ios: any; ``` -Defined in: [image-source/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L27) +Defined in: [image-source/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L27) The iOS-specific [UIImage](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/) instance. Will be undefined when running on Android. @@ -76,7 +76,7 @@ The iOS-specific [UIImage](https://developer.apple.com/library/ios/documentation rotationAngle: number; ``` -Defined in: [image-source/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L22) +Defined in: [image-source/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L22) Gets or sets the rotation angle that should be applied to the image. (Used in android) @@ -88,7 +88,7 @@ Gets or sets the rotation angle that should be applied to the image. (Used in an width: number; ``` -Defined in: [image-source/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L17) +Defined in: [image-source/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L17) Gets the width of this instance. This is a read-only property. @@ -100,7 +100,7 @@ Gets the width of this instance. This is a read-only property. fromAsset(asset: ImageAsset): Promise; ``` -Defined in: [image-source/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L138) +Defined in: [image-source/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L138) #### Parameters @@ -125,7 +125,7 @@ Loads this instance from the specified asset asynchronously. fromBase64(source: string): Promise; ``` -Defined in: [image-source/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L194) +Defined in: [image-source/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L194) #### Parameters @@ -150,7 +150,7 @@ Loads this instance from the specified base64 encoded string asynchronously. fromData(data: any): Promise; ``` -Defined in: [image-source/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L180) +Defined in: [image-source/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L180) #### Parameters @@ -175,7 +175,7 @@ Loads this instance from the specified native image data asynchronously. fromFile(path: string): Promise; ``` -Defined in: [image-source/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L166) +Defined in: [image-source/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L166) #### Parameters @@ -200,7 +200,7 @@ Loads this instance from the specified file asynchronously. fromResource(name: string): Promise; ``` -Defined in: [image-source/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L152) +Defined in: [image-source/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L152) #### Parameters @@ -225,7 +225,7 @@ Loads this instance from the specified resource name asynchronously. getNativeSource(): any; ``` -Defined in: [image-source/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L208) +Defined in: [image-source/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L208) Gets the native source object (typically a Bitmap or a UIImage). @@ -241,7 +241,7 @@ Gets the native source object (typically a Bitmap or a UIImage). loadFromBase64(source: string): boolean; ``` -Defined in: [image-source/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L187) +Defined in: [image-source/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L187) #### Parameters @@ -266,7 +266,7 @@ Loads this instance from the specified base64 encoded string. loadFromData(data: any): boolean; ``` -Defined in: [image-source/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L173) +Defined in: [image-source/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L173) #### Parameters @@ -291,7 +291,7 @@ Loads this instance from the specified native image data. loadFromFile(path: string): boolean; ``` -Defined in: [image-source/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L159) +Defined in: [image-source/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L159) #### Parameters @@ -319,7 +319,7 @@ loadFromFontIconCode( color: Color): boolean; ``` -Defined in: [image-source/index.d.ts:203](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L203) +Defined in: [image-source/index.d.ts:203](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L203) #### Parameters @@ -346,7 +346,7 @@ Loads this instance from the specified font icon code. loadFromResource(name: string): boolean; ``` -Defined in: [image-source/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L145) +Defined in: [image-source/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L145) #### Parameters @@ -371,7 +371,7 @@ Loads this instance from the specified resource name. resize(maxSize: number, options?: any): ImageSource; ``` -Defined in: [image-source/index.d.ts:258](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L258) +Defined in: [image-source/index.d.ts:258](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L258) Returns a new ImageSource that is a resized version of this image with the same aspect ratio, but the max dimension set to the provided maxSize. @@ -394,7 +394,7 @@ Returns a new ImageSource that is a resized version of this image with the same resizeAsync(maxSize: number, options?: any): Promise; ``` -Defined in: [image-source/index.d.ts:271](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L271) +Defined in: [image-source/index.d.ts:271](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L271) Returns a new ImageSource that is a resized version of this image with the same aspect ratio, but the max dimension set to the provided maxSize asynchronously. @@ -420,7 +420,7 @@ saveToFile( quality?: number): boolean; ``` -Defined in: [image-source/index.d.ts:223](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L223) +Defined in: [image-source/index.d.ts:223](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L223) Saves this instance to the specified file, using the provided image format and quality. @@ -447,7 +447,7 @@ saveToFileAsync( quality?: number): Promise; ``` -Defined in: [image-source/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L231) +Defined in: [image-source/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L231) Saves this instance to the specified file, using the provided image format and quality asynchronously. @@ -471,7 +471,7 @@ Saves this instance to the specified file, using the provided image format and q setNativeSource(nativeSource: any): void; ``` -Defined in: [image-source/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L215) +Defined in: [image-source/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L215) Sets the provided native source object (typically a Bitmap or a UIImage). This will update either the android or ios properties, depending on the target os. @@ -494,7 +494,7 @@ This will update either the android or ios properties, depending on the target o toBase64String(format: "png" | "jpeg" | "jpg", quality?: number): string; ``` -Defined in: [image-source/index.d.ts:238](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L238) +Defined in: [image-source/index.d.ts:238](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L238) Converts the image to base64 encoded string, using the provided image format and quality. @@ -517,7 +517,7 @@ Converts the image to base64 encoded string, using the provided image format and toBase64StringAsync(format: "png" | "jpeg" | "jpg", quality?: number): Promise; ``` -Defined in: [image-source/index.d.ts:245](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L245) +Defined in: [image-source/index.d.ts:245](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L245) Converts the image to base64 encoded string, using the provided image format and quality asynchronously. @@ -540,7 +540,7 @@ Converts the image to base64 encoded string, using the provided image format and static fromAsset(asset: ImageAsset): Promise; ``` -Defined in: [image-source/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L38) +Defined in: [image-source/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L38) Loads this instance from the specified asset asynchronously. @@ -562,7 +562,7 @@ Loads this instance from the specified asset asynchronously. static fromBase64(source: string): Promise; ``` -Defined in: [image-source/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L116) +Defined in: [image-source/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L116) Loads this instance from the specified base64 encoded string asynchronously. @@ -584,7 +584,7 @@ Loads this instance from the specified base64 encoded string asynchronously. static fromBase64Sync(source: string): ImageSource; ``` -Defined in: [image-source/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L110) +Defined in: [image-source/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L110) Loads this instance from the specified base64 encoded string. @@ -606,7 +606,7 @@ Loads this instance from the specified base64 encoded string. static fromData(data: any): Promise; ``` -Defined in: [image-source/index.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L104) +Defined in: [image-source/index.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L104) Loads this instance from the specified native image data asynchronously. @@ -628,7 +628,7 @@ Loads this instance from the specified native image data asynchronously. static fromDataSync(data: any): ImageSource; ``` -Defined in: [image-source/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L98) +Defined in: [image-source/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L98) Loads this instance from the specified native image data. @@ -650,7 +650,7 @@ Loads this instance from the specified native image data. static fromFile(path: string): Promise; ``` -Defined in: [image-source/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L86) +Defined in: [image-source/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L86) Loads this instance from the specified file asynchronously. @@ -672,7 +672,7 @@ Loads this instance from the specified file asynchronously. static fromFileOrResourceSync(path: string): ImageSource; ``` -Defined in: [image-source/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L92) +Defined in: [image-source/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L92) Creates a new ImageSource instance and loads it from the specified local file or resource (if specified with the "res://" prefix). @@ -694,7 +694,7 @@ Creates a new ImageSource instance and loads it from the specified local file or static fromFileSync(path: string): ImageSource; ``` -Defined in: [image-source/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L80) +Defined in: [image-source/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L80) Loads this instance from the specified file. @@ -719,7 +719,7 @@ static fromFontIconCodeSync( color: Color): ImageSource; ``` -Defined in: [image-source/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L124) +Defined in: [image-source/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L124) Creates a new ImageSource instance and loads it from the specified font icon code. @@ -743,7 +743,7 @@ Creates a new ImageSource instance and loads it from the specified font icon cod static fromResource(name: string): Promise; ``` -Defined in: [image-source/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L56) +Defined in: [image-source/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L56) Loads this instance from the specified resource name asynchronously. @@ -765,7 +765,7 @@ Loads this instance from the specified resource name asynchronously. static fromResourceSync(name: string): ImageSource; ``` -Defined in: [image-source/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L50) +Defined in: [image-source/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L50) Loads this instance from the specified resource name. @@ -787,7 +787,7 @@ Loads this instance from the specified resource name. static fromSystemImage(name: string, instance?: ImageBase): Promise; ``` -Defined in: [image-source/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L74) +Defined in: [image-source/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L74) Loads this instance from the specified system image name asynchronously. @@ -810,7 +810,7 @@ Loads this instance from the specified system image name asynchronously. static fromSystemImageSync(name: string, instance?: ImageBase): ImageSource; ``` -Defined in: [image-source/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L68) +Defined in: [image-source/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L68) Loads this instance from the specified system image name. @@ -833,7 +833,7 @@ Loads this instance from the specified system image name. static fromUrl(url: string): Promise; ``` -Defined in: [image-source/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L44) +Defined in: [image-source/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L44) Downloads the image from the provided Url and creates a new ImageSource instance from it. @@ -855,7 +855,7 @@ Downloads the image from the provided Url and creates a new ImageSource instance static iosSymbolScaleFor(scale: iosSymbolScaleType): number; ``` -Defined in: [image-source/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L62) +Defined in: [image-source/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L62) (iOS only) Get system symbol scale diff --git a/content/api/classes/ImageSymbolEffect.md b/content/api/classes/ImageSymbolEffect.md index 20b1f2c4..26ed0cf3 100644 --- a/content/api/classes/ImageSymbolEffect.md +++ b/content/api/classes/ImageSymbolEffect.md @@ -5,7 +5,7 @@ description: "iOS only Symbol effects: https://developer.apple.com/documentation contributors: false --- -Defined in: [ui/image/symbol-effects.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L7) +Defined in: [ui/image/symbol-effects.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L7) iOS only Symbol effects: https://developer.apple.com/documentation/symbols?language=objc @@ -18,7 +18,7 @@ Symbol effects: https://developer.apple.com/documentation/symbols?language=objc new ImageSymbolEffect(symbol: NSSymbolEffect): ImageSymbolEffect; ``` -Defined in: [ui/image/symbol-effects.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L11) +Defined in: [ui/image/symbol-effects.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L11) #### Parameters @@ -38,7 +38,7 @@ Defined in: [ui/image/symbol-effects.d.ts:11](https://github.com/NativeScript/Na optional completion?: (context: UISymbolEffectCompletionContext) => void; ``` -Defined in: [ui/image/symbol-effects.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L10) +Defined in: [ui/image/symbol-effects.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L10) #### Parameters @@ -58,7 +58,7 @@ Defined in: [ui/image/symbol-effects.d.ts:10](https://github.com/NativeScript/Na optional effect?: NSSymbolEffect; ``` -Defined in: [ui/image/symbol-effects.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L8) +Defined in: [ui/image/symbol-effects.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [ui/image/symbol-effects.d.ts:8](https://github.com/NativeScript/Nat optional options?: NSSymbolEffectOptions; ``` -Defined in: [ui/image/symbol-effects.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L9) +Defined in: [ui/image/symbol-effects.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L9) ## Methods @@ -78,7 +78,7 @@ Defined in: [ui/image/symbol-effects.d.ts:9](https://github.com/NativeScript/Nat static fromSymbol(symbol: string): ImageSymbolEffect; ``` -Defined in: [ui/image/symbol-effects.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects.d.ts#L12) +Defined in: [ui/image/symbol-effects.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects.d.ts#L12) #### Parameters diff --git a/content/api/classes/InheritedCssProperty.md b/content/api/classes/InheritedCssProperty.md index 50f53b37..d23ee7c3 100644 --- a/content/api/classes/InheritedCssProperty.md +++ b/content/api/classes/InheritedCssProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Extends @@ -29,7 +29,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new InheritedCssProperty(options: CssPropertyOptions): InheritedCssProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -55,7 +55,7 @@ CssProperty.constructor readonly cssLocalName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -77,7 +77,7 @@ CssProperty.cssLocalName readonly cssName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -99,7 +99,7 @@ CssProperty.cssName protected readonly cssValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -121,7 +121,7 @@ CssProperty.cssValueDescriptor readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -143,7 +143,7 @@ CssProperty.defaultValue readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -165,7 +165,7 @@ CssProperty.defaultValueKey readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -187,7 +187,7 @@ CssProperty.getDefault isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -209,7 +209,7 @@ CssProperty.isStyleProperty readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -231,7 +231,7 @@ CssProperty.key protected readonly localValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -253,7 +253,7 @@ CssProperty.localValueDescriptor readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -275,7 +275,7 @@ CssProperty.name overrideHandlers: (options: CssPropertyOptions) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -307,7 +307,7 @@ CssProperty.overrideHandlers setInheritedValue: (value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -333,7 +333,7 @@ InheritedCssProperty.setInheritedValue readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -355,7 +355,7 @@ CssProperty.setNative readonly sourceKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -377,7 +377,7 @@ CssProperty.sourceKey isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -411,7 +411,7 @@ register(cls: { }): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/InheritedProperty.md b/content/api/classes/InheritedProperty.md index 2d109efb..8a9495f8 100644 --- a/content/api/classes/InheritedProperty.md +++ b/content/api/classes/InheritedProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Extends @@ -29,7 +29,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new InheritedProperty(options: PropertyOptions): InheritedProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -55,7 +55,7 @@ Property.constructor configurable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -77,7 +77,7 @@ Property.configurable readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -99,7 +99,7 @@ Property.defaultValue readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -121,7 +121,7 @@ Property.defaultValueKey enumerable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -143,7 +143,7 @@ Property.enumerable get: () => U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Returns @@ -169,7 +169,7 @@ Property.get readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -191,7 +191,7 @@ Property.getDefault isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -213,7 +213,7 @@ Property.isStyleProperty readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -235,7 +235,7 @@ Property.key readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -257,7 +257,7 @@ Property.name readonly nativeValueChange: (owner: T, value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -290,7 +290,7 @@ Property.nativeValueChange overrideHandlers: (options: PropertyOptions) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -322,7 +322,7 @@ Property.overrideHandlers set: (value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -354,7 +354,7 @@ Property.set readonly setInheritedValue: (value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -380,7 +380,7 @@ InheritedProperty.setInheritedValue readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -402,7 +402,7 @@ Property.setNative readonly sourceKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -418,7 +418,7 @@ InheritedProperty.sourceKey isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -452,7 +452,7 @@ register(cls: { }): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/ItemSpec.md b/content/api/classes/ItemSpec.md index f3ddd383..2b4cb644 100644 --- a/content/api/classes/ItemSpec.md +++ b/content/api/classes/ItemSpec.md @@ -5,7 +5,7 @@ description: Defines row/column specific properties that apply to GridLayout ele contributors: false --- -Defined in: [ui/layouts/grid-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L8) +Defined in: [ui/layouts/grid-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L8) Defines row/column specific properties that apply to GridLayout elements. @@ -17,7 +17,7 @@ Defines row/column specific properties that apply to GridLayout elements. new ItemSpec(): ItemSpec; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L9) +Defined in: [ui/layouts/grid-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L9) #### Returns @@ -29,7 +29,7 @@ Defined in: [ui/layouts/grid-layout/index.d.ts:9](https://github.com/NativeScrip new ItemSpec(value: number, type: GridUnitType): ItemSpec; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L10) +Defined in: [ui/layouts/grid-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L10) #### Parameters @@ -50,7 +50,7 @@ Defined in: [ui/layouts/grid-layout/index.d.ts:10](https://github.com/NativeScri actualLength: number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L15) +Defined in: [ui/layouts/grid-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L15) Gets the actual length of an ItemSpec. @@ -62,7 +62,7 @@ Gets the actual length of an ItemSpec. gridUnitType: GridUnitType; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L20) +Defined in: [ui/layouts/grid-layout/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L20) Returns unit type of this ItemSpec instance. @@ -74,7 +74,7 @@ Returns unit type of this ItemSpec instance. isAbsolute: boolean; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L26) +Defined in: [ui/layouts/grid-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L26) Returns true if this ItemSpec instance holds an absolute (pixel) value. @@ -87,7 +87,7 @@ an absolute (pixel) value. isAuto: boolean; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L32) +Defined in: [ui/layouts/grid-layout/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L32) Returns true if this GridLength instance is automatic (not specified). @@ -100,7 +100,7 @@ automatic (not specified). isStar: boolean; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L38) +Defined in: [ui/layouts/grid-layout/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L38) Returns true if this ItemSpec instance holds weighted proportion of available space. @@ -113,6 +113,6 @@ of available space. value: number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L43) +Defined in: [ui/layouts/grid-layout/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L43) Returns value part of this ItemSpec instance. diff --git a/content/api/classes/KeyframeAnimation.md b/content/api/classes/KeyframeAnimation.md index 2473a0c9..0c12ec88 100644 --- a/content/api/classes/KeyframeAnimation.md +++ b/content/api/classes/KeyframeAnimation.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ## Constructors @@ -26,7 +26,7 @@ new KeyframeAnimation(): KeyframeAnimation; animations: Keyframe[]; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript delay: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -46,7 +46,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript iterations: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ## Accessors @@ -58,7 +58,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript get isPlaying(): boolean; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ##### Returns @@ -72,7 +72,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript _resetAnimations(): void; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) #### Returns @@ -86,7 +86,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript _resolveAnimationFinishedPromise(): void; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) #### Returns @@ -100,7 +100,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript cancel(): void; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) #### Returns @@ -114,7 +114,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript play(view: View): Promise; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) #### Parameters @@ -134,7 +134,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript static keyframeAnimationFromInfo(info: KeyframeAnimationInfo): KeyframeAnimation; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) #### Parameters diff --git a/content/api/classes/KeyframeAnimationInfo.md b/content/api/classes/KeyframeAnimationInfo.md index c0b949b1..c7688006 100644 --- a/content/api/classes/KeyframeAnimationInfo.md +++ b/content/api/classes/KeyframeAnimationInfo.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ## Constructors @@ -26,7 +26,7 @@ new KeyframeAnimationInfo(): KeyframeAnimationInfo; optional curve?: any; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional delay?: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -46,7 +46,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional duration?: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -56,7 +56,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional isForwards?: boolean; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -66,7 +66,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional isReverse?: boolean; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -76,7 +76,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional iterations?: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -86,7 +86,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript keyframes: KeyframeInfo[]; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -96,4 +96,4 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript optional name?: string; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) diff --git a/content/api/classes/KeyframeDeclaration.md b/content/api/classes/KeyframeDeclaration.md index aeb6be27..2abdcdbd 100644 --- a/content/api/classes/KeyframeDeclaration.md +++ b/content/api/classes/KeyframeDeclaration.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ## Constructors @@ -26,7 +26,7 @@ new KeyframeDeclaration(): KeyframeDeclaration; property: string; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -36,4 +36,4 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript value: any; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) diff --git a/content/api/classes/KeyframeInfo.md b/content/api/classes/KeyframeInfo.md index 2d189b45..8ba6a438 100644 --- a/content/api/classes/KeyframeInfo.md +++ b/content/api/classes/KeyframeInfo.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) ## Constructors @@ -26,7 +26,7 @@ new KeyframeInfo(): KeyframeInfo; optional curve?: any; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript declarations: KeyframeDeclaration[]; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) *** @@ -46,4 +46,4 @@ Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript duration: number; ``` -Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/keyframe-animation.ts) +Defined in: [ui/animation/keyframe-animation.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/keyframe-animation.ts) diff --git a/content/api/classes/Label.md b/content/api/classes/Label.md index ed6c2ba9..ae880cb9 100644 --- a/content/api/classes/Label.md +++ b/content/api/classes/Label.md @@ -5,7 +5,7 @@ description: Represents a text label. contributors: false --- -Defined in: [ui/label/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/label/index.d.ts#L8) +Defined in: [ui/label/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/label/index.d.ts#L8) Represents a text label. @@ -25,7 +25,7 @@ Label new Label(): Label; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`TextBase`](TextBase.md).[`_nativeWindow`](TextBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/label/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/label/index.d.ts#L12) +Defined in: [ui/label/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/label/index.d.ts#L12) Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveColumnGap`](TextBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxHeight`](TextBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveMaxWidth`](TextBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`TextBase`](TextBase.md).[`effectiveRowGap`](TextBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1539,7 +1613,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1557,7 +1631,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1575,7 +1649,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1593,7 +1667,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1611,7 +1685,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1629,7 +1703,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1647,7 +1721,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1665,7 +1739,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1683,7 +1757,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1699,7 +1773,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/label/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/label/index.d.ts#L17) +Defined in: [ui/label/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/label/index.d.ts#L17) Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1715,7 +1789,7 @@ Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/ iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1733,7 +1807,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1751,7 +1825,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1769,7 +1843,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1787,7 +1861,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1805,7 +1879,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1823,7 +1897,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1841,7 +1915,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1859,7 +1933,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1877,7 +1951,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1895,7 +1969,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1911,7 +1985,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1929,7 +2003,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1947,7 +2021,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -1965,7 +2039,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -1988,7 +2062,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2006,7 +2080,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2024,7 +2098,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2042,7 +2116,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2060,7 +2134,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2072,13 +2146,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`TextBase`](TextBase.md).[`maxHeight`](TextBase.md#maxheight) + +*** + ### maxLines ```ts maxLines: number; ``` -Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L132) +Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L132) Gets or sets white space style property. @@ -2090,58 +2183,58 @@ Gets or sets white space style property. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) +[`TextBase`](TextBase.md).[`maxWidth`](TextBase.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) +[`TextBase`](TextBase.md).[`minHeight`](TextBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`TextBase`](TextBase.md).[`mIsRootView`](TextBase.md#misrootview) +[`TextBase`](TextBase.md).[`minWidth`](TextBase.md#minwidth) *** @@ -2151,7 +2244,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2167,7 +2260,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2183,7 +2276,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2200,7 +2293,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2216,7 +2309,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2234,7 +2327,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2252,7 +2345,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2270,7 +2363,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2292,7 +2385,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2310,7 +2403,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2328,7 +2421,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2346,7 +2439,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2364,7 +2457,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2382,7 +2475,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2398,7 +2491,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2417,7 +2510,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2431,7 +2524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2449,7 +2542,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2467,7 +2560,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2485,7 +2578,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2503,7 +2596,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2521,7 +2614,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2539,7 +2632,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2557,7 +2650,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2575,7 +2668,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2593,7 +2686,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2611,7 +2704,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2638,7 +2731,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2654,7 +2747,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2672,7 +2765,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2690,7 +2783,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2708,7 +2801,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2726,7 +2819,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2744,7 +2837,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2762,7 +2855,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2780,7 +2873,7 @@ Gets or sets text transform style property. textWrap: boolean; ``` -Defined in: [ui/label/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/label/index.d.ts#L24) +Defined in: [ui/label/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/label/index.d.ts#L24) Gets or sets whether the Label wraps text or not. @@ -2794,7 +2887,7 @@ Gets or sets whether the Label wraps text or not. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2814,7 +2907,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2830,7 +2923,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2846,7 +2939,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2862,7 +2955,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2880,7 +2973,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2898,7 +2991,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2916,7 +3009,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2932,7 +3025,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2950,7 +3043,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2968,7 +3061,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2986,7 +3079,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -3004,7 +3097,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3022,7 +3115,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3042,7 +3135,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3062,7 +3155,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3082,7 +3175,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3096,7 +3189,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3110,13 +3203,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`TextBase`](TextBase.md).[`closedModallyEvent`](TextBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3136,7 +3251,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3156,7 +3271,7 @@ disposeNativeView static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3172,7 +3287,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3192,7 +3307,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3212,7 +3327,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3232,7 +3347,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3252,7 +3367,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3272,7 +3387,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3294,7 +3409,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3306,7 +3421,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3332,7 +3447,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3344,7 +3459,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3370,7 +3485,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3382,7 +3497,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3408,7 +3523,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3420,7 +3535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3446,7 +3561,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3458,7 +3573,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3484,7 +3599,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3496,7 +3611,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3522,7 +3637,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3534,7 +3649,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3560,7 +3675,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3572,7 +3687,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3598,7 +3713,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3618,7 +3733,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3630,7 +3745,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3656,7 +3771,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3678,7 +3793,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3692,7 +3807,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3718,7 +3833,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3732,7 +3847,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3760,7 +3875,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3782,7 +3897,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3802,7 +3917,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3827,7 +3942,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3854,7 +3969,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3888,7 +4003,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3922,7 +4037,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3952,7 +4067,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3984,7 +4099,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4008,7 +4123,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4032,7 +4147,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4060,7 +4175,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4080,7 +4195,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4104,7 +4219,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4128,7 +4243,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4140,13 +4255,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`_getRootModalHost`](TextBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4167,7 +4304,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4196,7 +4333,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4222,7 +4359,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4248,7 +4385,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4273,7 +4410,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4297,7 +4434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4321,7 +4458,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4342,7 +4479,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4368,7 +4505,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4388,7 +4525,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4408,7 +4545,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4428,7 +4565,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4448,7 +4585,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4472,7 +4609,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4490,7 +4627,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4508,7 +4645,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4526,7 +4663,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4552,7 +4689,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4578,7 +4715,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4604,7 +4741,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4628,7 +4765,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4652,7 +4789,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4679,7 +4816,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4708,7 +4845,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4735,7 +4872,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4756,7 +4893,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4781,7 +4918,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4805,7 +4942,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4835,7 +4972,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4863,7 +5000,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4889,7 +5026,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4913,7 +5050,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4942,7 +5079,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4970,7 +5107,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4996,7 +5133,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5021,7 +5158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5039,7 +5176,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5057,7 +5194,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5083,7 +5220,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5109,7 +5246,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5130,7 +5267,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5158,7 +5295,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5188,7 +5325,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5208,7 +5345,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5234,7 +5371,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5260,7 +5397,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5282,7 +5419,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5303,7 +5440,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5329,7 +5466,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5349,7 +5486,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5369,7 +5506,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5387,7 +5524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5411,7 +5548,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5431,7 +5568,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5451,7 +5588,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5477,7 +5614,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5497,7 +5634,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5515,7 +5652,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5529,13 +5666,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`TextBase`](TextBase.md).[`getNativeWindow`](TextBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5555,7 +5717,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5587,7 +5749,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5619,7 +5781,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5639,7 +5801,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5665,7 +5827,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5690,7 +5852,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5726,7 +5888,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5755,7 +5917,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5781,7 +5943,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5809,7 +5971,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5846,7 +6008,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5877,7 +6039,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5910,7 +6072,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5939,7 +6101,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5968,7 +6130,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5997,7 +6159,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6027,7 +6189,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6056,7 +6218,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6085,7 +6247,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6113,7 +6275,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6136,7 +6298,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6169,7 +6331,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6198,7 +6360,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6216,7 +6378,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6244,7 +6406,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6262,7 +6424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6283,7 +6445,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6311,7 +6473,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6331,7 +6493,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6351,7 +6513,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6389,7 +6551,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6416,7 +6578,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6441,7 +6603,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6465,7 +6627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6492,7 +6654,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6520,7 +6682,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6540,7 +6702,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6567,7 +6729,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6593,7 +6755,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6613,7 +6775,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6637,7 +6799,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6663,7 +6825,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6691,7 +6853,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6723,7 +6885,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6754,7 +6916,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6792,7 +6954,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6841,7 +7003,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6876,7 +7038,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6911,7 +7073,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6945,7 +7107,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6980,7 +7142,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/LayoutBase.md b/content/api/classes/LayoutBase.md index 5238db20..0c1bad96 100644 --- a/content/api/classes/LayoutBase.md +++ b/content/api/classes/LayoutBase.md @@ -5,7 +5,7 @@ description: Base class for all views that supports children positioning. contributors: false --- -Defined in: [ui/layouts/layout-base.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L8) +Defined in: [ui/layouts/layout-base.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L8) Base class for all views that supports children positioning. @@ -31,7 +31,7 @@ Base class for all views that supports children positioning. new LayoutBase(): LayoutBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -49,7 +49,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -65,7 +65,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -79,7 +79,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -93,7 +93,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -107,7 +107,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -121,7 +121,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -135,7 +135,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -149,7 +149,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -163,7 +163,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -177,7 +177,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -191,7 +191,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -205,7 +205,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -219,7 +219,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -233,7 +233,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -241,13 +241,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_nativeWindow`](CustomLayoutView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -261,7 +279,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -275,7 +293,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -289,7 +307,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -303,7 +321,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -317,7 +335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -337,7 +355,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -355,7 +373,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -373,7 +391,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -393,7 +411,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -409,7 +427,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -427,7 +445,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -446,7 +464,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -464,7 +482,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -482,7 +500,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -500,7 +518,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -518,7 +536,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -536,7 +554,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -554,7 +572,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -572,7 +590,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -588,7 +606,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -606,7 +624,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -624,7 +642,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -638,7 +656,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -654,7 +672,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -672,7 +690,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -690,7 +708,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -708,7 +726,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -726,7 +744,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -744,7 +762,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -762,7 +780,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -780,7 +798,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -798,7 +816,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -816,7 +834,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -834,7 +852,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -856,7 +874,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -874,7 +892,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -892,7 +910,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -910,7 +928,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -928,7 +946,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -946,7 +964,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -964,7 +982,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -986,7 +1004,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1004,7 +1022,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1022,7 +1040,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1040,7 +1058,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1054,7 +1072,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1072,7 +1090,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1090,7 +1108,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1108,7 +1126,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1126,7 +1144,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1142,7 +1160,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1156,7 +1174,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1170,7 +1188,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1187,7 +1205,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1205,7 +1223,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1223,7 +1241,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1241,7 +1259,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1255,7 +1273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1269,7 +1287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1283,7 +1301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1297,7 +1315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,13 +1323,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveColumnGap`](CustomLayoutView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1325,7 +1357,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1339,7 +1371,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1353,7 +1385,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1367,7 +1399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1381,7 +1413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,13 +1421,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxHeight`](CustomLayoutView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxWidth`](CustomLayoutView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1409,7 +1469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,13 +1477,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveRowGap`](CustomLayoutView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1437,7 +1511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1451,7 +1525,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1469,7 +1543,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1487,7 +1561,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1505,7 +1579,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1523,7 +1597,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1541,7 +1615,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1559,7 +1633,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1577,7 +1651,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1595,7 +1669,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1613,7 +1687,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1629,7 +1703,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1645,7 +1719,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1663,7 +1737,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1681,7 +1755,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1699,7 +1773,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1717,7 +1791,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1735,7 +1809,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1753,7 +1827,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1771,7 +1845,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1789,7 +1863,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1807,7 +1881,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1823,7 +1897,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1839,7 +1913,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1857,7 +1931,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1880,7 +1954,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1898,7 +1972,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1916,7 +1990,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1934,7 +2008,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1952,7 +2026,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1964,58 +2038,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) +[`CustomLayoutView`](CustomLayoutView.md).[`maxHeight`](CustomLayoutView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) +[`CustomLayoutView`](CustomLayoutView.md).[`maxWidth`](CustomLayoutView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`mIsRootView`](CustomLayoutView.md#misrootview) +[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) *** @@ -2025,7 +2118,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2041,7 +2134,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2057,7 +2150,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2073,7 +2166,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2091,7 +2184,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2109,7 +2202,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2127,7 +2220,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2149,7 +2242,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2163,7 +2256,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2177,7 +2270,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2191,7 +2284,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2205,7 +2298,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2219,7 +2312,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2235,7 +2328,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2254,7 +2347,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2268,7 +2361,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2286,7 +2379,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2304,7 +2397,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2322,7 +2415,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2340,7 +2433,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2358,7 +2451,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2376,7 +2469,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2394,7 +2487,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2412,7 +2505,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2430,7 +2523,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2448,7 +2541,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2475,7 +2568,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2491,7 +2584,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2511,7 +2604,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2527,7 +2620,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2543,7 +2636,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2559,7 +2652,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2577,7 +2670,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2595,7 +2688,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2613,7 +2706,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2629,7 +2722,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2647,7 +2740,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2665,7 +2758,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2683,7 +2776,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2701,7 +2794,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2721,7 +2814,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2741,7 +2834,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2761,7 +2854,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2775,7 +2868,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2789,13 +2882,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`closedModallyEvent`](CustomLayoutView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2815,7 +2930,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2835,7 +2950,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2855,7 +2970,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2875,7 +2990,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2895,7 +3010,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2915,7 +3030,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2935,7 +3050,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2957,7 +3072,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2969,7 +3084,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2995,7 +3110,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3007,7 +3122,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3033,7 +3148,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3045,7 +3160,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3071,7 +3186,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3083,7 +3198,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3109,7 +3224,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3121,7 +3236,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3147,7 +3262,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3159,7 +3274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3185,7 +3300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3197,7 +3312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3223,7 +3338,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3235,7 +3350,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3261,7 +3376,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3281,7 +3396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3293,7 +3408,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3319,7 +3434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3341,7 +3456,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3355,7 +3470,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3381,7 +3496,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3395,7 +3510,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3423,7 +3538,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3435,7 +3550,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3461,7 +3576,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3483,7 +3598,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3503,7 +3618,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3528,7 +3643,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3555,7 +3670,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3589,7 +3704,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3623,7 +3738,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3653,7 +3768,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3685,7 +3800,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3709,7 +3824,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3733,7 +3848,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3761,7 +3876,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3781,7 +3896,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3805,7 +3920,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3829,7 +3944,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3841,13 +3956,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_getRootModalHost`](CustomLayoutView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3868,7 +4005,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3897,7 +4034,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3923,7 +4060,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3949,7 +4086,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3974,7 +4111,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3998,7 +4135,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4022,7 +4159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4043,7 +4180,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4069,7 +4206,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4089,7 +4226,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4109,7 +4246,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4129,7 +4266,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4149,7 +4286,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4173,7 +4310,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4191,7 +4328,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4209,7 +4346,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4227,7 +4364,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4249,7 +4386,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4275,7 +4412,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4301,7 +4438,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4327,7 +4464,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4351,7 +4488,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4375,7 +4512,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4402,7 +4539,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4431,7 +4568,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4458,7 +4595,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4479,7 +4616,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4504,7 +4641,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4528,7 +4665,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4555,7 +4692,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4580,7 +4717,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4608,7 +4745,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4634,7 +4771,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4654,7 +4791,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4680,7 +4817,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4709,7 +4846,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4737,7 +4874,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4763,7 +4900,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4788,7 +4925,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4806,7 +4943,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4824,7 +4961,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4850,7 +4987,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4876,7 +5013,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4897,7 +5034,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4925,7 +5062,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4955,7 +5092,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4975,7 +5112,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5001,7 +5138,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5027,7 +5164,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5049,7 +5186,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5071,7 +5208,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5092,7 +5229,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5118,7 +5255,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5138,7 +5275,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5160,7 +5297,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5182,7 +5319,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5198,7 +5335,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5218,7 +5355,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5236,7 +5373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5260,7 +5397,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5280,7 +5417,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5300,7 +5437,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5326,7 +5463,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5346,7 +5483,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5364,7 +5501,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5378,13 +5515,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`getNativeWindow`](CustomLayoutView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5404,7 +5566,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5436,7 +5598,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5468,7 +5630,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5488,7 +5650,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5514,7 +5676,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5534,7 +5696,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5562,7 +5724,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5598,7 +5760,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5627,7 +5789,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5653,7 +5815,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5681,7 +5843,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5718,7 +5880,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5749,7 +5911,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5782,7 +5944,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5811,7 +5973,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5840,7 +6002,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5869,7 +6031,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5899,7 +6061,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5928,7 +6090,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5957,7 +6119,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5985,7 +6147,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6008,7 +6170,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6041,7 +6203,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6070,7 +6232,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6088,7 +6250,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6116,7 +6278,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6134,7 +6296,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6152,7 +6314,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6174,7 +6336,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6193,7 +6355,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6221,7 +6383,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6241,7 +6403,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6261,7 +6423,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6299,7 +6461,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6326,7 +6488,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6351,7 +6513,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6375,7 +6537,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6402,7 +6564,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6430,7 +6592,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6450,7 +6612,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6477,7 +6639,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6503,7 +6665,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6523,7 +6685,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6547,7 +6709,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6573,7 +6735,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6601,7 +6763,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6633,7 +6795,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6664,7 +6826,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6702,7 +6864,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6751,7 +6913,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6786,7 +6948,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6821,7 +6983,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6855,7 +7017,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6890,7 +7052,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/LinearGradient.md b/content/api/classes/LinearGradient.md index ea0a6c85..0476d336 100644 --- a/content/api/classes/LinearGradient.md +++ b/content/api/classes/LinearGradient.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/linear-gradient.ts) +Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/linear-gradient.ts) ## Constructors @@ -26,7 +26,7 @@ new LinearGradient(): LinearGradient; angle: number; ``` -Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/linear-gradient.ts) +Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/linear-gradient.ts) *** @@ -36,7 +36,7 @@ Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/Nati colorStops: ColorStop[]; ``` -Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/linear-gradient.ts) +Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/linear-gradient.ts) ## Methods @@ -46,7 +46,7 @@ Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/Nati static equals(first: LinearGradient, second: LinearGradient): boolean; ``` -Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/linear-gradient.ts) +Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/linear-gradient.ts) #### Parameters @@ -67,7 +67,7 @@ Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/Nati static parse(value: LinearGradient): LinearGradient; ``` -Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/linear-gradient.ts) +Defined in: [ui/styling/linear-gradient.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/linear-gradient.ts) #### Parameters diff --git a/content/api/classes/LiquidGlass.md b/content/api/classes/LiquidGlass.md index dd2caa78..8d75d620 100644 --- a/content/api/classes/LiquidGlass.md +++ b/content/api/classes/LiquidGlass.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/liquid-glass/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/liquid-glass/index.d.ts#L3) +Defined in: [ui/layouts/liquid-glass/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/liquid-glass/index.d.ts#L3) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/layouts/liquid-glass/index.d.ts:3](https://github.com/NativeScri new LiquidGlass(): LiquidGlass; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -38,7 +38,7 @@ LiquidGlassCommon.constructor optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -56,7 +56,7 @@ LiquidGlassCommon._androidContentDescriptionUpdated _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -72,7 +72,7 @@ LiquidGlassCommon._automaticallyAdjustsScrollViewInsets protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -88,7 +88,7 @@ LiquidGlassCommon._closeModalCallback _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -104,7 +104,7 @@ LiquidGlassCommon._context _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -120,7 +120,7 @@ LiquidGlassCommon._cssState protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -136,7 +136,7 @@ LiquidGlassCommon._defaultPaddingBottom protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -152,7 +152,7 @@ LiquidGlassCommon._defaultPaddingLeft protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -168,7 +168,7 @@ LiquidGlassCommon._defaultPaddingRight protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -184,7 +184,7 @@ LiquidGlassCommon._defaultPaddingTop _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -200,7 +200,7 @@ LiquidGlassCommon._domId _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -216,7 +216,7 @@ LiquidGlassCommon._ignoreFlexMinWidthHeightReset _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,7 +232,7 @@ LiquidGlassCommon._isAddedToNativeVisualTree protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -248,7 +248,7 @@ LiquidGlassCommon._isPaddingRelative _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -258,13 +258,33 @@ LiquidGlassCommon._isStyleScopeHost *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +```ts +LiquidGlassCommon._nativeWindow +``` + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -280,7 +300,7 @@ LiquidGlassCommon._oldBottom _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -296,7 +316,7 @@ LiquidGlassCommon._oldLeft _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -312,7 +332,7 @@ LiquidGlassCommon._oldRight _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -328,7 +348,7 @@ LiquidGlassCommon._oldTop _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -344,7 +364,7 @@ LiquidGlassCommon._styleScope _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -366,7 +386,7 @@ LiquidGlassCommon._suspendNativeUpdatesCount accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -386,7 +406,7 @@ LiquidGlassCommon.accessibilityHidden accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -406,7 +426,7 @@ LiquidGlassCommon.accessibilityHint accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -428,7 +448,7 @@ LiquidGlassCommon.accessibilityIdentifier accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -446,7 +466,7 @@ LiquidGlassCommon.accessibilityIgnoresInvertColors accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -466,7 +486,7 @@ LiquidGlassCommon.accessibilityLabel accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -487,7 +507,7 @@ LiquidGlassCommon.accessibilityLanguage accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -507,7 +527,7 @@ LiquidGlassCommon.accessibilityLiveRegion accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -527,7 +547,7 @@ LiquidGlassCommon.accessibilityMediaSession accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -547,7 +567,7 @@ LiquidGlassCommon.accessibilityRole accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -567,7 +587,7 @@ LiquidGlassCommon.accessibilityState accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -587,7 +607,7 @@ LiquidGlassCommon.accessibilityValue accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -607,7 +627,7 @@ LiquidGlassCommon.accessible alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -627,7 +647,7 @@ LiquidGlassCommon.alignSelf android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -645,7 +665,7 @@ LiquidGlassCommon.android androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -665,7 +685,7 @@ LiquidGlassCommon.androidDynamicElevationOffset androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -685,7 +705,7 @@ LiquidGlassCommon.androidElevation androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -701,7 +721,7 @@ LiquidGlassCommon.androidOverflowEdge automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -719,7 +739,7 @@ LiquidGlassCommon.automationText background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -739,7 +759,7 @@ LiquidGlassCommon.background backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -759,7 +779,7 @@ LiquidGlassCommon.backgroundColor backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -779,7 +799,7 @@ LiquidGlassCommon.backgroundImage bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -799,7 +819,7 @@ LiquidGlassCommon.bindingContext borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -819,7 +839,7 @@ LiquidGlassCommon.borderBottomColor borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -839,7 +859,7 @@ LiquidGlassCommon.borderBottomLeftRadius borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -859,7 +879,7 @@ LiquidGlassCommon.borderBottomRightRadius borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -879,7 +899,7 @@ LiquidGlassCommon.borderBottomWidth borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -899,7 +919,7 @@ LiquidGlassCommon.borderColor borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -919,7 +939,7 @@ LiquidGlassCommon.borderLeftColor borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -943,7 +963,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -963,7 +983,7 @@ LiquidGlassCommon.borderRadius borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -983,7 +1003,7 @@ LiquidGlassCommon.borderRightColor borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -1003,7 +1023,7 @@ LiquidGlassCommon.borderRightWidth borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1023,7 +1043,7 @@ LiquidGlassCommon.borderTopColor borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1043,7 +1063,7 @@ LiquidGlassCommon.borderTopLeftRadius borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1063,7 +1083,7 @@ LiquidGlassCommon.borderTopRightRadius borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1087,7 +1107,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1107,7 +1127,7 @@ LiquidGlassCommon.borderWidth boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1127,7 +1147,7 @@ LiquidGlassCommon.boxShadow className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1147,7 +1167,7 @@ LiquidGlassCommon.className clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1167,7 +1187,7 @@ LiquidGlassCommon.clipToBounds col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1187,7 +1207,7 @@ LiquidGlassCommon.col color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1207,7 +1227,7 @@ LiquidGlassCommon.color colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1227,7 +1247,7 @@ LiquidGlassCommon.colSpan column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1247,7 +1267,7 @@ LiquidGlassCommon.column columns: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) +Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) A string value representing column widths delimited with commas. @@ -1269,7 +1289,7 @@ LiquidGlassCommon.columns columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1287,7 +1307,7 @@ LiquidGlassCommon.columnSpan cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1303,7 +1323,7 @@ LiquidGlassCommon.cssClasses cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1319,7 +1339,7 @@ LiquidGlassCommon.cssPseudoClasses cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1338,7 +1358,7 @@ LiquidGlassCommon.cssType defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1358,7 +1378,7 @@ LiquidGlassCommon.defaultVisualState direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1378,7 +1398,7 @@ LiquidGlassCommon.direction dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1398,7 +1418,7 @@ LiquidGlassCommon.dock domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1414,7 +1434,7 @@ LiquidGlassCommon.domNode effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1430,7 +1450,7 @@ LiquidGlassCommon.effectiveBorderBottomWidth effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1446,7 +1466,7 @@ LiquidGlassCommon.effectiveBorderLeftWidth effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1462,7 +1482,7 @@ LiquidGlassCommon.effectiveBorderRightWidth effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1472,13 +1492,29 @@ LiquidGlassCommon.effectiveBorderTopWidth *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassCommon.effectiveColumnGap +``` + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1494,7 +1530,7 @@ LiquidGlassCommon.effectiveHeight effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1510,7 +1546,7 @@ LiquidGlassCommon.effectiveLeft effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1526,7 +1562,7 @@ LiquidGlassCommon.effectiveMarginBottom effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1542,7 +1578,7 @@ LiquidGlassCommon.effectiveMarginLeft effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1558,7 +1594,7 @@ LiquidGlassCommon.effectiveMarginRight effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1568,13 +1604,45 @@ LiquidGlassCommon.effectiveMarginTop *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassCommon.effectiveMaxHeight +``` + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassCommon.effectiveMaxWidth +``` + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1590,7 +1658,7 @@ LiquidGlassCommon.effectiveMinHeight effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1600,13 +1668,29 @@ LiquidGlassCommon.effectiveMinWidth *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassCommon.effectiveRowGap +``` + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1622,7 +1706,7 @@ LiquidGlassCommon.effectiveTop effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1638,7 +1722,7 @@ LiquidGlassCommon.effectiveWidth flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1658,7 +1742,7 @@ LiquidGlassCommon.flex flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1678,7 +1762,7 @@ LiquidGlassCommon.flexFlow flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1698,7 +1782,7 @@ LiquidGlassCommon.flexGrow flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1718,7 +1802,7 @@ LiquidGlassCommon.flexShrink flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1738,7 +1822,7 @@ LiquidGlassCommon.flexWrapBefore height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1758,7 +1842,7 @@ LiquidGlassCommon.height hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1778,7 +1862,7 @@ LiquidGlassCommon.hidden horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1798,7 +1882,7 @@ LiquidGlassCommon.horizontalAlignment id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1818,7 +1902,7 @@ LiquidGlassCommon.id ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1836,7 +1920,7 @@ LiquidGlassCommon.ignoreTouchAnimation ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1854,7 +1938,7 @@ LiquidGlassCommon.ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1874,7 +1958,7 @@ LiquidGlassCommon.iosAccessibilityAdjustsFontSize iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1894,7 +1978,7 @@ LiquidGlassCommon.iosAccessibilityMaxFontScale iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1914,7 +1998,7 @@ LiquidGlassCommon.iosAccessibilityMinFontScale iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1934,7 +2018,7 @@ LiquidGlassCommon.iosGlassEffect iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1954,7 +2038,7 @@ LiquidGlassCommon.iosIgnoreSafeArea iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1974,7 +2058,7 @@ LiquidGlassCommon.iosOverflowSafeArea iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1994,7 +2078,7 @@ LiquidGlassCommon.iosOverflowSafeAreaEnabled isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -2014,7 +2098,7 @@ LiquidGlassCommon.isCollapsed isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -2034,7 +2118,7 @@ LiquidGlassCommon.isEnabled isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2052,7 +2136,7 @@ LiquidGlassCommon.isLayoutValid isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -2074,7 +2158,7 @@ LiquidGlassCommon.isPassThroughParentEnabled isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2094,7 +2178,7 @@ LiquidGlassCommon.isUserInteractionEnabled left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2119,7 +2203,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2139,7 +2223,7 @@ LiquidGlassCommon.margin marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2159,7 +2243,7 @@ LiquidGlassCommon.marginBottom marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2179,7 +2263,7 @@ LiquidGlassCommon.marginLeft marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2199,7 +2283,7 @@ LiquidGlassCommon.marginRight marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2213,63 +2297,84 @@ LiquidGlassCommon.marginTop *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -LiquidGlassCommon.minHeight +LiquidGlassCommon.maxHeight ``` *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -LiquidGlassCommon.minWidth +LiquidGlassCommon.maxWidth ``` *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +```ts +LiquidGlassCommon.minHeight +``` + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from ```ts -LiquidGlassCommon.mIsRootView +LiquidGlassCommon.minWidth ``` *** @@ -2280,7 +2385,7 @@ LiquidGlassCommon.mIsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2298,7 +2403,7 @@ LiquidGlassCommon.modal optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2316,7 +2421,7 @@ LiquidGlassCommon.nativeBackgroundState nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2334,7 +2439,7 @@ LiquidGlassCommon.nativeViewProtected opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2354,7 +2459,7 @@ LiquidGlassCommon.opacity order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2374,7 +2479,7 @@ LiquidGlassCommon.order originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2394,7 +2499,7 @@ LiquidGlassCommon.originX originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2418,7 +2523,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2438,7 +2543,7 @@ LiquidGlassCommon.padding paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2458,7 +2563,7 @@ LiquidGlassCommon.paddingBottom paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2478,7 +2583,7 @@ LiquidGlassCommon.paddingLeft paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2498,7 +2603,7 @@ LiquidGlassCommon.paddingRight paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2518,7 +2623,7 @@ LiquidGlassCommon.paddingTop parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2536,7 +2641,7 @@ LiquidGlassCommon.parent perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2557,7 +2662,7 @@ LiquidGlassCommon.perspective recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2573,7 +2678,7 @@ LiquidGlassCommon.recycleNativeView reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2593,7 +2698,7 @@ LiquidGlassCommon.reusable rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2613,7 +2718,7 @@ LiquidGlassCommon.rotate rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2633,7 +2738,7 @@ LiquidGlassCommon.rotateX rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2653,7 +2758,7 @@ LiquidGlassCommon.rotateY row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2673,7 +2778,7 @@ LiquidGlassCommon.row rows: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) +Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) A string value representing row heights delimited with commas. @@ -2695,7 +2800,7 @@ LiquidGlassCommon.rows rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2715,7 +2820,7 @@ LiquidGlassCommon.rowSpan scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2735,7 +2840,7 @@ LiquidGlassCommon.scaleX scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2755,7 +2860,7 @@ LiquidGlassCommon.scaleY sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2775,7 +2880,7 @@ LiquidGlassCommon.sharedTransitionIgnore sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2795,7 +2900,7 @@ LiquidGlassCommon.sharedTransitionTag statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2824,7 +2929,7 @@ LiquidGlassCommon.statusBarStyle testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2842,7 +2947,7 @@ LiquidGlassCommon.testID top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2864,7 +2969,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2882,7 +2987,7 @@ LiquidGlassCommon.touchAnimation touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2900,7 +3005,7 @@ LiquidGlassCommon.touchDelay transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2918,7 +3023,7 @@ LiquidGlassCommon.transitionId translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2938,7 +3043,7 @@ LiquidGlassCommon.translateX translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2958,7 +3063,7 @@ LiquidGlassCommon.translateY verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2978,7 +3083,7 @@ LiquidGlassCommon.verticalAlignment viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2996,7 +3101,7 @@ LiquidGlassCommon.viewController visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3016,7 +3121,7 @@ LiquidGlassCommon.visibility visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3036,7 +3141,7 @@ LiquidGlassCommon.visionHoverStyle visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3056,7 +3161,7 @@ LiquidGlassCommon.visionIgnoreHoverStyle width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3076,7 +3181,7 @@ LiquidGlassCommon.width static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3098,7 +3203,7 @@ LiquidGlassCommon.accessibilityBlurEvent static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3120,7 +3225,7 @@ LiquidGlassCommon.accessibilityFocusChangedEvent static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3142,7 +3247,7 @@ LiquidGlassCommon.accessibilityFocusEvent static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3158,7 +3263,7 @@ LiquidGlassCommon.accessibilityPerformEscapeEvent static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3174,13 +3279,37 @@ LiquidGlassCommon.androidOverflowInsetEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +```ts +LiquidGlassCommon.closedModallyEvent +``` + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3202,7 +3331,7 @@ LiquidGlassCommon.createdEvent static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3224,7 +3353,7 @@ LiquidGlassCommon.disposeNativeViewEvent static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3246,7 +3375,7 @@ LiquidGlassCommon.layoutChangedEvent static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3268,7 +3397,7 @@ LiquidGlassCommon.loadedEvent static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3290,7 +3419,7 @@ LiquidGlassCommon.propertyChangeEvent static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3312,7 +3441,7 @@ LiquidGlassCommon.showingModallyEvent static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3334,7 +3463,7 @@ LiquidGlassCommon.shownModallyEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3358,7 +3487,7 @@ LiquidGlassCommon.unloadedEvent get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3370,7 +3499,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3398,7 +3527,7 @@ LiquidGlassCommon.backgroundPosition get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3410,7 +3539,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3438,7 +3567,7 @@ LiquidGlassCommon.backgroundRepeat get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3450,7 +3579,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3478,7 +3607,7 @@ LiquidGlassCommon.backgroundSize get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3490,7 +3619,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3518,7 +3647,7 @@ LiquidGlassCommon.class get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3530,7 +3659,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3558,7 +3687,7 @@ LiquidGlassCommon.effectivePaddingBottom get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3570,7 +3699,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3598,7 +3727,7 @@ LiquidGlassCommon.effectivePaddingLeft get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3610,7 +3739,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3638,7 +3767,7 @@ LiquidGlassCommon.effectivePaddingRight get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3650,7 +3779,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3678,7 +3807,7 @@ LiquidGlassCommon.effectivePaddingTop get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3700,7 +3829,7 @@ LiquidGlassCommon.isLoaded get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3712,7 +3841,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3740,7 +3869,7 @@ LiquidGlassCommon.nativeView get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3764,7 +3893,7 @@ LiquidGlassCommon.page get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3778,7 +3907,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3806,7 +3935,7 @@ LiquidGlassCommon.parentNode get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3820,7 +3949,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3850,7 +3979,7 @@ LiquidGlassCommon.style get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3862,7 +3991,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3890,7 +4019,7 @@ LiquidGlassCommon.textTransform get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3914,7 +4043,7 @@ LiquidGlassCommon.typeName get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3936,7 +4065,7 @@ LiquidGlassCommon.visualState _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3963,7 +4092,7 @@ LiquidGlassCommon._addView _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3992,7 +4121,7 @@ LiquidGlassCommon._addViewCore _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4028,7 +4157,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4064,7 +4193,7 @@ LiquidGlassCommon._applyGlassEffect _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4096,7 +4225,7 @@ LiquidGlassCommon._applyXmlAttribute _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4130,7 +4259,7 @@ LiquidGlassCommon._batchUpdate _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4156,7 +4285,7 @@ LiquidGlassCommon._childIndexToNativeChildIndex _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4182,7 +4311,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4212,7 +4341,7 @@ LiquidGlassCommon._createPropertyChangeData _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4234,7 +4363,7 @@ LiquidGlassCommon._dialogClosed _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4260,7 +4389,7 @@ LiquidGlassCommon._eachLayoutView _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4286,7 +4415,7 @@ LiquidGlassCommon._emit _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4300,13 +4429,37 @@ LiquidGlassCommon._getNativeViewsCount *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +```ts +LiquidGlassCommon._getRootModalHost +``` + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4329,7 +4482,7 @@ LiquidGlassCommon._getRootModalViews _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4360,7 +4513,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4388,7 +4541,7 @@ LiquidGlassCommon._handleLivesync _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4416,7 +4569,7 @@ LiquidGlassCommon._hasAncestorView protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4443,7 +4596,7 @@ LiquidGlassCommon._hideNativeModalView _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4469,7 +4622,7 @@ LiquidGlassCommon._inheritStyles _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4495,7 +4648,7 @@ LiquidGlassCommon._inheritStyleScope _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4518,7 +4671,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4546,7 +4699,7 @@ LiquidGlassCommon._observe _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4568,7 +4721,7 @@ LiquidGlassCommon._onAttachedToWindow _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4590,7 +4743,7 @@ LiquidGlassCommon._onDetachedFromWindow _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4612,7 +4765,7 @@ LiquidGlassCommon._onRootViewReset optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4634,7 +4787,7 @@ LiquidGlassCommon._onSizeChanged _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4660,7 +4813,7 @@ LiquidGlassCommon._parentChanged protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4680,7 +4833,7 @@ LiquidGlassCommon._raiseLayoutChangedEvent protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4700,7 +4853,7 @@ LiquidGlassCommon._raiseShowingModallyEvent protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4720,7 +4873,7 @@ LiquidGlassCommon._raiseShownModallyEvent _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4748,7 +4901,7 @@ LiquidGlassCommon._registerLayoutChild _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4776,7 +4929,7 @@ LiquidGlassCommon._removeView _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4804,7 +4957,7 @@ LiquidGlassCommon._removeViewCore _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4832,7 +4985,7 @@ LiquidGlassCommon._removeViewFromNativeVisualTree _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4858,7 +5011,7 @@ LiquidGlassCommon._resumeNativeUpdates _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4884,7 +5037,7 @@ LiquidGlassCommon._setDefaultPaddings _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4913,7 +5066,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4944,7 +5097,7 @@ LiquidGlassCommon._setupUI _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4973,7 +5126,7 @@ LiquidGlassCommon._setValue _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4996,7 +5149,7 @@ LiquidGlassCommon._shouldDelayLayout protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5023,7 +5176,7 @@ LiquidGlassCommon._showNativeModalView _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5049,7 +5202,7 @@ LiquidGlassCommon._suspendNativeUpdates _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5078,7 +5231,7 @@ LiquidGlassCommon._tearDownUI _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -5109,7 +5262,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5139,7 +5292,7 @@ LiquidGlassCommon._updateStyleScope accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5167,7 +5320,7 @@ LiquidGlassCommon.accessibilityAnnouncement accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5189,7 +5342,7 @@ LiquidGlassCommon.accessibilityScreenChanged addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -5222,7 +5375,7 @@ addChildAtCell( columnSpan?: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) +Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan attributes @@ -5254,7 +5407,7 @@ LiquidGlassCommon.addChildAtCell addColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) +Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) Adds a column specification to a GridLayout. @@ -5286,7 +5439,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5317,7 +5470,7 @@ LiquidGlassCommon.addEventListener protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5347,7 +5500,7 @@ LiquidGlassCommon.addPseudoClass addRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) +Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) Adds a row specification to a GridLayout. @@ -5375,7 +5528,7 @@ LiquidGlassCommon.addRow animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5403,7 +5556,7 @@ LiquidGlassCommon.animate bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5430,7 +5583,7 @@ LiquidGlassCommon.bind callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5450,7 +5603,7 @@ LiquidGlassCommon.callLoaded callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5470,7 +5623,7 @@ LiquidGlassCommon.callUnloaded closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5498,7 +5651,7 @@ LiquidGlassCommon.closeModal createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5526,7 +5679,7 @@ LiquidGlassCommon.createAnimation createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5549,7 +5702,7 @@ LiquidGlassCommon.createNativeView protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5579,7 +5732,7 @@ LiquidGlassCommon.deletePseudoClass destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5611,7 +5764,7 @@ LiquidGlassCommon.destroyNode disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5633,7 +5786,7 @@ LiquidGlassCommon.disposeNativeView eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5661,7 +5814,7 @@ LiquidGlassCommon.eachChild eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5689,7 +5842,7 @@ LiquidGlassCommon.eachChildView eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5717,7 +5870,7 @@ LiquidGlassCommon.eachLayoutChild ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5741,7 +5894,7 @@ LiquidGlassCommon.ensureDomNode focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5764,7 +5917,7 @@ LiquidGlassCommon.focus get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5792,7 +5945,7 @@ LiquidGlassCommon.get getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5814,7 +5967,7 @@ LiquidGlassCommon.getActualSize getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5842,7 +5995,7 @@ LiquidGlassCommon.getChildAt getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5870,7 +6023,7 @@ LiquidGlassCommon.getChildIndex getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5892,7 +6045,7 @@ LiquidGlassCommon.getChildrenCount getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5914,7 +6067,7 @@ LiquidGlassCommon.getClosestWindow getColumns(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) +Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) Gets array of column specifications defined on this instance of GridLayout. @@ -5936,7 +6089,7 @@ LiquidGlassCommon.getColumns getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5956,7 +6109,7 @@ LiquidGlassCommon.getEffectivePaddingShorthand getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5982,7 +6135,7 @@ LiquidGlassCommon.getGestureObservers getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -6004,7 +6157,7 @@ LiquidGlassCommon.getLocationInWindow getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -6026,7 +6179,7 @@ LiquidGlassCommon.getLocationOnScreen getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -6054,7 +6207,7 @@ LiquidGlassCommon.getLocationRelativeTo getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -6076,7 +6229,7 @@ LiquidGlassCommon.getMeasuredHeight getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -6096,7 +6249,7 @@ LiquidGlassCommon.getMeasuredState getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -6112,13 +6265,40 @@ LiquidGlassCommon.getMeasuredWidth *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +```ts +LiquidGlassCommon.getNativeWindow +``` + +*** + ### getRows() ```ts getRows(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) +Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) Gets array of row specifications defined on this instance of GridLayout. @@ -6140,7 +6320,7 @@ LiquidGlassCommon.getRows getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -6162,7 +6342,7 @@ LiquidGlassCommon.getSafeAreaInsets getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -6196,7 +6376,7 @@ LiquidGlassCommon.getViewByDomId getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -6230,7 +6410,7 @@ LiquidGlassCommon.getViewById optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -6252,7 +6432,7 @@ LiquidGlassCommon.hasGestureObservers hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -6280,7 +6460,7 @@ LiquidGlassCommon.hasListeners initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6302,7 +6482,7 @@ LiquidGlassCommon.initNativeView insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -6336,7 +6516,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6374,7 +6554,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6405,7 +6585,7 @@ LiquidGlassCommon.layoutNativeView loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6433,7 +6613,7 @@ LiquidGlassCommon.loadView measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6463,7 +6643,7 @@ LiquidGlassCommon.measure notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6502,7 +6682,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6535,7 +6715,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6570,7 +6750,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6601,7 +6781,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6632,7 +6812,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6663,7 +6843,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6695,7 +6875,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6726,7 +6906,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6757,7 +6937,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6787,7 +6967,7 @@ LiquidGlassCommon.on onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6812,7 +6992,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6847,7 +7027,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6878,7 +7058,7 @@ LiquidGlassCommon.onLayout onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6898,7 +7078,7 @@ LiquidGlassCommon.onLoaded onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6928,7 +7108,7 @@ LiquidGlassCommon.onMeasure onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6948,7 +7128,7 @@ LiquidGlassCommon.onResumeNativeUpdates onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6968,7 +7148,7 @@ LiquidGlassCommon.onUnloaded removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6996,7 +7176,7 @@ LiquidGlassCommon.removeChild removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -7018,7 +7198,7 @@ LiquidGlassCommon.removeChildren removeColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) +Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) Removes a column specification from a GridLayout. @@ -7046,7 +7226,7 @@ LiquidGlassCommon.removeColumn removeColumns(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) +Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) Removes all column specifications from a GridLayout. @@ -7071,7 +7251,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -7101,7 +7281,7 @@ LiquidGlassCommon.removeEventListener removeRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) +Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) Removes a row specification from a GridLayout. @@ -7129,7 +7309,7 @@ LiquidGlassCommon.removeRow removeRows(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) +Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) Removes all row specifications from a GridLayout. @@ -7151,7 +7331,7 @@ LiquidGlassCommon.removeRows requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -7173,7 +7353,7 @@ LiquidGlassCommon.requestLayout resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -7195,7 +7375,7 @@ LiquidGlassCommon.resetNativeView sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -7235,7 +7415,7 @@ LiquidGlassCommon.sendAccessibilityEvent set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -7264,7 +7444,7 @@ LiquidGlassCommon.set setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7291,7 +7471,7 @@ LiquidGlassCommon.setAccessibilityIdentifier setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7317,7 +7497,7 @@ LiquidGlassCommon.setInlineStyle setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -7346,7 +7526,7 @@ LiquidGlassCommon.setMeasuredDimension setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -7376,7 +7556,7 @@ LiquidGlassCommon.setNativeView optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -7398,7 +7578,7 @@ LiquidGlassCommon.setOnTouchListener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -7427,7 +7607,7 @@ LiquidGlassCommon.setProperty showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -7455,7 +7635,7 @@ LiquidGlassCommon.showModal toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -7477,7 +7657,7 @@ LiquidGlassCommon.toString unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7503,7 +7683,7 @@ LiquidGlassCommon.unbind unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7531,7 +7711,7 @@ LiquidGlassCommon.unloadView updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7561,7 +7741,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7595,7 +7775,7 @@ LiquidGlassCommon.addEventListener static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7622,7 +7802,7 @@ LiquidGlassCommon.combineMeasuredStates static getColumn(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) +Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) Gets the value of the Column attached property from a given View. @@ -7650,7 +7830,7 @@ LiquidGlassCommon.getColumn static getColumnSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) +Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) Gets the value of the ColumnSpan attached property from a given View. @@ -7678,7 +7858,7 @@ LiquidGlassCommon.getColumnSpan static getRow(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) +Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) Gets the value of the Row attached property from a given View. @@ -7706,7 +7886,7 @@ LiquidGlassCommon.getRow static getRowSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) +Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) Gets the value of the RowSpan attached property from a given View. @@ -7740,7 +7920,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7780,7 +7960,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7831,7 +8011,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7868,7 +8048,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7905,7 +8085,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7941,7 +8121,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7978,7 +8158,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -8014,7 +8194,7 @@ LiquidGlassCommon.resolveSizeAndState static setColumn(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) +Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) Sets the value of the Column attached property to a given View. @@ -8043,7 +8223,7 @@ LiquidGlassCommon.setColumn static setColumnSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) +Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) Sets the value of the ColumnSpan attached property to a given View. @@ -8072,7 +8252,7 @@ LiquidGlassCommon.setColumnSpan static setRow(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) +Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) Sets the value of the Row attached property to a given View. @@ -8101,7 +8281,7 @@ LiquidGlassCommon.setRow static setRowSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) +Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) Sets the value of the RowSpan attached property to a given View. diff --git a/content/api/classes/LiquidGlassContainer.md b/content/api/classes/LiquidGlassContainer.md index 666ad83b..8da5795a 100644 --- a/content/api/classes/LiquidGlassContainer.md +++ b/content/api/classes/LiquidGlassContainer.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/liquid-glass-container/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/liquid-glass-container/index.d.ts#L3) +Defined in: [ui/layouts/liquid-glass-container/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/liquid-glass-container/index.d.ts#L3) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/layouts/liquid-glass-container/index.d.ts:3](https://github.com/ new LiquidGlassContainer(): LiquidGlassContainer; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -38,7 +38,7 @@ LiquidGlassContainerCommon.constructor optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -56,7 +56,7 @@ LiquidGlassContainerCommon._androidContentDescriptionUpdated _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -72,7 +72,7 @@ LiquidGlassContainerCommon._automaticallyAdjustsScrollViewInsets protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -88,7 +88,7 @@ LiquidGlassContainerCommon._closeModalCallback _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -104,7 +104,7 @@ LiquidGlassContainerCommon._context _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -120,7 +120,7 @@ LiquidGlassContainerCommon._cssState protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -136,7 +136,7 @@ LiquidGlassContainerCommon._defaultPaddingBottom protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -152,7 +152,7 @@ LiquidGlassContainerCommon._defaultPaddingLeft protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -168,7 +168,7 @@ LiquidGlassContainerCommon._defaultPaddingRight protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -184,7 +184,7 @@ LiquidGlassContainerCommon._defaultPaddingTop _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -200,7 +200,7 @@ LiquidGlassContainerCommon._domId _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -216,7 +216,7 @@ LiquidGlassContainerCommon._ignoreFlexMinWidthHeightReset _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,7 +232,7 @@ LiquidGlassContainerCommon._isAddedToNativeVisualTree protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -248,7 +248,7 @@ LiquidGlassContainerCommon._isPaddingRelative _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -258,13 +258,33 @@ LiquidGlassContainerCommon._isStyleScopeHost *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +```ts +LiquidGlassContainerCommon._nativeWindow +``` + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -280,7 +300,7 @@ LiquidGlassContainerCommon._oldBottom _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -296,7 +316,7 @@ LiquidGlassContainerCommon._oldLeft _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -312,7 +332,7 @@ LiquidGlassContainerCommon._oldRight _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -328,7 +348,7 @@ LiquidGlassContainerCommon._oldTop _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -344,7 +364,7 @@ LiquidGlassContainerCommon._styleScope _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -366,7 +386,7 @@ LiquidGlassContainerCommon._suspendNativeUpdatesCount accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -386,7 +406,7 @@ LiquidGlassContainerCommon.accessibilityHidden accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -406,7 +426,7 @@ LiquidGlassContainerCommon.accessibilityHint accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -428,7 +448,7 @@ LiquidGlassContainerCommon.accessibilityIdentifier accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -446,7 +466,7 @@ LiquidGlassContainerCommon.accessibilityIgnoresInvertColors accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -466,7 +486,7 @@ LiquidGlassContainerCommon.accessibilityLabel accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -487,7 +507,7 @@ LiquidGlassContainerCommon.accessibilityLanguage accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -507,7 +527,7 @@ LiquidGlassContainerCommon.accessibilityLiveRegion accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -527,7 +547,7 @@ LiquidGlassContainerCommon.accessibilityMediaSession accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -547,7 +567,7 @@ LiquidGlassContainerCommon.accessibilityRole accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -567,7 +587,7 @@ LiquidGlassContainerCommon.accessibilityState accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -587,7 +607,7 @@ LiquidGlassContainerCommon.accessibilityValue accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -607,7 +627,7 @@ LiquidGlassContainerCommon.accessible alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -627,7 +647,7 @@ LiquidGlassContainerCommon.alignSelf android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -645,7 +665,7 @@ LiquidGlassContainerCommon.android androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -665,7 +685,7 @@ LiquidGlassContainerCommon.androidDynamicElevationOffset androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -685,7 +705,7 @@ LiquidGlassContainerCommon.androidElevation androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -701,7 +721,7 @@ LiquidGlassContainerCommon.androidOverflowEdge automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -719,7 +739,7 @@ LiquidGlassContainerCommon.automationText background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -739,7 +759,7 @@ LiquidGlassContainerCommon.background backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -759,7 +779,7 @@ LiquidGlassContainerCommon.backgroundColor backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -779,7 +799,7 @@ LiquidGlassContainerCommon.backgroundImage bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -799,7 +819,7 @@ LiquidGlassContainerCommon.bindingContext borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -819,7 +839,7 @@ LiquidGlassContainerCommon.borderBottomColor borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -839,7 +859,7 @@ LiquidGlassContainerCommon.borderBottomLeftRadius borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -859,7 +879,7 @@ LiquidGlassContainerCommon.borderBottomRightRadius borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -879,7 +899,7 @@ LiquidGlassContainerCommon.borderBottomWidth borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -899,7 +919,7 @@ LiquidGlassContainerCommon.borderColor borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -919,7 +939,7 @@ LiquidGlassContainerCommon.borderLeftColor borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -943,7 +963,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -963,7 +983,7 @@ LiquidGlassContainerCommon.borderRadius borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -983,7 +1003,7 @@ LiquidGlassContainerCommon.borderRightColor borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -1003,7 +1023,7 @@ LiquidGlassContainerCommon.borderRightWidth borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1023,7 +1043,7 @@ LiquidGlassContainerCommon.borderTopColor borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1043,7 +1063,7 @@ LiquidGlassContainerCommon.borderTopLeftRadius borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1063,7 +1083,7 @@ LiquidGlassContainerCommon.borderTopRightRadius borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1087,7 +1107,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1107,7 +1127,7 @@ LiquidGlassContainerCommon.borderWidth boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1127,7 +1147,7 @@ LiquidGlassContainerCommon.boxShadow className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1147,7 +1167,7 @@ LiquidGlassContainerCommon.className clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1167,7 +1187,7 @@ LiquidGlassContainerCommon.clipToBounds col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1187,7 +1207,7 @@ LiquidGlassContainerCommon.col color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1207,7 +1227,7 @@ LiquidGlassContainerCommon.color colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1227,7 +1247,7 @@ LiquidGlassContainerCommon.colSpan column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1247,7 +1267,7 @@ LiquidGlassContainerCommon.column columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1265,7 +1285,7 @@ LiquidGlassContainerCommon.columnSpan cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1281,7 +1301,7 @@ LiquidGlassContainerCommon.cssClasses cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1297,7 +1317,7 @@ LiquidGlassContainerCommon.cssPseudoClasses cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1316,7 +1336,7 @@ LiquidGlassContainerCommon.cssType defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1336,7 +1356,7 @@ LiquidGlassContainerCommon.defaultVisualState direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1356,7 +1376,7 @@ LiquidGlassContainerCommon.direction dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1376,7 +1396,7 @@ LiquidGlassContainerCommon.dock domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1392,7 +1412,7 @@ LiquidGlassContainerCommon.domNode effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1408,7 +1428,7 @@ LiquidGlassContainerCommon.effectiveBorderBottomWidth effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1424,7 +1444,7 @@ LiquidGlassContainerCommon.effectiveBorderLeftWidth effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1440,7 +1460,7 @@ LiquidGlassContainerCommon.effectiveBorderRightWidth effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1450,13 +1470,29 @@ LiquidGlassContainerCommon.effectiveBorderTopWidth *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassContainerCommon.effectiveColumnGap +``` + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1472,7 +1508,7 @@ LiquidGlassContainerCommon.effectiveHeight effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1488,7 +1524,7 @@ LiquidGlassContainerCommon.effectiveLeft effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1504,7 +1540,7 @@ LiquidGlassContainerCommon.effectiveMarginBottom effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1520,7 +1556,7 @@ LiquidGlassContainerCommon.effectiveMarginLeft effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1536,7 +1572,7 @@ LiquidGlassContainerCommon.effectiveMarginRight effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1546,13 +1582,45 @@ LiquidGlassContainerCommon.effectiveMarginTop *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassContainerCommon.effectiveMaxHeight +``` + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassContainerCommon.effectiveMaxWidth +``` + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1568,7 +1636,7 @@ LiquidGlassContainerCommon.effectiveMinHeight effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1578,13 +1646,29 @@ LiquidGlassContainerCommon.effectiveMinWidth *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +LiquidGlassContainerCommon.effectiveRowGap +``` + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1600,7 +1684,7 @@ LiquidGlassContainerCommon.effectiveTop effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1616,7 +1700,7 @@ LiquidGlassContainerCommon.effectiveWidth flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1636,7 +1720,7 @@ LiquidGlassContainerCommon.flex flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1656,7 +1740,7 @@ LiquidGlassContainerCommon.flexFlow flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1676,7 +1760,7 @@ LiquidGlassContainerCommon.flexGrow flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1696,7 +1780,7 @@ LiquidGlassContainerCommon.flexShrink flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1716,7 +1800,7 @@ LiquidGlassContainerCommon.flexWrapBefore height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1736,7 +1820,7 @@ LiquidGlassContainerCommon.height hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1756,7 +1840,7 @@ LiquidGlassContainerCommon.hidden horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1776,7 +1860,7 @@ LiquidGlassContainerCommon.horizontalAlignment id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1796,7 +1880,7 @@ LiquidGlassContainerCommon.id ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1814,7 +1898,7 @@ LiquidGlassContainerCommon.ignoreTouchAnimation ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1832,7 +1916,7 @@ LiquidGlassContainerCommon.ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1852,7 +1936,7 @@ LiquidGlassContainerCommon.iosAccessibilityAdjustsFontSize iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1872,7 +1956,7 @@ LiquidGlassContainerCommon.iosAccessibilityMaxFontScale iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1892,7 +1976,7 @@ LiquidGlassContainerCommon.iosAccessibilityMinFontScale iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1912,7 +1996,7 @@ LiquidGlassContainerCommon.iosGlassEffect iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1932,7 +2016,7 @@ LiquidGlassContainerCommon.iosIgnoreSafeArea iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1952,7 +2036,7 @@ LiquidGlassContainerCommon.iosOverflowSafeArea iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1972,7 +2056,7 @@ LiquidGlassContainerCommon.iosOverflowSafeAreaEnabled isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1992,7 +2076,7 @@ LiquidGlassContainerCommon.isCollapsed isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -2012,7 +2096,7 @@ LiquidGlassContainerCommon.isEnabled isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2030,7 +2114,7 @@ LiquidGlassContainerCommon.isLayoutValid isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -2052,7 +2136,7 @@ LiquidGlassContainerCommon.isPassThroughParentEnabled isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2072,7 +2156,7 @@ LiquidGlassContainerCommon.isUserInteractionEnabled left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2097,7 +2181,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2117,7 +2201,7 @@ LiquidGlassContainerCommon.margin marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2137,7 +2221,7 @@ LiquidGlassContainerCommon.marginBottom marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2157,7 +2241,7 @@ LiquidGlassContainerCommon.marginLeft marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2177,7 +2261,7 @@ LiquidGlassContainerCommon.marginRight marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2191,63 +2275,84 @@ LiquidGlassContainerCommon.marginTop *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -LiquidGlassContainerCommon.minHeight +LiquidGlassContainerCommon.maxHeight ``` *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -LiquidGlassContainerCommon.minWidth +LiquidGlassContainerCommon.maxWidth ``` *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +```ts +LiquidGlassContainerCommon.minHeight +``` + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from ```ts -LiquidGlassContainerCommon.mIsRootView +LiquidGlassContainerCommon.minWidth ``` *** @@ -2258,7 +2363,7 @@ LiquidGlassContainerCommon.mIsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2276,7 +2381,7 @@ LiquidGlassContainerCommon.modal optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2294,7 +2399,7 @@ LiquidGlassContainerCommon.nativeBackgroundState nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2312,7 +2417,7 @@ LiquidGlassContainerCommon.nativeViewProtected opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2332,7 +2437,7 @@ LiquidGlassContainerCommon.opacity order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2352,7 +2457,7 @@ LiquidGlassContainerCommon.order originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2372,7 +2477,7 @@ LiquidGlassContainerCommon.originX originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2396,7 +2501,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2416,7 +2521,7 @@ LiquidGlassContainerCommon.padding paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2436,7 +2541,7 @@ LiquidGlassContainerCommon.paddingBottom paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2456,7 +2561,7 @@ LiquidGlassContainerCommon.paddingLeft paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2476,7 +2581,7 @@ LiquidGlassContainerCommon.paddingRight paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2496,7 +2601,7 @@ LiquidGlassContainerCommon.paddingTop parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2514,7 +2619,7 @@ LiquidGlassContainerCommon.parent perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2535,7 +2640,7 @@ LiquidGlassContainerCommon.perspective recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2551,7 +2656,7 @@ LiquidGlassContainerCommon.recycleNativeView reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2571,7 +2676,7 @@ LiquidGlassContainerCommon.reusable rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2591,7 +2696,7 @@ LiquidGlassContainerCommon.rotate rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2611,7 +2716,7 @@ LiquidGlassContainerCommon.rotateX rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2631,7 +2736,7 @@ LiquidGlassContainerCommon.rotateY row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2651,7 +2756,7 @@ LiquidGlassContainerCommon.row rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2671,7 +2776,7 @@ LiquidGlassContainerCommon.rowSpan scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2691,7 +2796,7 @@ LiquidGlassContainerCommon.scaleX scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2711,7 +2816,7 @@ LiquidGlassContainerCommon.scaleY sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2731,7 +2836,7 @@ LiquidGlassContainerCommon.sharedTransitionIgnore sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2751,7 +2856,7 @@ LiquidGlassContainerCommon.sharedTransitionTag statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2780,7 +2885,7 @@ LiquidGlassContainerCommon.statusBarStyle testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2798,7 +2903,7 @@ LiquidGlassContainerCommon.testID top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2820,7 +2925,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2838,7 +2943,7 @@ LiquidGlassContainerCommon.touchAnimation touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2856,7 +2961,7 @@ LiquidGlassContainerCommon.touchDelay transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2874,7 +2979,7 @@ LiquidGlassContainerCommon.transitionId translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2894,7 +2999,7 @@ LiquidGlassContainerCommon.translateX translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2914,7 +3019,7 @@ LiquidGlassContainerCommon.translateY verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2934,7 +3039,7 @@ LiquidGlassContainerCommon.verticalAlignment viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2952,7 +3057,7 @@ LiquidGlassContainerCommon.viewController visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2972,7 +3077,7 @@ LiquidGlassContainerCommon.visibility visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2992,7 +3097,7 @@ LiquidGlassContainerCommon.visionHoverStyle visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3012,7 +3117,7 @@ LiquidGlassContainerCommon.visionIgnoreHoverStyle width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3032,7 +3137,7 @@ LiquidGlassContainerCommon.width static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3054,7 +3159,7 @@ LiquidGlassContainerCommon.accessibilityBlurEvent static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3076,7 +3181,7 @@ LiquidGlassContainerCommon.accessibilityFocusChangedEvent static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3098,7 +3203,7 @@ LiquidGlassContainerCommon.accessibilityFocusEvent static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3114,7 +3219,7 @@ LiquidGlassContainerCommon.accessibilityPerformEscapeEvent static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3130,13 +3235,37 @@ LiquidGlassContainerCommon.androidOverflowInsetEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +```ts +LiquidGlassContainerCommon.closedModallyEvent +``` + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3158,7 +3287,7 @@ LiquidGlassContainerCommon.createdEvent static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3180,7 +3309,7 @@ LiquidGlassContainerCommon.disposeNativeViewEvent static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3202,7 +3331,7 @@ LiquidGlassContainerCommon.layoutChangedEvent static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3224,7 +3353,7 @@ LiquidGlassContainerCommon.loadedEvent static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3246,7 +3375,7 @@ LiquidGlassContainerCommon.propertyChangeEvent static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3268,7 +3397,7 @@ LiquidGlassContainerCommon.showingModallyEvent static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3290,7 +3419,7 @@ LiquidGlassContainerCommon.shownModallyEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3314,7 +3443,7 @@ LiquidGlassContainerCommon.unloadedEvent get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3326,7 +3455,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3354,7 +3483,7 @@ LiquidGlassContainerCommon.backgroundPosition get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3366,7 +3495,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3394,7 +3523,7 @@ LiquidGlassContainerCommon.backgroundRepeat get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3406,7 +3535,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3434,7 +3563,7 @@ LiquidGlassContainerCommon.backgroundSize get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3446,7 +3575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3474,7 +3603,7 @@ LiquidGlassContainerCommon.class get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3486,7 +3615,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3514,7 +3643,7 @@ LiquidGlassContainerCommon.effectivePaddingBottom get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3526,7 +3655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3554,7 +3683,7 @@ LiquidGlassContainerCommon.effectivePaddingLeft get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3566,7 +3695,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3594,7 +3723,7 @@ LiquidGlassContainerCommon.effectivePaddingRight get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3606,7 +3735,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3634,7 +3763,7 @@ LiquidGlassContainerCommon.effectivePaddingTop get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3656,7 +3785,7 @@ LiquidGlassContainerCommon.isLoaded get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3668,7 +3797,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3696,7 +3825,7 @@ LiquidGlassContainerCommon.nativeView get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3720,7 +3849,7 @@ LiquidGlassContainerCommon.page get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3734,7 +3863,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3762,7 +3891,7 @@ LiquidGlassContainerCommon.parentNode get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3776,7 +3905,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3806,7 +3935,7 @@ LiquidGlassContainerCommon.style get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3818,7 +3947,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3846,7 +3975,7 @@ LiquidGlassContainerCommon.textTransform get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3870,7 +3999,7 @@ LiquidGlassContainerCommon.typeName get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3892,7 +4021,7 @@ LiquidGlassContainerCommon.visualState _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3919,7 +4048,7 @@ LiquidGlassContainerCommon._addView _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3948,7 +4077,7 @@ LiquidGlassContainerCommon._addViewCore _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3984,7 +4113,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4020,7 +4149,7 @@ LiquidGlassContainerCommon._applyGlassEffect _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4052,7 +4181,7 @@ LiquidGlassContainerCommon._applyXmlAttribute _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4086,7 +4215,7 @@ LiquidGlassContainerCommon._batchUpdate _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4112,7 +4241,7 @@ LiquidGlassContainerCommon._childIndexToNativeChildIndex _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4138,7 +4267,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4168,7 +4297,7 @@ LiquidGlassContainerCommon._createPropertyChangeData _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4190,7 +4319,7 @@ LiquidGlassContainerCommon._dialogClosed _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4216,7 +4345,7 @@ LiquidGlassContainerCommon._eachLayoutView _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4242,7 +4371,7 @@ LiquidGlassContainerCommon._emit _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4256,13 +4385,37 @@ LiquidGlassContainerCommon._getNativeViewsCount *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +```ts +LiquidGlassContainerCommon._getRootModalHost +``` + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4285,7 +4438,7 @@ LiquidGlassContainerCommon._getRootModalViews _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4316,7 +4469,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4344,7 +4497,7 @@ LiquidGlassContainerCommon._handleLivesync _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4372,7 +4525,7 @@ LiquidGlassContainerCommon._hasAncestorView protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4399,7 +4552,7 @@ LiquidGlassContainerCommon._hideNativeModalView _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4425,7 +4578,7 @@ LiquidGlassContainerCommon._inheritStyles _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4451,7 +4604,7 @@ LiquidGlassContainerCommon._inheritStyleScope _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4474,7 +4627,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4502,7 +4655,7 @@ LiquidGlassContainerCommon._observe _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4524,7 +4677,7 @@ LiquidGlassContainerCommon._onAttachedToWindow _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4546,7 +4699,7 @@ LiquidGlassContainerCommon._onDetachedFromWindow _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4568,7 +4721,7 @@ LiquidGlassContainerCommon._onRootViewReset optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4590,7 +4743,7 @@ LiquidGlassContainerCommon._onSizeChanged _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4616,7 +4769,7 @@ LiquidGlassContainerCommon._parentChanged protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4636,7 +4789,7 @@ LiquidGlassContainerCommon._raiseLayoutChangedEvent protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4656,7 +4809,7 @@ LiquidGlassContainerCommon._raiseShowingModallyEvent protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4676,7 +4829,7 @@ LiquidGlassContainerCommon._raiseShownModallyEvent _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4704,7 +4857,7 @@ LiquidGlassContainerCommon._registerLayoutChild _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4732,7 +4885,7 @@ LiquidGlassContainerCommon._removeView _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4760,7 +4913,7 @@ LiquidGlassContainerCommon._removeViewCore _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4788,7 +4941,7 @@ LiquidGlassContainerCommon._removeViewFromNativeVisualTree _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4814,7 +4967,7 @@ LiquidGlassContainerCommon._resumeNativeUpdates _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4840,7 +4993,7 @@ LiquidGlassContainerCommon._setDefaultPaddings _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4869,7 +5022,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4900,7 +5053,7 @@ LiquidGlassContainerCommon._setupUI _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4929,7 +5082,7 @@ LiquidGlassContainerCommon._setValue _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4952,7 +5105,7 @@ LiquidGlassContainerCommon._shouldDelayLayout protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4979,7 +5132,7 @@ LiquidGlassContainerCommon._showNativeModalView _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5005,7 +5158,7 @@ LiquidGlassContainerCommon._suspendNativeUpdates _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5034,7 +5187,7 @@ LiquidGlassContainerCommon._tearDownUI _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -5065,7 +5218,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5095,7 +5248,7 @@ LiquidGlassContainerCommon._updateStyleScope accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5123,7 +5276,7 @@ LiquidGlassContainerCommon.accessibilityAnnouncement accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5145,7 +5298,7 @@ LiquidGlassContainerCommon.accessibilityScreenChanged addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -5177,7 +5330,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5208,7 +5361,7 @@ LiquidGlassContainerCommon.addEventListener protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5238,7 +5391,7 @@ LiquidGlassContainerCommon.addPseudoClass animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5266,7 +5419,7 @@ LiquidGlassContainerCommon.animate bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5293,7 +5446,7 @@ LiquidGlassContainerCommon.bind callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5313,7 +5466,7 @@ LiquidGlassContainerCommon.callLoaded callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5333,7 +5486,7 @@ LiquidGlassContainerCommon.callUnloaded closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5361,7 +5514,7 @@ LiquidGlassContainerCommon.closeModal createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5389,7 +5542,7 @@ LiquidGlassContainerCommon.createAnimation createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5412,7 +5565,7 @@ LiquidGlassContainerCommon.createNativeView protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5442,7 +5595,7 @@ LiquidGlassContainerCommon.deletePseudoClass destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5474,7 +5627,7 @@ LiquidGlassContainerCommon.destroyNode disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5496,7 +5649,7 @@ LiquidGlassContainerCommon.disposeNativeView eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5524,7 +5677,7 @@ LiquidGlassContainerCommon.eachChild eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5552,7 +5705,7 @@ LiquidGlassContainerCommon.eachChildView eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5580,7 +5733,7 @@ LiquidGlassContainerCommon.eachLayoutChild ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5604,7 +5757,7 @@ LiquidGlassContainerCommon.ensureDomNode focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5627,7 +5780,7 @@ LiquidGlassContainerCommon.focus get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5655,7 +5808,7 @@ LiquidGlassContainerCommon.get getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5677,7 +5830,7 @@ LiquidGlassContainerCommon.getActualSize getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5705,7 +5858,7 @@ LiquidGlassContainerCommon.getChildAt getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5733,7 +5886,7 @@ LiquidGlassContainerCommon.getChildIndex getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5755,7 +5908,7 @@ LiquidGlassContainerCommon.getChildrenCount getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5777,7 +5930,7 @@ LiquidGlassContainerCommon.getClosestWindow getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5797,7 +5950,7 @@ LiquidGlassContainerCommon.getEffectivePaddingShorthand getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5823,7 +5976,7 @@ LiquidGlassContainerCommon.getGestureObservers getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5845,7 +5998,7 @@ LiquidGlassContainerCommon.getLocationInWindow getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5867,7 +6020,7 @@ LiquidGlassContainerCommon.getLocationOnScreen getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5895,7 +6048,7 @@ LiquidGlassContainerCommon.getLocationRelativeTo getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5917,7 +6070,7 @@ LiquidGlassContainerCommon.getMeasuredHeight getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5937,7 +6090,7 @@ LiquidGlassContainerCommon.getMeasuredState getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5953,13 +6106,40 @@ LiquidGlassContainerCommon.getMeasuredWidth *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +```ts +LiquidGlassContainerCommon.getNativeWindow +``` + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5981,7 +6161,7 @@ LiquidGlassContainerCommon.getSafeAreaInsets getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -6015,7 +6195,7 @@ LiquidGlassContainerCommon.getViewByDomId getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -6049,7 +6229,7 @@ LiquidGlassContainerCommon.getViewById optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -6071,7 +6251,7 @@ LiquidGlassContainerCommon.hasGestureObservers hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -6099,7 +6279,7 @@ LiquidGlassContainerCommon.hasListeners initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6121,7 +6301,7 @@ LiquidGlassContainerCommon.initNativeView insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -6155,7 +6335,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6193,7 +6373,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6224,7 +6404,7 @@ LiquidGlassContainerCommon.layoutNativeView loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6252,7 +6432,7 @@ LiquidGlassContainerCommon.loadView measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6282,7 +6462,7 @@ LiquidGlassContainerCommon.measure notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6321,7 +6501,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6354,7 +6534,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6389,7 +6569,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6420,7 +6600,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6451,7 +6631,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6482,7 +6662,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6514,7 +6694,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6545,7 +6725,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6576,7 +6756,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6606,7 +6786,7 @@ LiquidGlassContainerCommon.on onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6631,7 +6811,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6666,7 +6846,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6697,7 +6877,7 @@ LiquidGlassContainerCommon.onLayout onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6717,7 +6897,7 @@ LiquidGlassContainerCommon.onLoaded onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6747,7 +6927,7 @@ LiquidGlassContainerCommon.onMeasure onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6767,7 +6947,7 @@ LiquidGlassContainerCommon.onResumeNativeUpdates onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6787,7 +6967,7 @@ LiquidGlassContainerCommon.onUnloaded removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6815,7 +6995,7 @@ LiquidGlassContainerCommon.removeChild removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6840,7 +7020,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6870,7 +7050,7 @@ LiquidGlassContainerCommon.removeEventListener requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6892,7 +7072,7 @@ LiquidGlassContainerCommon.requestLayout resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6914,7 +7094,7 @@ LiquidGlassContainerCommon.resetNativeView sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6954,7 +7134,7 @@ LiquidGlassContainerCommon.sendAccessibilityEvent set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6983,7 +7163,7 @@ LiquidGlassContainerCommon.set setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7010,7 +7190,7 @@ LiquidGlassContainerCommon.setAccessibilityIdentifier setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7036,7 +7216,7 @@ LiquidGlassContainerCommon.setInlineStyle setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -7065,7 +7245,7 @@ LiquidGlassContainerCommon.setMeasuredDimension setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -7095,7 +7275,7 @@ LiquidGlassContainerCommon.setNativeView optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -7117,7 +7297,7 @@ LiquidGlassContainerCommon.setOnTouchListener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -7146,7 +7326,7 @@ LiquidGlassContainerCommon.setProperty showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -7174,7 +7354,7 @@ LiquidGlassContainerCommon.showModal stabilizeLayout(): void; ``` -Defined in: [ui/layouts/liquid-glass-container/liquid-glass-container-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/liquid-glass-container/liquid-glass-container-common.ts) +Defined in: [ui/layouts/liquid-glass-container/liquid-glass-container-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/liquid-glass-container/liquid-glass-container-common.ts) #### Returns @@ -7194,7 +7374,7 @@ LiquidGlassContainerCommon.stabilizeLayout toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -7216,7 +7396,7 @@ LiquidGlassContainerCommon.toString unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7242,7 +7422,7 @@ LiquidGlassContainerCommon.unbind unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7270,7 +7450,7 @@ LiquidGlassContainerCommon.unloadView updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7300,7 +7480,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7334,7 +7514,7 @@ LiquidGlassContainerCommon.addEventListener static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7361,7 +7541,7 @@ LiquidGlassContainerCommon.combineMeasuredStates static getLeft(view: View): LengthType; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L16) +Defined in: [ui/layouts/absolute-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L16) Gets the value of the Left property from a given View. @@ -7389,7 +7569,7 @@ LiquidGlassContainerCommon.getLeft static getTop(view: View): LengthType; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L26) +Defined in: [ui/layouts/absolute-layout/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L26) Gets the value of the Top property from a given View. @@ -7423,7 +7603,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7463,7 +7643,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7514,7 +7694,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7551,7 +7731,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7588,7 +7768,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7624,7 +7804,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7661,7 +7841,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7697,7 +7877,7 @@ LiquidGlassContainerCommon.resolveSizeAndState static setLeft(view: View, value: LengthType): void; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L21) +Defined in: [ui/layouts/absolute-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L21) Sets the value of the Left property from a given View. @@ -7726,7 +7906,7 @@ LiquidGlassContainerCommon.setLeft static setTop(view: View, value: LengthType): void; ``` -Defined in: [ui/layouts/absolute-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L31) +Defined in: [ui/layouts/absolute-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/absolute-layout/index.d.ts#L31) Sets the value of the Top property from a given View. diff --git a/content/api/classes/ListPicker.md b/content/api/classes/ListPicker.md index 7a2af7c1..2c22d34a 100644 --- a/content/api/classes/ListPicker.md +++ b/content/api/classes/ListPicker.md @@ -5,7 +5,7 @@ description: Represents an list picker. contributors: false --- -Defined in: [ui/list-picker/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L10) +Defined in: [ui/list-picker/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L10) Represents an list picker. @@ -25,7 +25,7 @@ ListPicker new ListPicker(): ListPicker; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/list-picker/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L19) +Defined in: [ui/list-picker/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L19) Gets the native [android.widget.NumberPicker](http://developer.android.com/reference/android/widget/NumberPicker.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android.widget.NumberPicker](http://developer.android.com/refer androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/list-picker/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L24) +Defined in: [ui/list-picker/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L24) Gets the native iOS [UIPickerView](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS. @@ -1625,7 +1699,7 @@ Gets the native iOS [UIPickerView](http://developer.apple.com/library/prerelease iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1697,7 +1771,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1715,7 +1789,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1769,7 +1843,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1787,7 +1861,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1803,7 +1877,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1821,7 +1895,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi items: any[] | ItemsSource; ``` -Defined in: [ui/list-picker/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L39) +Defined in: [ui/list-picker/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L39) Gets or set the items collection of the ListPicker. The items property can be set to an array or an object defining length and getItem(index) method. @@ -1836,7 +1910,7 @@ The items property can be set to an array or an object defining length and getIt left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1859,7 +1933,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1877,7 +1951,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1895,7 +1969,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1913,7 +1987,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1931,7 +2005,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1943,58 +2017,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2004,7 +2097,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2020,7 +2113,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2036,7 +2129,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2052,7 +2145,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2070,7 +2163,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2088,7 +2181,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2106,7 +2199,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2124,7 +2217,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2140,7 +2233,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2159,7 +2252,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2173,7 +2266,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2191,7 +2284,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2209,7 +2302,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2227,7 +2320,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2245,7 +2338,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2263,7 +2356,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2281,7 +2374,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2299,7 +2392,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2317,7 +2410,7 @@ Gets or sets the scaleY affine transform of the view. selectedIndex: number; ``` -Defined in: [ui/list-picker/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L31) +Defined in: [ui/list-picker/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L31) Gets or sets the selected index. @@ -2331,7 +2424,7 @@ Gets or sets the selected index. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2349,7 +2442,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2367,7 +2460,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2394,7 +2487,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2410,7 +2503,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2430,7 +2523,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2446,7 +2539,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2462,7 +2555,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2478,7 +2571,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2496,7 +2589,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2514,7 +2607,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2532,7 +2625,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2548,7 +2641,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2566,7 +2659,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2584,7 +2677,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2602,7 +2695,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2620,7 +2713,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2640,7 +2733,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2660,7 +2753,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2680,7 +2773,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2694,7 +2787,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2708,13 +2801,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2734,7 +2849,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2754,7 +2869,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2774,7 +2889,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2794,7 +2909,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2814,7 +2929,7 @@ propertyChange static selectedIndexChangeEvent: string; ``` -Defined in: [ui/list-picker/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-picker/index.d.ts#L14) +Defined in: [ui/list-picker/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-picker/index.d.ts#L14) #### Ns Event @@ -2828,7 +2943,7 @@ selectedIndexChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2848,7 +2963,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2868,7 +2983,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2890,7 +3005,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2902,7 +3017,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2928,7 +3043,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2940,7 +3055,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2966,7 +3081,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2978,7 +3093,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3004,7 +3119,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3016,7 +3131,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3042,7 +3157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3054,7 +3169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3080,7 +3195,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3092,7 +3207,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3118,7 +3233,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3130,7 +3245,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3156,7 +3271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3168,7 +3283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3194,7 +3309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3214,7 +3329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3226,7 +3341,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3252,7 +3367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3274,7 +3389,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3288,7 +3403,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3314,7 +3429,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3328,7 +3443,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3356,7 +3471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3368,7 +3483,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3394,7 +3509,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3416,7 +3531,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3436,7 +3551,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3461,7 +3576,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3488,7 +3603,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3522,7 +3637,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3556,7 +3671,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3586,7 +3701,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3618,7 +3733,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3642,7 +3757,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3666,7 +3781,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3694,7 +3809,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3714,7 +3829,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3738,7 +3853,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3762,7 +3877,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3774,13 +3889,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3801,7 +3938,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3830,7 +3967,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3856,7 +3993,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3882,7 +4019,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3907,7 +4044,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3931,7 +4068,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3955,7 +4092,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3976,7 +4113,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4002,7 +4139,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4022,7 +4159,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4042,7 +4179,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4062,7 +4199,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4082,7 +4219,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4106,7 +4243,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4124,7 +4261,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4142,7 +4279,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4160,7 +4297,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4186,7 +4323,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4212,7 +4349,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4238,7 +4375,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4262,7 +4399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4286,7 +4423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4313,7 +4450,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4342,7 +4479,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4369,7 +4506,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4390,7 +4527,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4415,7 +4552,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4439,7 +4576,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4469,7 +4606,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4497,7 +4634,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4523,7 +4660,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4547,7 +4684,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4576,7 +4713,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4604,7 +4741,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4630,7 +4767,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4655,7 +4792,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4673,7 +4810,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4691,7 +4828,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4717,7 +4854,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4743,7 +4880,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4764,7 +4901,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4792,7 +4929,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4822,7 +4959,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4842,7 +4979,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4868,7 +5005,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4894,7 +5031,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4916,7 +5053,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4937,7 +5074,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4963,7 +5100,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4983,7 +5120,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5003,7 +5140,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5021,7 +5158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5045,7 +5182,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5065,7 +5202,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5085,7 +5222,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5111,7 +5248,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5131,7 +5268,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5149,7 +5286,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5163,13 +5300,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5189,7 +5351,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5221,7 +5383,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5253,7 +5415,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5273,7 +5435,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5299,7 +5461,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5324,7 +5486,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5360,7 +5522,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5389,7 +5551,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5415,7 +5577,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5443,7 +5605,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5480,7 +5642,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5511,7 +5673,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5544,7 +5706,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5573,7 +5735,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5602,7 +5764,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5631,7 +5793,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5661,7 +5823,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5690,7 +5852,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5719,7 +5881,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5747,7 +5909,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5770,7 +5932,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5803,7 +5965,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5832,7 +5994,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5850,7 +6012,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5878,7 +6040,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5896,7 +6058,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5917,7 +6079,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5945,7 +6107,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5965,7 +6127,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5985,7 +6147,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6023,7 +6185,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6050,7 +6212,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6075,7 +6237,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6099,7 +6261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6126,7 +6288,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6154,7 +6316,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6174,7 +6336,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6201,7 +6363,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6227,7 +6389,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6247,7 +6409,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6271,7 +6433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6297,7 +6459,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6325,7 +6487,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6357,7 +6519,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6388,7 +6550,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6426,7 +6588,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6475,7 +6637,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6510,7 +6672,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6545,7 +6707,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6579,7 +6741,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6614,7 +6776,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ListView.md b/content/api/classes/ListView.md index 209a1939..b5d519a3 100644 --- a/content/api/classes/ListView.md +++ b/content/api/classes/ListView.md @@ -5,7 +5,7 @@ description: Represents a view that shows items in a vertically scrolling list. contributors: false --- -Defined in: [ui/list-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L14) +Defined in: [ui/list-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L14) Represents a view that shows items in a vertically scrolling list. @@ -25,7 +25,7 @@ ListView new ListView(): ListView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/list-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L43) +Defined in: [ui/list-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L43) Gets the native [android widget](http://developer.android.com/reference/android/widget/ListView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/list-view/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L48) +Defined in: [ui/list-view/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L48) Gets the native [iOS view](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableView_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1625,7 +1699,7 @@ Gets the native [iOS view](https://developer.apple.com/library/ios/documentation iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosEstimatedRowHeight: LengthType; ``` -Defined in: [ui/list-view/index.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L106) +Defined in: [ui/list-view/index.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L106) Gets or set the estimated height of rows in the ListView. The default value is 44px. @@ -1694,7 +1768,7 @@ The default value is 44px. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1712,7 +1786,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1730,7 +1804,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1748,7 +1822,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1760,13 +1834,30 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop *** +### iosSearchInsetBehavior + +```ts +iosSearchInsetBehavior: "always" | "never" | "automatic" | "scrollableAxes"; +``` + +Defined in: [ui/list-view/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L174) + +iOS-only. Controls the underlying UIScrollView's `contentInsetAdjustmentBehavior` +when `showSearch` is enabled. Defaults to `'automatic'` when the search controller +is hosted on `navigationItem.searchController` (UINavigationController context), +and `'never'` otherwise (when the search bar is the `tableHeaderView`). + +#### Ns Property + +*** + ### isCollapsed ```ts isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1784,7 +1875,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1802,7 +1893,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1818,7 +1909,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1836,7 +1927,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi itemIdGenerator: (item: any, index: number, items: any) => number; ``` -Defined in: [ui/list-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L84) +Defined in: [ui/list-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L84) Item id generator @@ -1862,7 +1953,7 @@ Item id generator items: any[] | ItemsSource; ``` -Defined in: [ui/list-view/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L56) +Defined in: [ui/list-view/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L56) Gets or set the items collection of the ListView. The items property can be set to an array or an object defining length and getItem(index) method. @@ -1877,7 +1968,7 @@ The items property can be set to an array or an object defining length and getIt itemTemplate: string | Template; ``` -Defined in: [ui/list-view/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L63) +Defined in: [ui/list-view/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L63) Gets or set the item template of the ListView. @@ -1891,7 +1982,7 @@ Gets or set the item template of the ListView. itemTemplates: string | KeyedTemplate[]; ``` -Defined in: [ui/list-view/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L70) +Defined in: [ui/list-view/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L70) Gets or set the list of item templates for the item template selector @@ -1907,7 +1998,7 @@ itemTemplateSelector: | ((item: any, index: number, items: any) => string); ``` -Defined in: [ui/list-view/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L77) +Defined in: [ui/list-view/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L77) A function that returns the appropriate ket template based on the data item. @@ -1921,7 +2012,7 @@ A function that returns the appropriate ket template based on the data item. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1944,7 +2035,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1962,7 +2053,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1980,7 +2071,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1998,7 +2089,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2016,7 +2107,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2028,58 +2119,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2089,7 +2199,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2105,7 +2215,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2121,7 +2231,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2137,7 +2247,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2155,7 +2265,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2173,7 +2283,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2191,7 +2301,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2209,7 +2319,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2225,7 +2335,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2244,7 +2354,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2258,7 +2368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2276,7 +2386,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2294,7 +2404,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2312,7 +2422,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2330,7 +2440,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2348,7 +2458,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowHeight: LengthType; ``` -Defined in: [ui/list-view/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L98) +Defined in: [ui/list-view/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L98) Gets or set row height of the ListView. @@ -2362,7 +2472,7 @@ Gets or set row height of the ListView. rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2380,7 +2490,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2398,7 +2508,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2416,7 +2526,7 @@ Gets or sets the scaleY affine transform of the view. searchAutoHide: boolean; ``` -Defined in: [ui/list-view/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L164) +Defined in: [ui/list-view/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L164) Gets or sets whether the search bar should auto-hide when scrolling (iOS only). When true, the search bar will automatically hide when the user scrolls down @@ -2433,7 +2543,7 @@ Only applies when showSearch is true and running on iOS with navigation controll sectioned: boolean; ``` -Defined in: [ui/list-view/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L146) +Defined in: [ui/list-view/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L146) Gets or sets a value indicating whether the ListView should treat items as sectioned data. When enabled, items array should contain objects with 'items' property for section content. @@ -2449,7 +2559,7 @@ Each section will have its own sticky header. separatorColor: Color; ``` -Defined in: [ui/list-view/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L91) +Defined in: [ui/list-view/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L91) Gets or set the items separator line color of the ListView. @@ -2463,7 +2573,7 @@ Gets or set the items separator line color of the ListView. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2481,7 +2591,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2499,7 +2609,7 @@ Gets or sets the shared transition tag for animated view transitions showSearch: boolean; ``` -Defined in: [ui/list-view/index.d.ts:154](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L154) +Defined in: [ui/list-view/index.d.ts:154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L154) Gets or sets whether search functionality is enabled. When enabled on iOS, uses native UISearchController for optimal performance. @@ -2514,7 +2624,7 @@ When enabled on iOS, uses native UISearchController for optimal performance. statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2541,7 +2651,7 @@ False value will make this property have no effect. stickyHeader: boolean; ``` -Defined in: [ui/list-view/index.d.ts:114](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L114) +Defined in: [ui/list-view/index.d.ts:114](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L114) Gets or sets a value indicating whether the ListView should display sticky headers. When enabled, headers will remain visible at the top while scrolling through sections. @@ -2556,7 +2666,7 @@ When enabled, headers will remain visible at the top while scrolling through sec stickyHeaderHeight: LengthType; ``` -Defined in: [ui/list-view/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L128) +Defined in: [ui/list-view/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L128) Gets or sets the height of sticky headers. @@ -2570,7 +2680,7 @@ Gets or sets the height of sticky headers. stickyHeaderTemplate: string | Template; ``` -Defined in: [ui/list-view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L121) +Defined in: [ui/list-view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L121) Gets or sets the template for sticky headers. @@ -2584,7 +2694,7 @@ Gets or sets the template for sticky headers. stickyHeaderTopPadding: boolean; ``` -Defined in: [ui/list-view/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L137) +Defined in: [ui/list-view/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L137) Gets or sets a value indicating whether the ListView should show default top padding above section headers. When set to false (default), removes iOS default spacing for a tighter layout. @@ -2600,7 +2710,7 @@ When set to true, preserves iOS default ~4-5px spacing above section headers. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2616,7 +2726,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2636,7 +2746,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2652,7 +2762,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2668,7 +2778,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2684,7 +2794,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2702,7 +2812,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2720,7 +2830,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2738,7 +2848,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2754,7 +2864,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2772,7 +2882,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2790,7 +2900,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2808,7 +2918,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2826,7 +2936,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2846,7 +2956,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2866,7 +2976,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2886,7 +2996,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2900,7 +3010,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2914,13 +3024,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2940,7 +3072,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2960,7 +3092,7 @@ disposeNativeView static itemLoadingEvent: string; ``` -Defined in: [ui/list-view/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L20) +Defined in: [ui/list-view/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L20) String value used when hooking to itemLoading event. @@ -2976,7 +3108,7 @@ itemLoading static itemTapEvent: string; ``` -Defined in: [ui/list-view/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L26) +Defined in: [ui/list-view/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L26) String value used when hooking to itemTap event. @@ -2992,7 +3124,7 @@ itemTap static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3012,7 +3144,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3032,7 +3164,7 @@ loaded static loadMoreItemsEvent: string; ``` -Defined in: [ui/list-view/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L32) +Defined in: [ui/list-view/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L32) String value used when hooking to loadMoreItems event. @@ -3048,7 +3180,7 @@ itemLoading static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3068,7 +3200,7 @@ propertyChange static searchChangeEvent: string; ``` -Defined in: [ui/list-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L38) +Defined in: [ui/list-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L38) String value used when hooking to searchChange event. @@ -3084,7 +3216,7 @@ searchChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3104,7 +3236,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3124,7 +3256,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3146,7 +3278,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3158,7 +3290,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3184,7 +3316,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3196,7 +3328,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3222,7 +3354,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3234,7 +3366,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3260,7 +3392,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3272,7 +3404,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3298,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3310,7 +3442,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3336,7 +3468,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3348,7 +3480,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3374,7 +3506,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3386,7 +3518,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3412,7 +3544,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3424,7 +3556,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3450,7 +3582,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3470,7 +3602,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3482,7 +3614,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3508,7 +3640,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3530,7 +3662,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3544,7 +3676,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3570,7 +3702,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3584,7 +3716,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3612,7 +3744,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3624,7 +3756,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3650,7 +3782,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3672,7 +3804,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3692,7 +3824,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3717,7 +3849,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3744,7 +3876,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3778,7 +3910,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3812,7 +3944,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3842,7 +3974,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3874,7 +4006,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3898,7 +4030,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3922,7 +4054,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3950,7 +4082,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3970,7 +4102,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3994,7 +4126,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4018,7 +4150,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4030,13 +4162,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4057,7 +4211,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4086,7 +4240,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4112,7 +4266,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4138,7 +4292,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4163,7 +4317,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4187,7 +4341,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4211,7 +4365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4232,7 +4386,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4258,7 +4412,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4278,7 +4432,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4298,7 +4452,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4318,7 +4472,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4338,7 +4492,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4362,7 +4516,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4380,7 +4534,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4398,7 +4552,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4416,7 +4570,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4442,7 +4596,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4468,7 +4622,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4494,7 +4648,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4518,7 +4672,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4542,7 +4696,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4569,7 +4723,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4598,7 +4752,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4625,7 +4779,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4646,7 +4800,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4671,7 +4825,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4695,7 +4849,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4725,7 +4879,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4753,7 +4907,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4779,7 +4933,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4803,7 +4957,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4832,7 +4986,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4860,7 +5014,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4886,7 +5040,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4911,7 +5065,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4929,7 +5083,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4947,7 +5101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4973,7 +5127,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4999,7 +5153,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5020,7 +5174,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5048,7 +5202,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5078,7 +5232,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5098,7 +5252,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5124,7 +5278,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5150,7 +5304,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5172,7 +5326,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5193,7 +5347,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5219,7 +5373,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5239,7 +5393,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5259,7 +5413,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5277,7 +5431,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5301,7 +5455,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5321,7 +5475,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5341,7 +5495,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5367,7 +5521,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5387,7 +5541,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5405,7 +5559,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5419,13 +5573,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5445,7 +5624,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5477,7 +5656,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5509,7 +5688,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5529,7 +5708,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5555,7 +5734,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5575,7 +5754,7 @@ Initializes properties/listeners of the native view. isItemAtIndexVisible(index: number): boolean; ``` -Defined in: [ui/list-view/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L189) +Defined in: [ui/list-view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L201) Checks if Specified item with index is visible. @@ -5602,7 +5781,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5638,7 +5817,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5667,7 +5846,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5693,7 +5872,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5721,7 +5900,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5758,7 +5937,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5789,7 +5968,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5822,7 +6001,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L201) +Defined in: [ui/list-view/index.d.ts:213](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L213) Adds a listener for the specified event name. @@ -5851,7 +6030,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:209](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L209) +Defined in: [ui/list-view/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L221) Raised when a View for the data at the specified index should be created. The result should be returned trough the view property of the event data. @@ -5883,7 +6062,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L214) +Defined in: [ui/list-view/index.d.ts:226](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L226) Raised when an item inside the ListView is tapped. @@ -5912,7 +6091,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L219) +Defined in: [ui/list-view/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L231) Raised when the ListView is scrolled so that its last item is visible. @@ -5941,7 +6120,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:224](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L224) +Defined in: [ui/list-view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L236) Raised when the search text in the search bar changes. @@ -5969,7 +6148,7 @@ Raised when the search text in the search bar changes. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5992,7 +6171,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6025,7 +6204,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6054,7 +6233,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6072,7 +6251,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6100,7 +6279,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6118,7 +6297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6136,7 +6315,9 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS refresh(): any; ``` -Defined in: [ui/list-view/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L167) +Defined in: [ui/list-view/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L179) + +Forces the ListView to reload all its items. #### Returns @@ -6153,7 +6334,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6181,7 +6362,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6201,7 +6382,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6221,7 +6402,7 @@ Resets properties/listeners set to the native view. scrollToIndex(index: number): any; ``` -Defined in: [ui/list-view/index.d.ts:175](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L175) +Defined in: [ui/list-view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L187) Scrolls the specified item with index into view. [iOS](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITableView_Class/#//apple_ref/occ/instm/UITableView/scrollToRowAtIndexPath:atScrollPosition:animated:) @@ -6245,7 +6426,7 @@ Scrolls the specified item with index into view. scrollToIndexAnimated(index: number): any; ``` -Defined in: [ui/list-view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L183) +Defined in: [ui/list-view/index.d.ts:195](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L195) Scrolls the specified item with index into view with animation. [iOS](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITableView_Class/#//apple_ref/occ/instm/UITableView/scrollToRowAtIndexPath:atScrollPosition:animated:) @@ -6269,7 +6450,7 @@ Scrolls the specified item with index into view with animation. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6307,7 +6488,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6334,7 +6515,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6359,7 +6540,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6383,7 +6564,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6410,7 +6591,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6438,7 +6619,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6458,7 +6639,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6485,7 +6666,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6511,7 +6692,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6531,7 +6712,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6555,7 +6736,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6581,7 +6762,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6609,7 +6790,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6641,7 +6822,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6672,7 +6853,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6710,7 +6891,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6759,7 +6940,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6794,7 +6975,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6829,7 +7010,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6863,7 +7044,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6898,7 +7079,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ModalTransition.md b/content/api/classes/ModalTransition.md index 595bd56f..b8b7fe1d 100644 --- a/content/api/classes/ModalTransition.md +++ b/content/api/classes/ModalTransition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/modal-transition.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/modal-transition.d.ts#L2) +Defined in: [ui/transition/modal-transition.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/modal-transition.d.ts#L2) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/transition/modal-transition.d.ts:2](https://github.com/NativeScr new ModalTransition(duration?: number, nativeCurve?: any): ModalTransition; ``` -Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L39) +Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L40) #### Parameters @@ -43,7 +43,7 @@ Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/Native id: number; ``` -Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L23) +Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L23) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/Native optional interactiveController?: any; ``` -Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L29) +Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L29) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/Native optional name?: string; ``` -Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L27) +Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L27) (Optional) Provide a unique name to identify this transition @@ -87,7 +87,7 @@ Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/Native optional presented?: any; ``` -Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L30) +Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L30) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/Native optional presenting?: any; ``` -Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L31) +Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L31) #### Inherited from @@ -113,6 +113,7 @@ Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/Native ```ts optional sharedElements?: { + _allPresentingViews?: View[]; independent?: SharedElementSettings & { isPresented?: boolean; }[]; @@ -121,7 +122,13 @@ optional sharedElements?: { }; ``` -Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L32) +Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L32) + +#### \_allPresentingViews? + +```ts +optional _allPresentingViews?: View[]; +``` #### independent? @@ -155,7 +162,7 @@ optional presenting?: SharedElementSettings[]; optional transitionController?: any; ``` -Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L28) +Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L28) #### Inherited from @@ -174,7 +181,7 @@ static optional AndroidTransitionType?: { }; ``` -Defined in: [ui/transition/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L38) +Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L39) #### enter? @@ -215,7 +222,7 @@ optional androidFragmentTransactionCallback( newEntry: BackstackEntry): void; ``` -Defined in: [ui/transition/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L58) +Defined in: [ui/transition/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L59) #### Parameters @@ -245,7 +252,7 @@ animateIOSTransition( operation: any): void; ``` -Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L43) +Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L44) #### Parameters @@ -272,7 +279,7 @@ Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/Native createAndroidAnimator(transitionType: string): any; ``` -Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L44) +Defined in: [ui/transition/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L45) #### Parameters @@ -296,7 +303,7 @@ Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/Native getCurve(): any; ``` -Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L42) +Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L43) #### Returns @@ -314,7 +321,7 @@ Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/Native getDuration(): number; ``` -Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L40) +Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L41) #### Returns @@ -332,7 +339,7 @@ Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/Native optional iosDismissedController(dismissed: any): any; ``` -Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L48) +Defined in: [ui/transition/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L49) #### Parameters @@ -356,7 +363,7 @@ Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/Native optional iosInteractionDismiss(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L52) +Defined in: [ui/transition/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L53) #### Parameters @@ -380,7 +387,7 @@ Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/Native optional iosInteractionPresented(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L54) +Defined in: [ui/transition/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L55) #### Parameters @@ -408,7 +415,7 @@ optional iosNavigatedController( toVC: any): any; ``` -Defined in: [ui/transition/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L56) +Defined in: [ui/transition/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L57) #### Parameters @@ -438,7 +445,7 @@ optional iosPresentedController( source: any): any; ``` -Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L50) +Defined in: [ui/transition/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L51) #### Parameters @@ -464,7 +471,7 @@ Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/Native setDuration(value: number): void; ``` -Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L41) +Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L42) #### Parameters @@ -488,7 +495,7 @@ Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/Native optional setupInteractiveGesture(startCallback: () => void, view: View): void; ``` -Defined in: [ui/transition/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L46) +Defined in: [ui/transition/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L47) #### Parameters diff --git a/content/api/classes/ModuleNameResolver.md b/content/api/classes/ModuleNameResolver.md index 7d7b40bf..bec1060d 100644 --- a/content/api/classes/ModuleNameResolver.md +++ b/content/api/classes/ModuleNameResolver.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/index.ts) +Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/index.ts) ## Implements @@ -18,7 +18,7 @@ Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/Nati new ModuleNameResolver(context: PlatformContext, moduleListProvider?: ModuleListProvider): ModuleNameResolver; ``` -Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/index.ts) +Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/index.ts) #### Parameters @@ -39,7 +39,7 @@ Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/Nati clearCache(): void; ``` -Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/index.ts) +Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/index.ts) #### Returns @@ -59,7 +59,7 @@ ModuleNameResolverType.clearCache resolveModuleName(path: string, ext: string): string; ``` -Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/index.ts) +Defined in: [module-name-resolver/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/index.ts) #### Parameters diff --git a/content/api/classes/NativeWindow.md b/content/api/classes/NativeWindow.md new file mode 100644 index 00000000..9a0251d5 --- /dev/null +++ b/content/api/classes/NativeWindow.md @@ -0,0 +1,3680 @@ +--- +title: NativeWindow +titleTemplate: :title - API / NativeScript +description: A window surface that hosts a NativeScript view tree. Wraps a platform window (iOS UIWindowScene + UIWindow, Android Activity) and owns the per-window root v... +contributors: false +--- + +Defined in: [native-window/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L266) + +A window surface that hosts a NativeScript view tree. + +Wraps a platform window (iOS UIWindowScene + UIWindow, Android Activity) and owns the +per-window root view, its CSS classes and its lifecycle events. Instances are created by +the framework as the platform connects surfaces; reach them through +`Application.activeWindow`, `Application.primaryWindow`, `Application.getWindows()` or +`Application.getWindowById()`, and use `ios` / `android` to get at the native objects. + +## Extends + +- [`WindowBase`](WindowBase.md) + +## Constructors + +### Constructor + +```ts +new NativeWindow(): NativeWindow; +``` + +#### Returns + +`NativeWindow` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`constructor`](WindowBase.md#constructor) + +## Properties + +### android? + +```ts +readonly optional android?: { + activity: AppCompatActivity; +}; +``` + +Defined in: [native-window/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L71) + +The Android surface backing this window, or `undefined` when not running on Android +or when the activity is already gone. + +#### activity + +```ts +readonly activity: AppCompatActivity; +``` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`android`](WindowBase.md#android) + +*** + +### id + +```ts +readonly id: string; +``` + +Defined in: [native-window/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L41) + +Stable identifier of this window, unique for the lifetime of the JS context. +Survives a detach/re-attach, so it can be used to correlate a window across +an iOS scene reconnect or an Android activity recreation. + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`id`](WindowBase.md#id) + +*** + +### ios? + +```ts +readonly optional ios?: { + scene?: UIWindowScene; + uiWindow: UIWindow; +}; +``` + +Defined in: [native-window/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L65) + +The iOS surface backing this window, or `undefined` when not running on iOS. +`scene` is absent for apps still on the pre-scene (window-only) lifecycle. + +#### scene? + +```ts +readonly optional scene?: UIWindowScene; +``` + +#### uiWindow + +```ts +readonly uiWindow: UIWindow; +``` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`ios`](WindowBase.md#ios) + +*** + +### isPrimary + +```ts +readonly isPrimary: boolean; +``` + +Defined in: [native-window/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L59) + +Whether this is the application's primary window. + +At most one window is primary at a time. When the primary window closes another +attached window is promoted and `primaryWindowChanged` is raised on the Application. + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`isPrimary`](WindowBase.md#isprimary) + +*** + +### role + +```ts +readonly role: WindowRole; +``` + +Defined in: [native-window/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L46) + +The purpose this window surface serves. + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`role`](WindowBase.md#role) + +*** + +### rootView + +```ts +readonly rootView: View; +``` + +Defined in: [native-window/index.d.ts:270](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L270) + +The root view currently hosted by this window, if any. + +*** + +### state + +```ts +readonly state: WindowState; +``` + +Defined in: [native-window/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L51) + +Where this window currently sits in its lifecycle. + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`state`](WindowBase.md#state) + +*** + +### propertyChangeEvent + +```ts +static propertyChangeEvent: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +String value used when hooking to propertyChange event. + +#### Ns Event + +propertyChange + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`propertyChangeEvent`](WindowBase.md#propertychangeevent) + +## Methods + +### \_createPropertyChangeData() + +```ts +_createPropertyChangeData( + propertyName: string, + value: any, + oldValue?: any): PropertyChangeData; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +This method is intended to be overriden by inheritors to provide additional implementation. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `propertyName` | `string` | +| `value` | `any` | +| `oldValue?` | `any` | + +#### Returns + +[`PropertyChangeData`](../interfaces/PropertyChangeData.md) + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`_createPropertyChangeData`](WindowBase.md#createpropertychangedata) + +*** + +### \_emit() + +```ts +_emit(eventName: string): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`_emit`](WindowBase.md#emit) + +*** + +### addEventListener() + +```ts +addEventListener( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Adds a listener for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | Name of the event to attach to. | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | A function to be called when some of the specified event(s) is raised. | +| `thisArg?` | `any` | An optional parameter which when set will be used as "this" in callback method call. | +| `once?` | `boolean` | An optional parameter which when set will cause the event listener to fire once. | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`addEventListener`](WindowBase.md#addeventlistener) + +*** + +### close() + +```ts +abstract close(): void; +``` + +Defined in: [native-window/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L79) + +Closes this window. + +Ends the window session: the native surface is dismissed, `close` is raised and the +window is dropped from the Application registry. + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`close`](WindowBase.md#close) + +*** + +### get() + +```ts +get(name: string): any; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Gets the value of the specified property. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | + +#### Returns + +`any` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`get`](WindowBase.md#get) + +*** + +### hasListeners() + +```ts +hasListeners(eventName: string): boolean; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Checks whether a listener is registered for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | The name of the event to check for. | + +#### Returns + +`boolean` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`hasListeners`](WindowBase.md#haslisteners) + +*** + +### layoutDirection() + +```ts +layoutDirection(): LayoutDirectionType; +``` + +Defined in: [native-window/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L310) + +The current layout direction of this window. + +Read from the native surface while the window is attached; a detached window reports +the last value it saw. A read that catches a change the platform has not reported yet +also raises `layoutDirectionChanged`, so a change is never swallowed by the reading. + +#### Returns + +[`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) + +*** + +### notify() + +```ts +notify(data: T): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Notify this Observable instance with some data. This causes all event +handlers on the Observable instance to be called, as well as any 'global' +event handlers set on the instance's class. + +#### Type Parameters + +| Type Parameter | +| ------ | +| `T` *extends* `Optional`\<[`EventData`](../interfaces/EventData.md), `"object"`\> | + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `data` | `T` | an object that satisfies the EventData interface, though with an optional 'object' property. If left undefined, the 'object' property will implicitly be set as this Observable instance. | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`notify`](WindowBase.md#notify) + +*** + +### notifyPropertyChange() + +```ts +notifyPropertyChange( + name: string, + value: any, + oldValue?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Notifies all the registered listeners for the property change event. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | +| `oldValue?` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`notifyPropertyChange`](WindowBase.md#notifypropertychange) + +*** + +### off() + +#### Call Signature + +```ts +off( + event: "contentLoaded", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:393](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L393) + +Removes the listener(s) for the specified event name. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `event` | `"contentLoaded"` | - | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | An optional specific event listener to remove (if omitted, all event listeners by this name will be removed). | +| `thisArg?` | `any` | An optional parameter which, when set, will be used to refine search of the correct event listener to be removed. | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activate", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:394](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L394) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activate"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "deactivate", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:395](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L395) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "background", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L396) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "foreground", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:397](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L397) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "attached", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:398](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L398) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "detached", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L399) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "close", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:400](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L400) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "displayed", + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:401](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L401) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "orientationChanged", + callback?: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:402](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L402) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback?` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "systemAppearanceChanged", + callback?: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L403) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback?` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "layoutDirectionChanged", + callback?: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:404](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L404) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback?` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityCreated", + callback?: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:405](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L405) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback?` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityDestroyed", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L406) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityStarted", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:407](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L407) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityPaused", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:408](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L408) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityResumed", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:409](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L409) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityStopped", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L410) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "saveActivityState", + callback?: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:411](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L411) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback?` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityResult", + callback?: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:412](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L412) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback?` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityBackPressed", + callback?: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L413) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback?` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityNewIntent", + callback?: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:414](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L414) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback?` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "activityRequestPermissions", + callback?: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:415](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L415) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback?` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneWillConnect", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:416](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L416) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneDidActivate", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L417) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneWillResignActive", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:418](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L418) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneWillEnterForeground", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:419](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L419) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneDidEnterBackground", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L420) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneDidDisconnect", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:421](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L421) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneOpenURLContexts", + callback?: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:422](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L422) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback?` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "sceneContinueUserActivity", + callback?: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:423](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L423) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback?` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + event: "scenePerformActionForShortcutItem", + callback?: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L424) + +Removes a listener for the specified event name. Omitting the callback removes every +listener registered for that event on this window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback?` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off) + +#### Call Signature + +```ts +off( + eventName: string, + callback?: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:425](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L425) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +WindowBase.off +``` + +*** + +### on() + +#### Call Signature + +```ts +on( + event: "contentLoaded", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:321](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L321) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"contentLoaded"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activate", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:326](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L326) + +Raised when the window loses focus. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activate"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "deactivate", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L327) + +Raised when the window enters the background. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "background", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:328](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L328) + +Raised when the window enters the foreground. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "foreground", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L329) + +Raised when a native surface is bound to the window - both on the first connect and +on every re-attach after a `detached`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "attached", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:330](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L330) + +Raised when the native surface goes away while the window session stays alive +(iOS scene disconnect, Android activity recreation). + +The window stays registered on the Application and keeps its listeners, so the same +instance is handed back when a surface re-attaches and handlers registered before the +detach keep working afterwards. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "detached", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:331](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L331) + +Raised when the window session ends for good. + +Fires exactly once per window. Listeners stay registered for the whole teardown, so a +handler added at any earlier point still observes it; immediately after it is +dispatched the framework drops every listener on the instance, so nothing registered +on a window outlives the window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "close", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L332) + +Raised after the window content has been displayed for the first time. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "displayed", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:333](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L333) + +Raised when the orientation of this window changes. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "orientationChanged", + callback: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:334](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L334) + +Raised when the system appearance of this window changes between light and dark. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "systemAppearanceChanged", + callback: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:335](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L335) + +Raised when the layout direction of this window changes between ltr and rtl. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "layoutDirectionChanged", + callback: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L336) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityCreated", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:337](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L337) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityDestroyed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:338](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L338) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityStarted", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L339) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityPaused", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:340](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L340) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityResumed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:341](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L341) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityStopped", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:342](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L342) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "saveActivityState", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L343) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityResult", + callback: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:344](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L344) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityBackPressed", + callback: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:345](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L345) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityNewIntent", + callback: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L346) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "activityRequestPermissions", + callback: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:347](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L347) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneWillConnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L348) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneDidActivate", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:349](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L349) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneWillResignActive", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:350](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L350) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneWillEnterForeground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:351](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L351) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneDidEnterBackground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:352](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L352) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneDidDisconnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L353) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L354) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:355](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L355) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:356](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L356) + +Adds a listener for the specified event name. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | - | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | The event listener to add. Will be called when an event of the given name is raised. | +| `thisArg?` | `any` | An optional parameter which, when set, will be bound as the `this` context when the callback is called. Falsy values will be not be bound. | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on) + +#### Call Signature + +```ts +on( + eventName: string, + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:357](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L357) + +Raised when the root view content of this window is set or changed. + +Bringing a window up follows a fixed order that app code can rely on: +Application `ready` -\> Application `windowOpen` -\> the raw platform connect/create +event (`sceneWillConnect` / `activityCreated`) -\> content resolution (the window +content resolver, or the legacy `launch` bridge for the first window) -\> +`contentLoaded` -\> `activate` and `displayed`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +WindowBase.on +``` + +*** + +### once() + +#### Call Signature + +```ts +once( + event: "contentLoaded", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:359](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L359) + +Adds a listener for the specified event name, which, once fired, will +remove itself. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `event` | `"contentLoaded"` | - | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | The event listener to add. Will be called when an event of the given name is raised. | +| `thisArg?` | `any` | An optional parameter which, when set, will be bound as the `this` context when the callback is called. Falsy values will be not be bound. | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activate", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:360](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L360) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activate"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "deactivate", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L361) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "background", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:362](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L362) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "foreground", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:363](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L363) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "attached", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L364) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "detached", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:365](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L365) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "close", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:366](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L366) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "displayed", + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:367](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L367) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "orientationChanged", + callback: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L368) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "systemAppearanceChanged", + callback: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:369](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L369) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "layoutDirectionChanged", + callback: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:370](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L370) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityCreated", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L371) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityDestroyed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:372](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L372) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityStarted", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:373](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L373) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityPaused", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:374](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L374) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityResumed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L375) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityStopped", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:376](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L376) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "saveActivityState", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:377](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L377) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityResult", + callback: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L378) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityBackPressed", + callback: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:379](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L379) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityNewIntent", + callback: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:380](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L380) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "activityRequestPermissions", + callback: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:381](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L381) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneWillConnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L382) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneDidActivate", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:383](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L383) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneWillResignActive", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:384](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L384) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneWillEnterForeground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L385) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneDidEnterBackground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:386](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L386) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneDidDisconnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:387](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L387) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:388](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L388) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L389) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:390](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L390) + +Adds a listener for the specified event name that is removed as soon as it is raised +once. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once) + +#### Call Signature + +```ts +once( + eventName: string, + callback: (data: NativeWindowEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:391](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L391) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`NativeWindowEventData`](../interfaces/NativeWindowEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +WindowBase.once +``` + +*** + +### orientation() + +```ts +orientation(): "portrait" | "landscape" | "unknown"; +``` + +Defined in: [native-window/index.d.ts:292](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L292) + +The current orientation of this window. + +Read from the native surface while the window is attached; a detached window reports +the last value it saw. A read that catches a change the platform has not reported yet +also raises `orientationChanged`, so a change is never swallowed by the reading. + +#### Returns + +`"portrait"` \| `"landscape"` \| `"unknown"` + +*** + +### removeEventListener() + +```ts +removeEventListener( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Removes listener(s) for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | Name of the event to attach to. | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | An optional parameter pointing to a specific listener. If not defined, all listeners for the event names will be removed. | +| `thisArg?` | `any` | An optional parameter which when set will be used to refine search of the correct callback which will be removed as event listener. | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`removeEventListener`](WindowBase.md#removeeventlistener) + +*** + +### set() + +```ts +set(name: string, value: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Updates the specified property with the provided value. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`set`](WindowBase.md#set) + +*** + +### setContent() + +```ts +setContent(content: string | View | NavigationEntry): void; +``` + +Defined in: [native-window/index.d.ts:283](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L283) + +Sets the content of this window. + +Replaces any content set earlier, tears the previous root view down and raises +`contentLoaded`. + +A view that is already the root of another window is released from it first — that +window's `rootView` becomes null — while the view itself is left intact. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `content` | `string` \| [`View`](View.md) \| `NavigationEntry` | A View, a NavigationEntry, or the name of a module to load. | + +#### Returns + +`void` + +*** + +### setProperty() + +```ts +setProperty(name: string, value: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`setProperty`](WindowBase.md#setproperty) + +*** + +### systemAppearance() + +```ts +systemAppearance(): "dark" | "light"; +``` + +Defined in: [native-window/index.d.ts:301](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L301) + +The current system appearance of this window. + +Read from the native surface while the window is attached; a detached window reports +the last value it saw. A read that catches a change the platform has not reported yet +also raises `systemAppearanceChanged`, so a change is never swallowed by the reading. + +#### Returns + +`"dark"` \| `"light"` + +*** + +### ~~addEventListener()~~ + +```ts +static addEventListener( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | +| `once?` | `boolean` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`addEventListener`](WindowBase.md#addeventlistener-1) + +*** + +### ~~off()~~ + +```ts +static off( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`off`](WindowBase.md#off-1) + +*** + +### ~~on()~~ + +```ts +static on( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | +| `once?` | `boolean` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`on`](WindowBase.md#on-1) + +*** + +### ~~once()~~ + +```ts +static once( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`once`](WindowBase.md#once-1) + +*** + +### ~~removeEventListener()~~ + +```ts +static removeEventListener( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`WindowBase`](WindowBase.md).[`removeEventListener`](WindowBase.md#removeeventlistener-1) diff --git a/content/api/classes/NavigationButton.md b/content/api/classes/NavigationButton.md index add87098..1e435959 100644 --- a/content/api/classes/NavigationButton.md +++ b/content/api/classes/NavigationButton.md @@ -5,7 +5,7 @@ description: Represents the navigation (a.k.a. "back") button. contributors: false --- -Defined in: [ui/action-bar/index.d.ts:292](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L292) +Defined in: [ui/action-bar/index.d.ts:292](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L292) Represents the navigation (a.k.a. "back") button. @@ -21,7 +21,7 @@ Represents the navigation (a.k.a. "back") button. new NavigationButton(): NavigationButton; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -39,7 +39,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -53,7 +53,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -67,7 +67,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -81,7 +81,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -95,7 +95,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -109,7 +109,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -123,7 +123,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -137,7 +137,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -151,7 +151,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -165,7 +165,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -179,7 +179,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -193,7 +193,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -207,7 +207,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -221,7 +221,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,7 +235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -249,7 +249,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -263,7 +263,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -277,7 +277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -297,7 +297,7 @@ as well as adding/rmoving the view to/from the visual tree. actionBar: ActionBar; ``` -Defined in: [ui/action-bar/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L162) +Defined in: [ui/action-bar/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L162) Gets the action bar that contains the action item. @@ -313,7 +313,7 @@ Gets the action bar that contains the action item. actionView: View; ``` -Defined in: [ui/action-bar/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L150) +Defined in: [ui/action-bar/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L150) Gets or sets the custom action view of the action item. @@ -331,7 +331,7 @@ Gets or sets the custom action view of the action item. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -349,7 +349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: AndroidActionItemSettings; ``` -Defined in: [ui/action-bar/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L198) +Defined in: [ui/action-bar/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L198) Gets the Android specific options of the action item. @@ -365,7 +365,7 @@ Gets the Android specific options of the action item. bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -381,7 +381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -399,7 +399,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -417,7 +417,7 @@ The column for the element. The columns are 0-indexed, so the first column is in colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -435,7 +435,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -453,7 +453,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -469,7 +469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -483,7 +483,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -497,7 +497,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -515,7 +515,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -533,7 +533,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -547,7 +547,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -561,7 +561,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -575,7 +575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -589,7 +589,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -597,13 +597,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ActionItem`](ActionItem.md).[`effectiveColumnGap`](ActionItem.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -617,7 +631,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -631,7 +645,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -645,7 +659,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -659,7 +673,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -673,7 +687,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -681,13 +695,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ActionItem`](ActionItem.md).[`effectiveMaxHeight`](ActionItem.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ActionItem`](ActionItem.md).[`effectiveMaxWidth`](ActionItem.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -701,7 +743,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -709,13 +751,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ActionItem`](ActionItem.md).[`effectiveRowGap`](ActionItem.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -729,7 +785,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -743,7 +799,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -761,7 +817,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -779,7 +835,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -797,7 +853,7 @@ When true, forces the item to wrap onto a new line. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -815,7 +871,7 @@ Gets or sets the visual state of the view. icon: string; ``` -Defined in: [ui/action-bar/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L143) +Defined in: [ui/action-bar/index.d.ts:143](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L143) Gets or sets the icon of the action item. @@ -833,7 +889,7 @@ Gets or sets the icon of the action item. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -851,7 +907,7 @@ Gets or sets the id for this view. ios: IOSActionItemSettings; ``` -Defined in: [ui/action-bar/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L192) +Defined in: [ui/action-bar/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L192) Gets the iOS specific options of the action item. @@ -867,7 +923,7 @@ Gets the iOS specific options of the action item. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -885,7 +941,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -897,32 +953,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ActionItem`](ActionItem.md).[`mIsRootView`](ActionItem.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -938,7 +975,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -956,7 +993,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -972,7 +1009,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -986,7 +1023,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -1004,7 +1041,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -1022,7 +1059,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -1040,7 +1077,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -1058,7 +1095,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -1076,7 +1113,7 @@ Gets or sets the shared transition tag for animated view transitions text: string; ``` -Defined in: [ui/action-bar/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L136) +Defined in: [ui/action-bar/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L136) Gets or sets the text of the action item. @@ -1094,7 +1131,7 @@ Gets or sets the text of the action item. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1112,7 +1149,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1128,7 +1165,7 @@ returns the native UIViewController. visibility: string; ``` -Defined in: [ui/action-bar/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L157) +Defined in: [ui/action-bar/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L157) Gets or sets the visibility of the action item. @@ -1146,7 +1183,7 @@ Gets or sets the visibility of the action item. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1166,7 +1203,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1186,7 +1223,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1206,7 +1243,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1226,7 +1263,7 @@ propertyChange static tapEvent: string; ``` -Defined in: [ui/action-bar/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L129) +Defined in: [ui/action-bar/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L129) String value used when hooking to layoutChanged event. @@ -1246,7 +1283,7 @@ tap static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1268,7 +1305,7 @@ unloaded get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1280,7 +1317,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1298,6 +1335,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ActionItem`](ActionItem.md).[`cssType`](ActionItem.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1306,7 +1383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1318,7 +1395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1344,7 +1421,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1356,7 +1433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1382,7 +1459,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1394,7 +1471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1420,7 +1497,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1432,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1458,7 +1535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1478,7 +1555,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1490,7 +1567,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1516,7 +1593,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1538,7 +1615,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1552,7 +1629,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1578,7 +1655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1592,7 +1669,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1620,7 +1697,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1642,7 +1719,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1662,7 +1739,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1687,7 +1764,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1714,7 +1791,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1742,7 +1819,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1766,7 +1843,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1796,7 +1873,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1828,7 +1905,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1855,7 +1932,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1883,7 +1960,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1903,7 +1980,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1927,7 +2004,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1955,7 +2032,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1979,7 +2056,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2003,7 +2080,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2021,7 +2098,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2041,7 +2118,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2065,7 +2142,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2091,7 +2168,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2117,7 +2194,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2143,7 +2220,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2167,7 +2244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2191,7 +2268,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2215,7 +2292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2242,7 +2319,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2271,7 +2348,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2292,7 +2369,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2316,7 +2393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2347,7 +2424,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2376,7 +2453,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2404,7 +2481,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2429,7 +2506,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2447,7 +2524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2465,7 +2542,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2491,7 +2568,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2512,7 +2589,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2540,7 +2617,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2570,7 +2647,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2590,7 +2667,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2616,7 +2693,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2638,7 +2715,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2664,7 +2741,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2682,7 +2759,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2714,7 +2791,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2746,7 +2823,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2772,7 +2849,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2792,7 +2869,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2818,7 +2895,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2855,7 +2932,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2886,7 +2963,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2916,7 +2993,7 @@ Removes the listener(s) for the specified event name. on(eventName: string, callback: (data: EventData) => void): void; ``` -Defined in: [ui/action-bar/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L174) +Defined in: [ui/action-bar/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L174) Adds a listener for the specified event name. @@ -2941,7 +3018,7 @@ Adds a listener for the specified event name. on(event: "tap", callback: (args: EventData) => void): void; ``` -Defined in: [ui/action-bar/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/action-bar/index.d.ts#L179) +Defined in: [ui/action-bar/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/action-bar/index.d.ts#L179) Raised when a tap event occurs. @@ -2971,7 +3048,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -3000,7 +3077,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3018,7 +3095,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3036,7 +3113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3057,7 +3134,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -3085,7 +3162,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3105,7 +3182,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3125,7 +3202,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3152,7 +3229,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3176,7 +3253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3204,7 +3281,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3233,7 +3310,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3258,7 +3335,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3285,7 +3362,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -3305,7 +3382,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3329,7 +3406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3359,7 +3436,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3394,7 +3471,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3429,7 +3506,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3464,7 +3541,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3498,7 +3575,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/Observable.md b/content/api/classes/Observable.md index 15b4f5ec..e930ab8f 100644 --- a/content/api/classes/Observable.md +++ b/content/api/classes/Observable.md @@ -5,7 +5,7 @@ description: Observable is used when you want to be notified when a change occur contributors: false --- -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0, @@ -13,6 +13,7 @@ and you have to migrate to the "data/observable" `fromObject({})` or the `fromOb ## Extended by +- [`WindowBase`](WindowBase.md) - [`ObservableArray`](ObservableArray.md) - [`VirtualArray`](VirtualArray.md) - [`ImageAsset`](ImageAsset.md) @@ -40,7 +41,7 @@ new Observable(): Observable; static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -59,7 +60,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -83,7 +84,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -107,7 +108,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -132,7 +133,7 @@ Adds a listener for the specified event name. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -154,7 +155,7 @@ Gets the value of the specified property. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -176,7 +177,7 @@ Checks whether a listener is registered for the specified event name. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -209,7 +210,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -236,7 +237,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -263,7 +264,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -290,7 +291,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -318,7 +319,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -342,7 +343,7 @@ Removes listener(s) for the specified event name. set(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value. @@ -365,7 +366,7 @@ Updates the specified property with the provided value. setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -392,7 +393,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -423,7 +424,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -454,7 +455,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -485,7 +486,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -515,7 +516,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/ObservableArray.md b/content/api/classes/ObservableArray.md index 894aba38..8d52f4bf 100644 --- a/content/api/classes/ObservableArray.md +++ b/content/api/classes/ObservableArray.md @@ -5,7 +5,7 @@ description: Advanced array like class used when you want to be notified when a contributors: false --- -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Advanced array like class used when you want to be notified when a change occurs. @@ -27,7 +27,7 @@ Advanced array like class used when you want to be notified when a change occurs new ObservableArray(arrayLength?: number): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Create ObservableArray\ with specified length. @@ -51,7 +51,7 @@ Create ObservableArray\ with specified length. new ObservableArray(items: T[]): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Create ObservableArray\ from source Array\. @@ -77,7 +77,7 @@ Observable.constructor new ObservableArray(...items: T[]): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Create ObservableArray\ from T items. @@ -105,7 +105,7 @@ Observable.constructor static changeEvent: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) String value used when hooking to change event. @@ -117,7 +117,7 @@ String value used when hooking to change event. static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -139,7 +139,7 @@ propertyChange get length(): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Gets or sets the length of the array. This is a number one higher than the highest element defined in an array. @@ -153,7 +153,7 @@ Gets or sets the length of the array. This is a number one higher than the highe set length(value: number): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) ##### Parameters @@ -176,7 +176,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -204,7 +204,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -228,7 +228,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _notifyLengthChange(): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) #### Returns @@ -242,7 +242,7 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat iterator: Generator; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) #### Returns @@ -260,7 +260,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -289,7 +289,7 @@ Adds a listener for the specified event name. concat(...args: any[]): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Combines two or more arrays. @@ -311,7 +311,7 @@ Combines two or more arrays. every(callbackfn: (value: T, index: number, array: ObservableArray) => boolean, thisArg?: any): boolean; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Determines whether all the members of an array satisfy the specified test. @@ -334,7 +334,7 @@ Determines whether all the members of an array satisfy the specified test. filter(callbackfn: (value: T, index: number, array: ObservableArray) => boolean, thisArg?: any): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns the elements of an array that meet the condition specified in a callback function. @@ -357,7 +357,7 @@ Returns the elements of an array that meet the condition specified in a callback find(callbackfn: (value: T, index: number, array: ObservableArray) => any, thisArg?: any): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns the first element in the array where predicate is true, and null otherwise. @@ -380,7 +380,7 @@ Returns the first element in the array where predicate is true, and null otherwi findIndex(callbackfn: (value: T, index: number, array: ObservableArray) => any, thisArg?: any): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns the index of the first element in the array where predicate is true, and -1 otherwise. @@ -403,7 +403,7 @@ Returns the index of the first element in the array where predicate is true, and forEach(callbackfn: (value: T, index: number, array: ObservableArray) => void, thisArg?: any): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Performs the specified action for each element in an array. @@ -426,7 +426,7 @@ Performs the specified action for each element in an array. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -452,7 +452,7 @@ Gets the value of the specified property. getItem(pos: number): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns item at specified position. Supports relative indexing from the end of the array when passed a negative index. @@ -475,7 +475,7 @@ Supports relative indexing from the end of the array when passed a negative inde hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -501,7 +501,7 @@ Checks whether a listener is registered for the specified event name. includes(searchElement: T, fromIndex?: number): boolean; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Determines whether the specified element exists inside the array. @@ -524,7 +524,7 @@ Determines whether the specified element exists inside the array. indexOf(searchElement: T, fromIndex?: number): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns the index of the first occurrence of a value in an array. @@ -547,7 +547,7 @@ Returns the index of the first occurrence of a value in an array. join(separator?: string): string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Adds all the elements of an array separated by the specified separator string. @@ -569,7 +569,7 @@ Adds all the elements of an array separated by the specified separator string. lastIndexOf(searchElement: T, fromIndex?: number): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns the index of the last occurrence of a specified value in an array. @@ -592,7 +592,7 @@ Returns the index of the last occurrence of a specified value in an array. map(callbackfn: (value: T, index: number, array: ObservableArray) => U, thisArg?: any): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Calls a defined callback function on each element of an array, and returns an array that contains the results. @@ -621,7 +621,7 @@ Calls a defined callback function on each element of an array, and returns an ar notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -658,7 +658,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -689,7 +689,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -722,7 +722,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Adds a listener for the specified event name. @@ -751,7 +751,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) ##### Parameters @@ -782,7 +782,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -811,7 +811,7 @@ remove itself. pop(): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Removes the last element from an array and returns it. @@ -827,7 +827,7 @@ Removes the last element from an array and returns it. push(...args: T[]): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Appends new elements to an array, and returns the new length of the array. @@ -849,7 +849,7 @@ Appends new elements to an array, and returns the new length of the array. reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ObservableArray) => T, initialValue?: T): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. @@ -872,7 +872,7 @@ Calls the specified callback function for all the elements in an array. The retu reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: ObservableArray) => T, initialValue?: T): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. @@ -898,7 +898,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -926,7 +926,7 @@ Removes listener(s) for the specified event name. reverse(): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Reverses the elements in an Array. This method uses 'in place' algorithm. @@ -943,7 +943,7 @@ This method uses 'in place' algorithm. set(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value. @@ -970,7 +970,7 @@ Updates the specified property with the provided value. setItem(pos: number, value: T): void; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Sets item at specified position. Supports relative indexing from the end of the array when passed a negative index. @@ -994,7 +994,7 @@ Supports relative indexing from the end of the array when passed a negative inde setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -1021,7 +1021,7 @@ Updates the specified property with the provided value and raises a property cha shift(): T; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Removes the first element from an array and returns it. @@ -1037,7 +1037,7 @@ Removes the first element from an array and returns it. slice(start?: number, end?: number): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns a section of an array. @@ -1060,7 +1060,7 @@ Returns a section of an array. some(callbackfn: (value: T, index: number, array: ObservableArray) => boolean, thisArg?: any): boolean; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Determines whether the specified callback function returns true for any element of an array. @@ -1083,7 +1083,7 @@ Determines whether the specified callback function returns true for any element sort(compareFn?: (a: T, b: T) => number): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Sorts an array. This method uses 'in place' algorithm. @@ -1109,7 +1109,7 @@ splice( items: T[]): ObservableArray; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. This method uses 'in place' algorithm. @@ -1134,7 +1134,7 @@ This method uses 'in place' algorithm. toJSON(): any[]; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) #### Returns @@ -1148,7 +1148,7 @@ Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/Nat toLocaleString(): string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns a date converted to a string using the current locale. @@ -1164,7 +1164,7 @@ Returns a date converted to a string using the current locale. toString(): string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Returns a string representation of an array. @@ -1180,7 +1180,7 @@ Returns a string representation of an array. unshift(...args: T[]): number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Inserts new elements at the start of an array. @@ -1206,7 +1206,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1241,7 +1241,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1276,7 +1276,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1311,7 +1311,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1345,7 +1345,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/Page.md b/content/api/classes/Page.md index 682724c8..efa56e18 100644 --- a/content/api/classes/Page.md +++ b/content/api/classes/Page.md @@ -5,7 +5,7 @@ description: Represents a logical unit for navigation (inside Frame). contributors: false --- -Defined in: [ui/page/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L32) +Defined in: [ui/page/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L32) Represents a logical unit for navigation (inside Frame). @@ -25,7 +25,7 @@ Page new Page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`PageBase`](PageBase.md).[`_nativeWindow`](PageBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityAnnouncePageEnabled: boolean; ``` -Defined in: [ui/page/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L132) +Defined in: [ui/page/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L132) Should page changed be announced to the screen reader. @@ -349,7 +367,7 @@ Should page changed be announced to the screen reader. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -367,7 +385,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -385,7 +403,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -405,7 +423,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -421,7 +439,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -439,7 +457,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -458,7 +476,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -476,7 +494,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -494,7 +512,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -512,7 +530,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -530,7 +548,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -548,7 +566,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -566,7 +584,7 @@ If `true` the element is an accessibility element and all the children will be t actionBar: ActionBar; ``` -Defined in: [ui/page/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L117) +Defined in: [ui/page/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L117) Gets the ActionBar for this page. @@ -582,7 +600,7 @@ Gets the ActionBar for this page. actionBarHidden: boolean; ``` -Defined in: [ui/page/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L82) +Defined in: [ui/page/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L82) Used to hide the Navigation Bar in iOS and the Action Bar in Android. @@ -600,7 +618,7 @@ Used to hide the Navigation Bar in iOS and the Action Bar in Android. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -618,7 +636,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -634,7 +652,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -652,7 +670,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -670,7 +688,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -684,7 +702,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native androidStatusBarBackground: Color; ``` -Defined in: [ui/page/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L74) +Defined in: [ui/page/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L74) Gets or sets the color of the status bar in Android. @@ -702,7 +720,7 @@ Gets or sets the color of the status bar in Android. automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -718,7 +736,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -736,7 +754,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -754,7 +772,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -772,7 +790,7 @@ Gets or sets the background image of the view. backgroundSpanUnderStatusBar: boolean; ``` -Defined in: [ui/page/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L66) +Defined in: [ui/page/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L66) Gets or sets whether page background spans under status bar. @@ -790,7 +808,7 @@ Gets or sets whether page background spans under status bar. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -808,7 +826,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -826,7 +844,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -844,7 +862,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -862,7 +880,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -880,7 +898,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -898,7 +916,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -916,7 +934,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -938,7 +956,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -956,7 +974,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -974,7 +992,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -992,7 +1010,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1010,7 +1028,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1028,7 +1046,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1046,7 +1064,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1068,7 +1086,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1086,7 +1104,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1104,7 +1122,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1122,7 +1140,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1140,7 +1158,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1158,7 +1176,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1176,7 +1194,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1194,7 +1212,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1210,7 +1228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS content: View; ``` -Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L13) +Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L13) Gets or sets the single child of the view. @@ -1228,7 +1246,7 @@ Gets or sets the single child of the view. cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1242,7 +1260,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1256,7 +1274,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1273,7 +1291,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1291,7 +1309,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1309,7 +1327,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1327,7 +1345,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1341,7 +1359,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1355,7 +1373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,7 +1387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,7 +1401,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,13 +1409,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`PageBase`](PageBase.md).[`effectiveColumnGap`](PageBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1411,7 +1443,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1425,7 +1457,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1439,7 +1471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1453,7 +1485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1467,7 +1499,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1475,13 +1507,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`PageBase`](PageBase.md).[`effectiveMaxHeight`](PageBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`PageBase`](PageBase.md).[`effectiveMaxWidth`](PageBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1495,7 +1555,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1503,13 +1563,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`PageBase`](PageBase.md).[`effectiveRowGap`](PageBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1523,7 +1597,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1537,7 +1611,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS enableSwipeBackNavigation: boolean; ``` -Defined in: [ui/page/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L92) +Defined in: [ui/page/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L92) Used to control if swipe back navigation in iOS is enabled. @@ -1558,7 +1632,7 @@ Default value: true flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1576,7 +1650,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1594,7 +1668,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1612,7 +1686,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1630,7 +1704,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1648,7 +1722,7 @@ When true, forces the item to wrap onto a new line. frame: Frame; ``` -Defined in: [ui/page/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L111) +Defined in: [ui/page/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L111) Gets the Frame object controlling this instance. @@ -1664,7 +1738,7 @@ Gets the Frame object controlling this instance. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1682,7 +1756,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1700,7 +1774,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1718,7 +1792,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1736,7 +1810,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1752,7 +1826,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1768,7 +1842,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1786,7 +1860,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1804,7 +1878,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1822,7 +1896,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1840,7 +1914,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1858,7 +1932,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1876,7 +1950,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1894,7 +1968,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1912,7 +1986,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1930,7 +2004,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1946,7 +2020,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1964,7 +2038,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1987,7 +2061,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2005,7 +2079,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2023,7 +2097,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2041,7 +2115,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2059,7 +2133,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2071,58 +2145,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`PageBase`](PageBase.md).[`minHeight`](PageBase.md#minheight) +[`PageBase`](PageBase.md).[`maxHeight`](PageBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`PageBase`](PageBase.md).[`minWidth`](PageBase.md#minwidth) +[`PageBase`](PageBase.md).[`maxWidth`](PageBase.md#maxwidth) + +*** + +### minHeight + +```ts +minHeight: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +[`PageBase`](PageBase.md).[`minHeight`](PageBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from -[`PageBase`](PageBase.md).[`mIsRootView`](PageBase.md#misrootview) +[`PageBase`](PageBase.md).[`minWidth`](PageBase.md#minwidth) *** @@ -2132,7 +2225,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2148,7 +2241,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2164,7 +2257,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2180,7 +2273,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m navigationContext: any; ``` -Defined in: [ui/page/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L105) +Defined in: [ui/page/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L105) A property that is used to pass a data from another page (while navigate to). @@ -2198,10 +2291,10 @@ A property that is used to pass a data from another page (while navigate to). optional onAccessibilityPerformEscape?: () => boolean; ``` -Defined in: [ui/page/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L125) +Defined in: [ui/page/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L125) iOS Only -Perform an action when user performans the "escape" gesture +Perform an action when user performs the "escape" gesture #### Returns @@ -2209,6 +2302,10 @@ Perform an action when user performans the "escape" gesture #### Ns Property +#### Overrides + +[`PageBase`](PageBase.md).[`onAccessibilityPerformEscape`](PageBase.md#onaccessibilityperformescape) + *** ### opacity @@ -2217,7 +2314,7 @@ Perform an action when user performans the "escape" gesture opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2235,7 +2332,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2253,7 +2350,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2271,7 +2368,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2289,7 +2386,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2305,7 +2402,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2324,7 +2421,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2338,7 +2435,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2356,7 +2453,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2374,7 +2471,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2392,7 +2489,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2410,7 +2507,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2428,7 +2525,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2446,7 +2543,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2464,7 +2561,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2482,7 +2579,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2500,7 +2597,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2518,7 +2615,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2545,7 +2642,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2561,7 +2658,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2581,7 +2678,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2597,7 +2694,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2613,7 +2710,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2629,7 +2726,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2647,7 +2744,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2665,7 +2762,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2683,7 +2780,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2699,7 +2796,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2717,7 +2814,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2735,7 +2832,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2753,7 +2850,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2771,7 +2868,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2791,7 +2888,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2811,7 +2908,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2831,7 +2928,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2845,7 +2942,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2859,13 +2956,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`PageBase`](PageBase.md).[`closedModallyEvent`](PageBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2885,7 +3004,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2905,7 +3024,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2925,7 +3044,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2945,7 +3064,7 @@ loaded readonly static navigatedFromEvent: "navigatedFrom" = 'navigatedFrom'; ``` -Defined in: [ui/page/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L59) +Defined in: [ui/page/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L59) String value used when hooking to navigatedFrom event. @@ -2965,7 +3084,7 @@ navigatedFrom readonly static navigatedToEvent: "navigatedTo" = 'navigatedTo'; ``` -Defined in: [ui/page/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L45) +Defined in: [ui/page/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L45) String value used when hooking to navigatedTo event. @@ -2985,7 +3104,7 @@ navigatedTo readonly static navigatingFromEvent: "navigatingFrom" = 'navigatingFrom'; ``` -Defined in: [ui/page/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L52) +Defined in: [ui/page/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L52) String value used when hooking to navigatingFrom event. @@ -3005,7 +3124,7 @@ navigatingFrom readonly static navigatingToEvent: "navigatingTo" = 'navigatingTo'; ``` -Defined in: [ui/page/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L38) +Defined in: [ui/page/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L38) String value used when hooking to navigatingTo event. @@ -3025,7 +3144,7 @@ navigatingTo static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3045,7 +3164,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3065,7 +3184,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3085,7 +3204,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3107,7 +3226,7 @@ unloaded get _childrenCount(): number; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -3127,7 +3246,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3139,7 +3258,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3165,7 +3284,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3177,7 +3296,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3203,7 +3322,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3215,7 +3334,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3241,7 +3360,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3253,7 +3372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3279,7 +3398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3291,7 +3410,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3317,7 +3436,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3329,7 +3448,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3355,7 +3474,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3367,7 +3486,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3393,7 +3512,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3405,7 +3524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3431,7 +3550,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3451,7 +3570,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3463,7 +3582,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3489,7 +3608,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Gets owner page. This is a read-only property. @@ -3511,7 +3630,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3525,7 +3644,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3551,7 +3670,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3565,7 +3684,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3593,7 +3712,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3605,7 +3724,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3631,7 +3750,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3653,7 +3772,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3673,7 +3792,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Called for every child element declared in xml. This method will add a child element (value) to current element. @@ -3701,7 +3820,7 @@ This method will add a child element (value) to current element. _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3726,7 +3845,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3753,7 +3872,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3787,7 +3906,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3821,7 +3940,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3851,7 +3970,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3883,7 +4002,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3907,7 +4026,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3931,7 +4050,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3959,7 +4078,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3979,7 +4098,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4003,7 +4122,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4027,7 +4146,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4039,13 +4158,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`PageBase`](PageBase.md).[`_getRootModalHost`](PageBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4066,7 +4207,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4095,7 +4236,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4121,7 +4262,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4147,7 +4288,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4172,7 +4313,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4196,7 +4337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4220,7 +4361,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4241,7 +4382,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4267,7 +4408,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4287,7 +4428,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4307,7 +4448,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4327,7 +4468,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4347,7 +4488,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: View): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -4371,7 +4512,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4389,7 +4530,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4407,7 +4548,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4425,7 +4566,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4451,7 +4592,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4477,7 +4618,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4503,7 +4644,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4527,7 +4668,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4551,7 +4692,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4578,7 +4719,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4607,7 +4748,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4634,7 +4775,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4655,7 +4796,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4680,7 +4821,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4704,7 +4845,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4734,7 +4875,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4762,7 +4903,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4788,7 +4929,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(refocus?: boolean): void; ``` -Defined in: [ui/page/index.d.ts:206](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L206) +Defined in: [ui/page/index.d.ts:206](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L206) Announce screen changed @@ -4818,7 +4959,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4847,7 +4988,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4875,7 +5016,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4901,7 +5042,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4926,7 +5067,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4944,7 +5085,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4962,7 +5103,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4988,7 +5129,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5014,7 +5155,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5035,7 +5176,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5063,7 +5204,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5093,7 +5234,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5113,7 +5254,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5139,7 +5280,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (child: View) => boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Iterates over children of type View. @@ -5165,7 +5306,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5187,7 +5328,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5208,7 +5349,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5234,7 +5375,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5254,7 +5395,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5274,7 +5415,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5292,7 +5433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5316,7 +5457,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getKeyframeAnimationWithName(animationName: string): KeyframeAnimationInfo; ``` -Defined in: [ui/page/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L97) +Defined in: [ui/page/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L97) Returns a CSS keyframe animation with the specified name, if it exists. @@ -5342,7 +5483,7 @@ Returns a CSS keyframe animation with the specified name, if it exists. getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5362,7 +5503,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5382,7 +5523,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5408,7 +5549,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5428,7 +5569,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5446,7 +5587,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5460,13 +5601,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`PageBase`](PageBase.md).[`getNativeWindow`](PageBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5486,7 +5652,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5518,7 +5684,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5550,7 +5716,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5570,7 +5736,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5596,7 +5762,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5621,7 +5787,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5657,7 +5823,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5686,7 +5852,7 @@ Called from onLayout when native view position is about to be changed. layoutView(): View; ``` -Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L14) +Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L14) #### Returns @@ -5704,7 +5870,7 @@ Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/Nati loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5730,7 +5896,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5758,7 +5924,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5795,7 +5961,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5826,7 +5992,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5859,7 +6025,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L144) +Defined in: [ui/page/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L144) Adds a listener for the specified event name. @@ -5888,7 +6054,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L149) +Defined in: [ui/page/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L149) Raised when navigation to the page has started. @@ -5917,7 +6083,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/index.d.ts:154](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L154) +Defined in: [ui/page/index.d.ts:154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L154) Raised when navigation to the page has finished. @@ -5946,7 +6112,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L159) +Defined in: [ui/page/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L159) Raised when navigation from the page has started. @@ -5975,7 +6141,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L164) +Defined in: [ui/page/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L164) Raised when navigation from the page has finished. @@ -6003,7 +6169,7 @@ Raised when navigation from the page has finished. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6026,7 +6192,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6059,7 +6225,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6088,7 +6254,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6106,7 +6272,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6134,7 +6300,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6152,7 +6318,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6173,7 +6339,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6201,7 +6367,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6221,7 +6387,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6241,7 +6407,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6279,7 +6445,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6306,7 +6472,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6331,7 +6497,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6355,7 +6521,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6382,7 +6548,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6410,7 +6576,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6430,7 +6596,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6457,7 +6623,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6483,7 +6649,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6503,7 +6669,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6527,7 +6693,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6553,7 +6719,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6581,7 +6747,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6613,7 +6779,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6644,7 +6810,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6682,7 +6848,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6731,7 +6897,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6766,7 +6932,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6801,7 +6967,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6835,7 +7001,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6870,7 +7036,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/PageBase.md b/content/api/classes/PageBase.md index 10818eac..bb1007be 100644 --- a/content/api/classes/PageBase.md +++ b/content/api/classes/PageBase.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ## Ns View @@ -26,7 +26,7 @@ ContentView new PageBase(): PageBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -44,7 +44,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -60,7 +60,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -74,7 +74,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -102,7 +102,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -116,7 +116,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -130,7 +130,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -158,7 +158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -172,7 +172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -186,7 +186,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -200,7 +200,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -214,7 +214,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -228,7 +228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -236,13 +236,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`ContentView`](ContentView.md).[`_nativeWindow`](ContentView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -256,7 +274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -270,7 +288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -284,7 +302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -298,7 +316,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -312,7 +330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -332,7 +350,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityAnnouncePageEnabled: boolean; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -342,7 +360,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -360,7 +378,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -378,7 +396,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -398,7 +416,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -414,7 +432,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -432,7 +450,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -451,7 +469,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -469,7 +487,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -487,7 +505,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -505,7 +523,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -523,7 +541,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -541,7 +559,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -559,7 +577,7 @@ If `true` the element is an accessibility element and all the children will be t actionBarHidden: boolean; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -569,7 +587,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -587,7 +605,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -603,7 +621,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -621,7 +639,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -639,7 +657,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -653,7 +671,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -669,7 +687,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -687,7 +705,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -705,7 +723,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -723,7 +741,7 @@ Gets or sets the background image of the view. backgroundSpanUnderStatusBar: boolean; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -733,7 +751,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -751,7 +769,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -769,7 +787,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -787,7 +805,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -805,7 +823,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -823,7 +841,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -841,7 +859,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -859,7 +877,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -881,7 +899,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -899,7 +917,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -917,7 +935,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -935,7 +953,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -953,7 +971,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -971,7 +989,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -989,7 +1007,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1011,7 +1029,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1029,7 +1047,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1047,7 +1065,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1065,7 +1083,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1083,7 +1101,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1101,7 +1119,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1119,7 +1137,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1137,7 +1155,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1153,7 +1171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS content: View; ``` -Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L13) +Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L13) Gets or sets the single child of the view. @@ -1171,7 +1189,7 @@ Gets or sets the single child of the view. cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1185,7 +1203,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1199,7 +1217,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1216,7 +1234,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1234,7 +1252,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1252,7 +1270,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1270,7 +1288,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1284,7 +1302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1298,7 +1316,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1312,7 +1330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1326,7 +1344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1334,13 +1352,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveColumnGap`](ContentView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1354,7 +1386,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1368,7 +1400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1382,7 +1414,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1396,7 +1428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1410,7 +1442,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1418,13 +1450,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveMaxHeight`](ContentView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveMaxWidth`](ContentView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1438,7 +1498,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1446,13 +1506,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveRowGap`](ContentView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1466,7 +1540,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1480,7 +1554,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS enableSwipeBackNavigation: boolean; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -1490,7 +1564,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1508,7 +1582,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1526,7 +1600,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1544,7 +1618,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1562,7 +1636,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1580,7 +1654,7 @@ When true, forces the item to wrap onto a new line. hasActionBar: boolean; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -1590,7 +1664,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1608,7 +1682,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1626,7 +1700,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1644,7 +1718,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1662,7 +1736,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1678,7 +1752,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1694,7 +1768,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1712,7 +1786,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1730,7 +1804,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1748,7 +1822,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1766,7 +1840,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1784,7 +1858,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1802,7 +1876,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1820,7 +1894,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1838,7 +1912,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1856,7 +1930,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1872,7 +1946,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1890,7 +1964,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1913,7 +1987,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1931,7 +2005,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1949,7 +2023,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1967,7 +2041,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1985,7 +2059,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1997,58 +2071,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`minHeight`](ContentView.md#minheight) +[`ContentView`](ContentView.md).[`maxHeight`](ContentView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`minWidth`](ContentView.md#minwidth) +[`ContentView`](ContentView.md).[`maxWidth`](ContentView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`mIsRootView`](ContentView.md#misrootview) +[`ContentView`](ContentView.md).[`minHeight`](ContentView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`ContentView`](ContentView.md).[`minWidth`](ContentView.md#minwidth) *** @@ -2058,7 +2151,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2074,7 +2167,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2090,7 +2183,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2100,13 +2193,29 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m *** +### onAccessibilityPerformEscape? + +```ts +optional onAccessibilityPerformEscape?: () => boolean; +``` + +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) + +iOS only. Perform an action when the user performs the "escape" gesture. + +#### Returns + +`boolean` + +*** + ### opacity ```ts opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2124,7 +2233,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2142,7 +2251,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2160,7 +2269,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2178,7 +2287,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2194,7 +2303,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2213,7 +2322,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2227,7 +2336,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2245,7 +2354,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2263,7 +2372,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2281,7 +2390,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2299,7 +2408,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2317,7 +2426,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2335,7 +2444,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2353,7 +2462,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2371,7 +2480,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2389,7 +2498,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2407,7 +2516,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2434,7 +2543,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2450,7 +2559,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2470,7 +2579,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2486,7 +2595,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2502,7 +2611,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2518,7 +2627,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2536,7 +2645,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2554,7 +2663,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2572,7 +2681,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2588,7 +2697,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2606,7 +2715,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2624,7 +2733,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2642,7 +2751,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2660,7 +2769,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2680,7 +2789,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2700,7 +2809,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2720,7 +2829,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2734,7 +2843,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2748,13 +2857,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`ContentView`](ContentView.md).[`closedModallyEvent`](ContentView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2774,7 +2905,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2794,7 +2925,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2814,7 +2945,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2834,7 +2965,7 @@ loaded static navigatedFromEvent: string; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -2844,7 +2975,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip static navigatedToEvent: string; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -2854,7 +2985,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip static navigatingFromEvent: string; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -2864,7 +2995,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip static navigatingToEvent: string; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) *** @@ -2874,7 +3005,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2894,7 +3025,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2914,7 +3045,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2934,7 +3065,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2956,7 +3087,7 @@ unloaded get _childrenCount(): number; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -2972,7 +3103,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get actionBar(): ActionBar; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -2984,7 +3115,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip set actionBar(value: ActionBar): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Parameters @@ -3006,7 +3137,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get androidStatusBarBackground(): Color; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -3018,7 +3149,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip set androidStatusBarBackground(value: Color): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Parameters @@ -3040,7 +3171,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3052,7 +3183,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3078,7 +3209,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3090,7 +3221,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3116,7 +3247,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3128,7 +3259,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3154,7 +3285,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3166,7 +3297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3192,7 +3323,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3204,7 +3335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3230,7 +3361,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3242,7 +3373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3268,7 +3399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3280,7 +3411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3306,7 +3437,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3318,7 +3449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3344,7 +3475,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get frame(): Frame; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -3360,7 +3491,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3380,7 +3511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3392,7 +3523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3418,7 +3549,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get navigationContext(): any; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) ##### Returns @@ -3434,7 +3565,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip get page(): Page; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Gets owner page. This is a read-only property. @@ -3456,7 +3587,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3470,7 +3601,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3496,7 +3627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3510,7 +3641,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3538,7 +3669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3550,7 +3681,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3576,7 +3707,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3598,7 +3729,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3618,7 +3749,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Called for every child element declared in xml. This method will add a child element (value) to current element. @@ -3646,7 +3777,7 @@ This method will add a child element (value) to current element. _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3671,7 +3802,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3698,7 +3829,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3732,7 +3863,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3766,7 +3897,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3796,7 +3927,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3828,7 +3959,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3852,7 +3983,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3876,7 +4007,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3904,7 +4035,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3924,7 +4055,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3948,7 +4079,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3972,7 +4103,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3984,13 +4115,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`ContentView`](ContentView.md).[`_getRootModalHost`](ContentView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4011,7 +4164,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4040,7 +4193,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4066,7 +4219,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4092,7 +4245,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4117,7 +4270,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4141,7 +4294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4165,7 +4318,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4186,7 +4339,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4212,7 +4365,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4232,7 +4385,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4252,7 +4405,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4272,7 +4425,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4292,7 +4445,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: View): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -4316,7 +4469,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4334,7 +4487,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4352,7 +4505,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4370,7 +4523,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4396,7 +4549,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4422,7 +4575,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4448,7 +4601,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4472,7 +4625,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4496,7 +4649,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4523,7 +4676,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4552,7 +4705,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4579,7 +4732,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4600,7 +4753,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4625,7 +4778,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4649,7 +4802,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4679,7 +4832,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4707,7 +4860,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4733,7 +4886,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(refocus?: boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Announce screen changed @@ -4763,7 +4916,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4792,7 +4945,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4820,7 +4973,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4846,7 +4999,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4871,7 +5024,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4889,7 +5042,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4907,7 +5060,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4933,7 +5086,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4959,7 +5112,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4980,7 +5133,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5008,7 +5161,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5038,7 +5191,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5058,7 +5211,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5084,7 +5237,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (child: View) => boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Iterates over children of type View. @@ -5110,7 +5263,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5132,7 +5285,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5153,7 +5306,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5179,7 +5332,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5199,7 +5352,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5219,7 +5372,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5237,7 +5390,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5261,7 +5414,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getKeyframeAnimationWithName(animationName: string): KeyframeAnimationInfo; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -5281,7 +5434,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5301,7 +5454,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5321,7 +5474,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5347,7 +5500,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5367,7 +5520,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5385,7 +5538,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5399,13 +5552,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ContentView`](ContentView.md).[`getNativeWindow`](ContentView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5425,7 +5603,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5457,7 +5635,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5489,7 +5667,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5509,7 +5687,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5535,7 +5713,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5560,7 +5738,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5596,7 +5774,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5625,7 +5803,7 @@ Called from onLayout when native view position is about to be changed. layoutView(): View; ``` -Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L14) +Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L14) #### Returns @@ -5643,7 +5821,7 @@ Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/Nati loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5669,7 +5847,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5697,7 +5875,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5734,7 +5912,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5765,7 +5943,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5798,7 +5976,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Adds a listener for the specified event name. @@ -5827,7 +6005,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised when a loaded event occurs. @@ -5856,7 +6034,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised when an unloaded event occurs. @@ -5885,7 +6063,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised when a back button is pressed. This event is raised only for android. @@ -5915,7 +6093,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised before the view is shown as a modal dialog. @@ -5944,7 +6122,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised after the view is shown as a modal dialog. @@ -5973,7 +6151,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) Raised after the view is shown as a modal dialog. @@ -6001,7 +6179,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6024,7 +6202,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6057,7 +6235,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6086,7 +6264,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6104,7 +6282,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6132,7 +6310,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onNavigatedFrom(isBackNavigation: boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -6152,7 +6330,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip onNavigatedTo(isBackNavigation: boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -6172,7 +6350,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip onNavigatingFrom(isBackNavigation: boolean): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -6195,7 +6373,7 @@ onNavigatingTo( bindingContext?: any): void; ``` -Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/page-common.ts) +Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/page-common.ts) #### Parameters @@ -6217,7 +6395,7 @@ Defined in: [ui/page/page-common.ts](https://github.com/NativeScript/NativeScrip onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6235,7 +6413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6256,7 +6434,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6284,7 +6462,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6304,7 +6482,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6324,7 +6502,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6362,7 +6540,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6389,7 +6567,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6414,7 +6592,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6438,7 +6616,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6465,7 +6643,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6493,7 +6671,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6513,7 +6691,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6540,7 +6718,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6566,7 +6744,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6586,7 +6764,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6610,7 +6788,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6636,7 +6814,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6664,7 +6842,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6696,7 +6874,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6727,7 +6905,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6765,7 +6943,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6814,7 +6992,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6849,7 +7027,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6884,7 +7062,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6918,7 +7096,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6953,7 +7131,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/PageTransition.md b/content/api/classes/PageTransition.md index c2f80c75..d1a0fd18 100644 --- a/content/api/classes/PageTransition.md +++ b/content/api/classes/PageTransition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/page-transition.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/page-transition.d.ts#L2) +Defined in: [ui/transition/page-transition.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/page-transition.d.ts#L2) ## Extends @@ -21,7 +21,7 @@ new PageTransition( pageLoadedTimeout?: number): PageTransition; ``` -Defined in: [ui/transition/page-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/page-transition.d.ts#L3) +Defined in: [ui/transition/page-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/page-transition.d.ts#L3) #### Parameters @@ -47,7 +47,7 @@ Defined in: [ui/transition/page-transition.d.ts:3](https://github.com/NativeScri id: number; ``` -Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L23) +Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L23) #### Inherited from @@ -61,7 +61,7 @@ Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/Native optional interactiveController?: any; ``` -Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L29) +Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L29) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/Native optional name?: string; ``` -Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L27) +Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L27) (Optional) Provide a unique name to identify this transition @@ -91,7 +91,7 @@ Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/Native optional presented?: any; ``` -Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L30) +Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L30) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/Native optional presenting?: any; ``` -Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L31) +Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L31) #### Inherited from @@ -117,6 +117,7 @@ Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/Native ```ts optional sharedElements?: { + _allPresentingViews?: View[]; independent?: SharedElementSettings & { isPresented?: boolean; }[]; @@ -125,7 +126,13 @@ optional sharedElements?: { }; ``` -Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L32) +Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L32) + +#### \_allPresentingViews? + +```ts +optional _allPresentingViews?: View[]; +``` #### independent? @@ -159,7 +166,7 @@ optional presenting?: SharedElementSettings[]; optional transitionController?: any; ``` -Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L28) +Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L28) #### Inherited from @@ -178,7 +185,7 @@ static optional AndroidTransitionType?: { }; ``` -Defined in: [ui/transition/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L38) +Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L39) #### enter? @@ -219,7 +226,7 @@ optional androidFragmentTransactionCallback( newEntry: BackstackEntry): void; ``` -Defined in: [ui/transition/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L58) +Defined in: [ui/transition/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L59) #### Parameters @@ -249,7 +256,7 @@ animateIOSTransition( operation: any): void; ``` -Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L43) +Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L44) #### Parameters @@ -276,7 +283,7 @@ Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/Native createAndroidAnimator(transitionType: string): any; ``` -Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L44) +Defined in: [ui/transition/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L45) #### Parameters @@ -300,7 +307,7 @@ Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/Native getCurve(): any; ``` -Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L42) +Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L43) #### Returns @@ -318,7 +325,7 @@ Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/Native getDuration(): number; ``` -Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L40) +Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L41) #### Returns @@ -336,7 +343,7 @@ Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/Native optional iosDismissedController(dismissed: any): any; ``` -Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L48) +Defined in: [ui/transition/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L49) #### Parameters @@ -360,7 +367,7 @@ Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/Native optional iosInteractionDismiss(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L52) +Defined in: [ui/transition/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L53) #### Parameters @@ -384,7 +391,7 @@ Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/Native optional iosInteractionPresented(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L54) +Defined in: [ui/transition/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L55) #### Parameters @@ -412,7 +419,7 @@ optional iosNavigatedController( toVC: any): any; ``` -Defined in: [ui/transition/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L56) +Defined in: [ui/transition/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L57) #### Parameters @@ -442,7 +449,7 @@ optional iosPresentedController( source: any): any; ``` -Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L50) +Defined in: [ui/transition/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L51) #### Parameters @@ -468,7 +475,7 @@ Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/Native setDuration(value: number): void; ``` -Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L41) +Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L42) #### Parameters @@ -492,7 +499,7 @@ Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/Native optional setupInteractiveGesture(startCallback: () => void, view: View): void; ``` -Defined in: [ui/transition/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L46) +Defined in: [ui/transition/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L47) #### Parameters diff --git a/content/api/classes/ParserEvent.md b/content/api/classes/ParserEvent.md index dfcecb20..445068bd 100644 --- a/content/api/classes/ParserEvent.md +++ b/content/api/classes/ParserEvent.md @@ -5,7 +5,7 @@ description: Provides information for a parser event. contributors: false --- -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Provides information for a parser event. @@ -24,7 +24,7 @@ new ParserEvent( data?: string): ParserEvent; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) #### Parameters @@ -52,7 +52,7 @@ Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0 get attributes(): Object; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Returns a JSON object with the attributes of an element in case the eventType is ParserEventType.StartElement. @@ -70,7 +70,7 @@ Returns a JSON object with the attributes of an element in case the eventType is get data(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Returns the relevant data in case the eventType is ParserEventType.Text, ParserEventType.CDATA or ParserEventType.Comment. @@ -88,7 +88,7 @@ Returns the relevant data in case the eventType is ParserEventType.Text, ParserE get elementName(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Returns the name of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement. @@ -106,7 +106,7 @@ Returns the name of the element in case the eventType is ParserEventType.StartEl get eventType(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Returns the type of the parser event. This is one of the ParserEventType static members. @@ -124,7 +124,7 @@ Returns the type of the parser event. This is one of the ParserEventType static get namespace(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) If namespace processing is enabled, returns the namespace of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement. @@ -142,7 +142,7 @@ If namespace processing is enabled, returns the namespace of the element in case get position(): Position; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Get the position in the xml string where the event was generated. @@ -160,7 +160,7 @@ Get the position in the xml string where the event was generated. get prefix(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) If namespace processing is enabled, returns the prefix of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement. @@ -176,7 +176,7 @@ If namespace processing is enabled, returns the prefix of the element in case th toString(): string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Returns a JSON string representation of this instance. diff --git a/content/api/classes/ParserEventType.md b/content/api/classes/ParserEventType.md index b72c7955..aa60784b 100644 --- a/content/api/classes/ParserEventType.md +++ b/content/api/classes/ParserEventType.md @@ -5,7 +5,7 @@ description: Specifies the type of parser event. contributors: false --- -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the type of parser event. @@ -29,7 +29,7 @@ new ParserEventType(): ParserEventType; static CDATA: string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the CDATA event type. @@ -41,7 +41,7 @@ Specifies the CDATA event type. static Comment: string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the Comment event type. @@ -53,7 +53,7 @@ Specifies the Comment event type. static EndElement: string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the EndElement event type. @@ -65,7 +65,7 @@ Specifies the EndElement event type. static StartElement: string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the StartElement event type. @@ -77,6 +77,6 @@ Specifies the StartElement event type. static Text: string; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Specifies the Text event type. diff --git a/content/api/classes/Placeholder.md b/content/api/classes/Placeholder.md index ad8b2f3b..f626029a 100644 --- a/content/api/classes/Placeholder.md +++ b/content/api/classes/Placeholder.md @@ -5,7 +5,7 @@ description: Represents a Placeholder, which is used to add a native view to the contributors: false --- -Defined in: [ui/placeholder/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L11) +Defined in: [ui/placeholder/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L11) Represents a Placeholder, which is used to add a native view to the visual tree. @@ -25,7 +25,7 @@ Placeholder new Placeholder(): Placeholder; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1625,7 +1699,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1697,7 +1771,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1715,7 +1789,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1769,7 +1843,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1787,7 +1861,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1803,7 +1877,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1821,7 +1895,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1844,7 +1918,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1862,7 +1936,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1880,7 +1954,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1898,7 +1972,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1916,7 +1990,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1928,58 +2002,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -1989,7 +2082,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2005,7 +2098,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2021,7 +2114,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2037,7 +2130,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2055,7 +2148,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2073,7 +2166,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2091,7 +2184,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2109,7 +2202,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2125,7 +2218,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2144,7 +2237,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2158,7 +2251,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2176,7 +2269,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2194,7 +2287,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2212,7 +2305,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2230,7 +2323,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2248,7 +2341,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2266,7 +2359,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2284,7 +2377,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2302,7 +2395,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2320,7 +2413,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2338,7 +2431,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2365,7 +2458,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2381,7 +2474,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2401,7 +2494,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2417,7 +2510,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2433,7 +2526,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2449,7 +2542,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2467,7 +2560,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2485,7 +2578,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2503,7 +2596,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2519,7 +2612,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2537,7 +2630,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2555,7 +2648,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2573,7 +2666,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2591,7 +2684,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2611,7 +2704,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2631,7 +2724,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2651,7 +2744,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2665,7 +2758,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2679,13 +2772,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2705,7 +2820,7 @@ created static creatingViewEvent: string; ``` -Defined in: [ui/placeholder/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L17) +Defined in: [ui/placeholder/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L17) String value used when hooking to creatingView event. @@ -2721,7 +2836,7 @@ creatingView static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2741,7 +2856,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2761,7 +2876,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2781,7 +2896,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2801,7 +2916,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2821,7 +2936,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2841,7 +2956,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2863,7 +2978,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2875,7 +2990,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2901,7 +3016,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2913,7 +3028,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2939,7 +3054,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2951,7 +3066,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2977,7 +3092,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2989,7 +3104,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3015,7 +3130,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3027,7 +3142,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3053,7 +3168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3065,7 +3180,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3091,7 +3206,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3103,7 +3218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3129,7 +3244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3141,7 +3256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3167,7 +3282,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3187,7 +3302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3199,7 +3314,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3225,7 +3340,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3247,7 +3362,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3261,7 +3376,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3287,7 +3402,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3301,7 +3416,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3329,7 +3444,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3341,7 +3456,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3367,7 +3482,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3389,7 +3504,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3409,7 +3524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3434,7 +3549,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3461,7 +3576,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3495,7 +3610,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3529,7 +3644,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3559,7 +3674,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3591,7 +3706,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3615,7 +3730,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3639,7 +3754,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3667,7 +3782,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3687,7 +3802,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3711,7 +3826,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3735,7 +3850,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3747,13 +3862,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3774,7 +3911,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3803,7 +3940,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3829,7 +3966,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3855,7 +3992,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3880,7 +4017,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3904,7 +4041,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3928,7 +4065,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3949,7 +4086,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3975,7 +4112,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -3995,7 +4132,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4015,7 +4152,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4035,7 +4172,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4055,7 +4192,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4079,7 +4216,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4097,7 +4234,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4115,7 +4252,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4133,7 +4270,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4159,7 +4296,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4185,7 +4322,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4211,7 +4348,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4235,7 +4372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4259,7 +4396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4286,7 +4423,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4315,7 +4452,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4342,7 +4479,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4363,7 +4500,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4388,7 +4525,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4412,7 +4549,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4442,7 +4579,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4470,7 +4607,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4496,7 +4633,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4520,7 +4657,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4549,7 +4686,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4577,7 +4714,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4603,7 +4740,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4628,7 +4765,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4646,7 +4783,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4664,7 +4801,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4690,7 +4827,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4716,7 +4853,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4737,7 +4874,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4765,7 +4902,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4795,7 +4932,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4815,7 +4952,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4841,7 +4978,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4867,7 +5004,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4889,7 +5026,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4910,7 +5047,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4936,7 +5073,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4956,7 +5093,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -4976,7 +5113,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4994,7 +5131,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5018,7 +5155,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5038,7 +5175,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5058,7 +5195,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5084,7 +5221,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5104,7 +5241,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5122,7 +5259,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5136,13 +5273,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5162,7 +5324,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5194,7 +5356,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5226,7 +5388,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5246,7 +5408,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5272,7 +5434,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5297,7 +5459,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5333,7 +5495,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5362,7 +5524,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5388,7 +5550,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5416,7 +5578,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5453,7 +5615,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5484,7 +5646,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5517,7 +5679,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/placeholder/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L29) +Defined in: [ui/placeholder/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L29) Adds a listener for the specified event name. @@ -5546,7 +5708,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/placeholder/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L34) +Defined in: [ui/placeholder/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L34) Raised when a creatingView event occurs. @@ -5574,7 +5736,7 @@ Raised when a creatingView event occurs. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5597,7 +5759,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5630,7 +5792,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5659,7 +5821,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5677,7 +5839,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5705,7 +5867,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5723,7 +5885,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5744,7 +5906,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5772,7 +5934,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5792,7 +5954,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5812,7 +5974,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5850,7 +6012,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -5877,7 +6039,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5902,7 +6064,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5926,7 +6088,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -5953,7 +6115,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -5981,7 +6143,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6001,7 +6163,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6028,7 +6190,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6054,7 +6216,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6074,7 +6236,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6098,7 +6260,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6124,7 +6286,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6152,7 +6314,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6184,7 +6346,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6215,7 +6377,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6253,7 +6415,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6302,7 +6464,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6337,7 +6499,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6372,7 +6534,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6406,7 +6568,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6441,7 +6603,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Progress.md b/content/api/classes/Progress.md index fd41e6c8..d6db8afc 100644 --- a/content/api/classes/Progress.md +++ b/content/api/classes/Progress.md @@ -5,7 +5,7 @@ description: Represents a progress component. contributors: false --- -Defined in: [ui/progress/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L9) +Defined in: [ui/progress/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L9) Represents a progress component. @@ -25,7 +25,7 @@ Progress new Progress(): Progress; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/progress/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L20) +Defined in: [ui/progress/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L20) Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/progress/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L25) +Defined in: [ui/progress/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L25) Gets the native iOS [UIProgressView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIProgressView_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1625,7 +1699,7 @@ Gets the native iOS [UIProgressView](https://developer.apple.com/library/ios/doc iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1697,7 +1771,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1715,7 +1789,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1769,7 +1843,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1787,7 +1861,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1803,7 +1877,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1821,7 +1895,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1844,7 +1918,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1862,7 +1936,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1880,7 +1954,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1898,7 +1972,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1916,7 +1990,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1928,13 +2002,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxHeight`](View.md#maxheight) + +*** + ### maxValue ```ts maxValue: number; ``` -Defined in: [ui/progress/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L39) +Defined in: [ui/progress/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L39) Gets or sets a progress max value. @@ -1942,58 +2035,58 @@ Gets or sets a progress max value. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`minHeight`](View.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2003,7 +2096,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2019,7 +2112,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2035,7 +2128,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2051,7 +2144,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2069,7 +2162,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2087,7 +2180,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2105,7 +2198,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2123,7 +2216,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2139,7 +2232,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2158,7 +2251,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2172,7 +2265,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2190,7 +2283,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2208,7 +2301,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2226,7 +2319,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2244,7 +2337,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2262,7 +2355,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2280,7 +2373,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2298,7 +2391,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2316,7 +2409,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2334,7 +2427,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2352,7 +2445,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2379,7 +2472,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2395,7 +2488,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2415,7 +2508,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2431,7 +2524,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2447,7 +2540,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2463,7 +2556,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2481,7 +2574,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2499,7 +2592,7 @@ Gets or sets the translateY affine transform of the view in device independent p value: number; ``` -Defined in: [ui/progress/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L32) +Defined in: [ui/progress/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L32) Gets or sets a progress current value. @@ -2513,7 +2606,7 @@ Gets or sets a progress current value. verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2531,7 +2624,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2547,7 +2640,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2565,7 +2658,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2583,7 +2676,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2601,7 +2694,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2619,7 +2712,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2639,7 +2732,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2659,7 +2752,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2679,7 +2772,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2693,7 +2786,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2707,13 +2800,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2733,7 +2848,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2753,7 +2868,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2773,7 +2888,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2793,7 +2908,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2813,7 +2928,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2833,7 +2948,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2853,7 +2968,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2873,7 +2988,7 @@ unloaded readonly static valueChangeEvent: "valueChange" = 'valueChange'; ``` -Defined in: [ui/progress/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/progress/index.d.ts#L15) +Defined in: [ui/progress/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/progress/index.d.ts#L15) String value used when hooking to valueChange event. @@ -2891,7 +3006,7 @@ valueChange get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2903,7 +3018,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2929,7 +3044,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2941,7 +3056,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2967,7 +3082,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2979,7 +3094,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3005,7 +3120,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3017,7 +3132,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3043,7 +3158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3055,7 +3170,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3081,7 +3196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3093,7 +3208,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3119,7 +3234,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3131,7 +3246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3157,7 +3272,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3169,7 +3284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3195,7 +3310,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3215,7 +3330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3227,7 +3342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3253,7 +3368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3275,7 +3390,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3289,7 +3404,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3315,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3329,7 +3444,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3357,7 +3472,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3369,7 +3484,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3395,7 +3510,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3417,7 +3532,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3437,7 +3552,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3462,7 +3577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3489,7 +3604,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3523,7 +3638,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3557,7 +3672,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3587,7 +3702,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3619,7 +3734,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3643,7 +3758,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3667,7 +3782,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3695,7 +3810,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3715,7 +3830,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3739,7 +3854,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3763,7 +3878,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3775,13 +3890,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3802,7 +3939,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3831,7 +3968,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3857,7 +3994,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3883,7 +4020,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3908,7 +4045,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3932,7 +4069,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3956,7 +4093,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3977,7 +4114,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4003,7 +4140,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4023,7 +4160,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4043,7 +4180,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4063,7 +4200,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4083,7 +4220,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4107,7 +4244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4125,7 +4262,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4143,7 +4280,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4161,7 +4298,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4187,7 +4324,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4213,7 +4350,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4239,7 +4376,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4263,7 +4400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4287,7 +4424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4314,7 +4451,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4343,7 +4480,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4370,7 +4507,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4391,7 +4528,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4416,7 +4553,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4440,7 +4577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4470,7 +4607,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4498,7 +4635,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4524,7 +4661,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4548,7 +4685,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4577,7 +4714,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4605,7 +4742,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4631,7 +4768,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4656,7 +4793,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4674,7 +4811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4692,7 +4829,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4718,7 +4855,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4744,7 +4881,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4765,7 +4902,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4793,7 +4930,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4823,7 +4960,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4843,7 +4980,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4869,7 +5006,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4895,7 +5032,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4917,7 +5054,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4938,7 +5075,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4964,7 +5101,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4984,7 +5121,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5004,7 +5141,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5022,7 +5159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5046,7 +5183,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5066,7 +5203,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5086,7 +5223,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5112,7 +5249,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5132,7 +5269,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5150,7 +5287,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5164,13 +5301,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5190,7 +5352,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5222,7 +5384,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5254,7 +5416,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5274,7 +5436,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5300,7 +5462,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5325,7 +5487,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5361,7 +5523,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5390,7 +5552,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5416,7 +5578,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5444,7 +5606,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5481,7 +5643,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5512,7 +5674,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5545,7 +5707,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5574,7 +5736,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5603,7 +5765,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5632,7 +5794,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5662,7 +5824,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5691,7 +5853,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5720,7 +5882,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5748,7 +5910,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5771,7 +5933,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5804,7 +5966,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5833,7 +5995,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5851,7 +6013,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5879,7 +6041,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5897,7 +6059,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5918,7 +6080,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5946,7 +6108,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5966,7 +6128,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5986,7 +6148,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6024,7 +6186,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6051,7 +6213,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6076,7 +6238,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6100,7 +6262,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6127,7 +6289,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6155,7 +6317,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6175,7 +6337,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6202,7 +6364,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6228,7 +6390,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6248,7 +6410,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6272,7 +6434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6298,7 +6460,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6326,7 +6488,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6358,7 +6520,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6389,7 +6551,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6427,7 +6589,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6476,7 +6638,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6511,7 +6673,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6546,7 +6708,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6580,7 +6742,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6615,7 +6777,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Property.md b/content/api/classes/Property.md index 05196a5b..68dec90d 100644 --- a/content/api/classes/Property.md +++ b/content/api/classes/Property.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Extended by @@ -31,7 +31,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new Property(options: PropertyOptions): Property; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -51,7 +51,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native configurable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -67,7 +67,7 @@ TypedPropertyDescriptor.configurable readonly defaultValue: U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -83,7 +83,7 @@ Property.defaultValue readonly defaultValueKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -99,7 +99,7 @@ Property.defaultValueKey enumerable: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -115,7 +115,7 @@ TypedPropertyDescriptor.enumerable get: () => U; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Returns @@ -135,7 +135,7 @@ TypedPropertyDescriptor.get readonly getDefault: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -151,7 +151,7 @@ Property.getDefault isStyleProperty: boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -167,7 +167,7 @@ Property.isStyleProperty readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -183,7 +183,7 @@ Property.key readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -199,7 +199,7 @@ Property.name readonly nativeValueChange: (owner: T, value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -226,7 +226,7 @@ Property.nativeValueChange overrideHandlers: (options: PropertyOptions) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -252,7 +252,7 @@ Property.overrideHandlers set: (value: U) => void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -278,7 +278,7 @@ TypedPropertyDescriptor.set readonly setNative: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -294,7 +294,7 @@ Property.setNative isSet(instance: T): boolean; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -322,7 +322,7 @@ register(cls: { }): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/ProxyViewContainer.md b/content/api/classes/ProxyViewContainer.md index 80800ce2..55ca9313 100644 --- a/content/api/classes/ProxyViewContainer.md +++ b/content/api/classes/ProxyViewContainer.md @@ -5,7 +5,7 @@ description: Proxy view container that adds all its native children directly to contributors: false --- -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Proxy view container that adds all its native children directly to the parent. To be used as a logical grouping container of views. @@ -26,7 +26,7 @@ ProxyViewContainer new ProxyViewContainer(): ProxyViewContainer; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) #### Returns @@ -44,7 +44,7 @@ Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/N optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -60,7 +60,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -74,7 +74,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -102,7 +102,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -116,7 +116,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -130,7 +130,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -158,7 +158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -172,7 +172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -186,7 +186,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -200,7 +200,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -214,7 +214,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -228,7 +228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -236,13 +236,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -256,7 +274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -270,7 +288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -284,7 +302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -298,7 +316,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -312,7 +330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -332,7 +350,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -350,7 +368,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -368,7 +386,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -388,7 +406,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -404,7 +422,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -422,7 +440,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -441,7 +459,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -459,7 +477,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -477,7 +495,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -495,7 +513,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -513,7 +531,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -531,7 +549,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -549,7 +567,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -567,7 +585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -585,7 +603,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -603,7 +621,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -617,7 +635,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -633,7 +651,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -651,7 +669,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -669,7 +687,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -687,7 +705,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -705,7 +723,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -723,7 +741,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -741,7 +759,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -759,7 +777,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -777,7 +795,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -795,7 +813,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -813,7 +831,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -835,7 +853,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -853,7 +871,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -871,7 +889,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -889,7 +907,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -907,7 +925,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -925,7 +943,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -943,7 +961,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -965,7 +983,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -983,7 +1001,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1001,7 +1019,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1019,7 +1037,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1037,7 +1055,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1055,7 +1073,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1073,7 +1091,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1091,7 +1109,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1109,7 +1127,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1125,7 +1143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1139,7 +1157,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1153,7 +1171,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1170,7 +1188,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1188,7 +1206,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1206,7 +1224,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1224,7 +1242,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1238,7 +1256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1252,7 +1270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1266,7 +1284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1280,7 +1298,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1288,13 +1306,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1308,7 +1340,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1322,7 +1354,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1336,7 +1368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1350,7 +1382,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1364,7 +1396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1372,13 +1404,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1392,7 +1452,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1400,13 +1460,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1420,7 +1494,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1434,7 +1508,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1452,7 +1526,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1470,7 +1544,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1488,7 +1562,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1506,7 +1580,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1524,7 +1598,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1542,7 +1616,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1560,7 +1634,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1578,7 +1652,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1596,7 +1670,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1612,7 +1686,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1630,7 +1704,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1648,7 +1722,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1666,7 +1740,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1684,7 +1758,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1702,7 +1776,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1720,7 +1794,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1738,7 +1812,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1756,7 +1830,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1774,7 +1848,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1790,7 +1864,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1810,7 +1884,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1828,7 +1902,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1851,7 +1925,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1869,7 +1943,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1887,7 +1961,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1905,7 +1979,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1923,7 +1997,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1935,58 +2009,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -1996,7 +2089,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2012,7 +2105,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2028,7 +2121,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2044,7 +2137,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2062,7 +2155,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2080,7 +2173,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2098,7 +2191,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2120,7 +2213,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2138,7 +2231,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2156,7 +2249,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2174,7 +2267,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2192,7 +2285,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2210,7 +2303,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2226,7 +2319,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2245,7 +2338,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2259,7 +2352,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2277,7 +2370,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2295,7 +2388,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2313,7 +2406,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2331,7 +2424,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2349,7 +2442,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2367,7 +2460,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2385,7 +2478,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2403,7 +2496,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2421,7 +2514,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2439,7 +2532,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2466,7 +2559,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2482,7 +2575,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2502,7 +2595,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2518,7 +2611,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2534,7 +2627,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2550,7 +2643,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2568,7 +2661,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2586,7 +2679,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2604,7 +2697,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2620,7 +2713,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2638,7 +2731,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2656,7 +2749,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2674,7 +2767,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2692,7 +2785,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2712,7 +2805,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2732,7 +2825,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2752,7 +2845,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2766,7 +2859,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2780,13 +2873,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2806,7 +2921,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2826,7 +2941,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2846,7 +2961,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2866,7 +2981,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2886,7 +3001,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2906,7 +3021,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2926,7 +3041,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2948,7 +3063,7 @@ unloaded get android(): any; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -2972,7 +3087,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2984,7 +3099,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3010,7 +3125,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3022,7 +3137,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3048,7 +3163,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3060,7 +3175,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3086,7 +3201,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3098,7 +3213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3124,7 +3239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3136,7 +3251,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3162,7 +3277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3174,7 +3289,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3200,7 +3315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3212,7 +3327,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3238,7 +3353,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3250,7 +3365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3276,7 +3391,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -3300,7 +3415,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail get isLayoutRequested(): boolean; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) ##### Returns @@ -3316,7 +3431,7 @@ Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/N get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3336,7 +3451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3348,7 +3463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3374,7 +3489,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3396,7 +3511,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3410,7 +3525,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3436,7 +3551,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3450,7 +3565,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3478,7 +3593,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3490,7 +3605,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3516,7 +3631,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3538,7 +3653,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3558,7 +3673,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3583,7 +3698,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3610,7 +3725,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(child: View, atIndex?: number): boolean; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3644,7 +3759,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3678,7 +3793,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3708,7 +3823,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3740,7 +3855,7 @@ Allow multiple updates to be performed on the instance at once. _changedLayoutProperty(propName: string, value: string): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Layout property changed, proxy the new value to the child view(s) @@ -3763,7 +3878,7 @@ Layout property changed, proxy the new value to the child view(s) _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3787,7 +3902,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3811,7 +3926,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3839,7 +3954,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3859,7 +3974,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) #### Parameters @@ -3883,7 +3998,7 @@ Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/N _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3907,7 +4022,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) #### Returns @@ -3919,13 +4034,35 @@ Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/N *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3946,7 +4083,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3975,7 +4112,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4001,7 +4138,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4027,7 +4164,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4052,7 +4189,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4076,7 +4213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4100,7 +4237,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4121,7 +4258,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4147,7 +4284,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4167,7 +4304,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4187,7 +4324,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4207,7 +4344,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4227,7 +4364,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: View): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) #### Parameters @@ -4251,7 +4388,7 @@ Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/N protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4269,7 +4406,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4287,7 +4424,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4305,7 +4442,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) INTERNAL. Used by the layout system. @@ -4331,7 +4468,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4357,7 +4494,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4383,7 +4520,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(child: View): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4409,7 +4546,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4433,7 +4570,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4457,7 +4594,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4484,7 +4621,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4513,7 +4650,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4540,7 +4677,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4561,7 +4698,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4586,7 +4723,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4610,7 +4747,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4637,7 +4774,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) INTERNAL. Used by the layout system. @@ -4666,7 +4803,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4694,7 +4831,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4720,7 +4857,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4740,7 +4877,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4770,7 +4907,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4799,7 +4936,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4827,7 +4964,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4853,7 +4990,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4878,7 +5015,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4896,7 +5033,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4914,7 +5051,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4940,7 +5077,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4966,7 +5103,7 @@ Creates an Animation object based on the supplied options. createNativeView(): any; ``` -Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/proxy-view-container/index.ts) +Defined in: [ui/proxy-view-container/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/proxy-view-container/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4987,7 +5124,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5015,7 +5152,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5045,7 +5182,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5065,7 +5202,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5091,7 +5228,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5117,7 +5254,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5143,7 +5280,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5165,7 +5302,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5186,7 +5323,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5212,7 +5349,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5232,7 +5369,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5258,7 +5395,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5284,7 +5421,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5304,7 +5441,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5324,7 +5461,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5342,7 +5479,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5366,7 +5503,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5386,7 +5523,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5406,7 +5543,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5432,7 +5569,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5452,7 +5589,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5470,7 +5607,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5484,13 +5621,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5510,7 +5672,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5542,7 +5704,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5574,7 +5736,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5594,7 +5756,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5620,7 +5782,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5640,7 +5802,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5672,7 +5834,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5708,7 +5870,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5737,7 +5899,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5763,7 +5925,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5791,7 +5953,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5828,7 +5990,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5859,7 +6021,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5892,7 +6054,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5921,7 +6083,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5950,7 +6112,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5979,7 +6141,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6009,7 +6171,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6038,7 +6200,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6067,7 +6229,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6095,7 +6257,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6118,7 +6280,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6151,7 +6313,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6180,7 +6342,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6198,7 +6360,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6226,7 +6388,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6244,7 +6406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6262,7 +6424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6288,7 +6450,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6311,7 +6473,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6339,7 +6501,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6359,7 +6521,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6379,7 +6541,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6417,7 +6579,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6444,7 +6606,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6469,7 +6631,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6493,7 +6655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6520,7 +6682,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6548,7 +6710,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6568,7 +6730,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6595,7 +6757,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6621,7 +6783,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6641,7 +6803,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6665,7 +6827,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6691,7 +6853,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6719,7 +6881,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6751,7 +6913,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6782,7 +6944,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6820,7 +6982,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6869,7 +7031,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6904,7 +7066,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6939,7 +7101,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6973,7 +7135,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7008,7 +7170,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Repeater.md b/content/api/classes/Repeater.md index 7110c78c..5e070db6 100644 --- a/content/api/classes/Repeater.md +++ b/content/api/classes/Repeater.md @@ -5,7 +5,7 @@ description: Represents a UI Repeater component. contributors: false --- -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Represents a UI Repeater component. @@ -25,7 +25,7 @@ Repeater new Repeater(): Repeater; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_nativeWindow`](CustomLayoutView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveColumnGap`](CustomLayoutView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxHeight`](CustomLayoutView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveMaxWidth`](CustomLayoutView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`effectiveRowGap`](CustomLayoutView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1593,7 +1667,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1609,7 +1683,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1625,7 +1699,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1643,7 +1717,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1661,7 +1735,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1697,7 +1771,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1715,7 +1789,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1733,7 +1807,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1769,7 +1843,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1787,7 +1861,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1803,7 +1877,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1821,7 +1895,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi items: any[] | ItemsSource; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) 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. @@ -1834,7 +1908,7 @@ The items property can be set to an array or an object defining length and getIt itemsLayout: LayoutBase; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Gets or set the items layout of the Repeater. Default value is StackLayout with orientation="vertical". @@ -1846,7 +1920,7 @@ Gets or set the items layout of the Repeater. Default value is StackLayout with itemTemplate: string | Template; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Gets or set the item template of the Repeater. @@ -1858,7 +1932,7 @@ Gets or set the item template of the Repeater. itemTemplates: string | KeyedTemplate[]; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Gets or set the item templates of the Repeater. @@ -1870,7 +1944,7 @@ Gets or set the item templates of the Repeater. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1893,7 +1967,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1911,7 +1985,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1929,7 +2003,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1947,7 +2021,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1965,7 +2039,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1977,58 +2051,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) +[`CustomLayoutView`](CustomLayoutView.md).[`maxHeight`](CustomLayoutView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) +[`CustomLayoutView`](CustomLayoutView.md).[`maxWidth`](CustomLayoutView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`CustomLayoutView`](CustomLayoutView.md).[`mIsRootView`](CustomLayoutView.md#misrootview) +[`CustomLayoutView`](CustomLayoutView.md).[`minHeight`](CustomLayoutView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`minWidth`](CustomLayoutView.md#minwidth) *** @@ -2038,7 +2131,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2054,7 +2147,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2070,7 +2163,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2086,7 +2179,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2104,7 +2197,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2122,7 +2215,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2140,7 +2233,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2158,7 +2251,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2174,7 +2267,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2193,7 +2286,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2207,7 +2300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2225,7 +2318,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2243,7 +2336,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2261,7 +2354,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2279,7 +2372,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2297,7 +2390,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2315,7 +2408,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2333,7 +2426,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2351,7 +2444,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2369,7 +2462,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2387,7 +2480,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2414,7 +2507,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2430,7 +2523,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2450,7 +2543,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2466,7 +2559,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2482,7 +2575,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2498,7 +2591,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2516,7 +2609,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2534,7 +2627,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2552,7 +2645,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2568,7 +2661,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2586,7 +2679,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2604,7 +2697,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2622,7 +2715,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2640,7 +2733,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2660,7 +2753,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2680,7 +2773,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2700,7 +2793,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2714,7 +2807,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2728,13 +2821,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`closedModallyEvent`](CustomLayoutView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2754,7 +2869,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2774,7 +2889,7 @@ disposeNativeView static knownFunctions: string[]; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) *** @@ -2784,7 +2899,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2804,7 +2919,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2824,7 +2939,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2844,7 +2959,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2864,7 +2979,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2884,7 +2999,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2906,7 +3021,7 @@ unloaded get _childrenCount(): number; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) ##### Returns @@ -2922,7 +3037,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2934,7 +3049,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2960,7 +3075,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2972,7 +3087,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2998,7 +3113,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3010,7 +3125,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3036,7 +3151,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3048,7 +3163,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3074,7 +3189,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3086,7 +3201,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3112,7 +3227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3124,7 +3239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3150,7 +3265,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3162,7 +3277,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3188,7 +3303,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3200,7 +3315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3226,7 +3341,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3248,7 +3363,7 @@ get itemTemplateSelector(): | ((item: any, index: number, items: any) => string); ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) ##### Returns @@ -3263,7 +3378,7 @@ set itemTemplateSelector(value: | ((item: any, index: number, items: any) => string)): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) ##### Parameters @@ -3285,7 +3400,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3297,7 +3412,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3323,7 +3438,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3345,7 +3460,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3359,7 +3474,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3385,7 +3500,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3399,7 +3514,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3427,7 +3542,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3439,7 +3554,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3465,7 +3580,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3487,7 +3602,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3507,7 +3622,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3532,7 +3647,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3559,7 +3674,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3593,7 +3708,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3627,7 +3742,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3657,7 +3772,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3689,7 +3804,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3713,7 +3828,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3737,7 +3852,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3765,7 +3880,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3785,7 +3900,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3809,7 +3924,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3833,7 +3948,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getDefaultItemContent(index: number): View; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) #### Parameters @@ -3853,7 +3968,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3865,13 +3980,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`_getRootModalHost`](CustomLayoutView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3892,7 +4029,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3921,7 +4058,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3947,7 +4084,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3973,7 +4110,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3998,7 +4135,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4022,7 +4159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4046,7 +4183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4067,7 +4204,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4093,7 +4230,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4113,7 +4250,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4133,7 +4270,7 @@ Called in android when native view is dettached from window. _onItemsChanged(data: ChangedData): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) #### Parameters @@ -4153,7 +4290,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4173,7 +4310,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4193,7 +4330,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4217,7 +4354,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4235,7 +4372,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4253,7 +4390,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4271,7 +4408,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4297,7 +4434,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4323,7 +4460,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4349,7 +4486,7 @@ Method is intended to be overridden by inheritors and used as "protected" _requestRefresh(): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) #### Returns @@ -4363,7 +4500,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4387,7 +4524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4411,7 +4548,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4438,7 +4575,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4467,7 +4604,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4494,7 +4631,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4515,7 +4652,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4540,7 +4677,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4564,7 +4701,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4594,7 +4731,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4622,7 +4759,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4648,7 +4785,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4672,7 +4809,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4701,7 +4838,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4729,7 +4866,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4755,7 +4892,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4780,7 +4917,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4798,7 +4935,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4816,7 +4953,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4842,7 +4979,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4868,7 +5005,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4889,7 +5026,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4917,7 +5054,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4947,7 +5084,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4967,7 +5104,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4993,7 +5130,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (child: View) => boolean): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Iterates over children of type View. @@ -5019,7 +5156,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5041,7 +5178,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5062,7 +5199,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5088,7 +5225,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5108,7 +5245,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5128,7 +5265,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5146,7 +5283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5170,7 +5307,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5190,7 +5327,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5210,7 +5347,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5236,7 +5373,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5256,7 +5393,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5274,7 +5411,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5288,13 +5425,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`CustomLayoutView`](CustomLayoutView.md).[`getNativeWindow`](CustomLayoutView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5314,7 +5476,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5346,7 +5508,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5378,7 +5540,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5398,7 +5560,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5424,7 +5586,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5449,7 +5611,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5485,7 +5647,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5514,7 +5676,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5540,7 +5702,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5568,7 +5730,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5605,7 +5767,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5636,7 +5798,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5669,7 +5831,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5698,7 +5860,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5727,7 +5889,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5756,7 +5918,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5786,7 +5948,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5815,7 +5977,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5844,7 +6006,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5872,7 +6034,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5895,7 +6057,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5928,7 +6090,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5957,7 +6119,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) #### Returns @@ -5975,7 +6137,7 @@ Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/ onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6003,7 +6165,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6021,7 +6183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6039,7 +6201,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS refresh(): void; ``` -Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/repeater/index.ts) +Defined in: [ui/repeater/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/repeater/index.ts) Forces the Repeater to reload all its items. @@ -6058,7 +6220,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6086,7 +6248,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6106,7 +6268,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6126,7 +6288,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6164,7 +6326,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6191,7 +6353,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6216,7 +6378,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6240,7 +6402,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6267,7 +6429,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6295,7 +6457,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6315,7 +6477,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6342,7 +6504,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6368,7 +6530,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6388,7 +6550,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6412,7 +6574,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6438,7 +6600,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6466,7 +6628,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6498,7 +6660,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6529,7 +6691,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6567,7 +6729,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6616,7 +6778,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6651,7 +6813,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6686,7 +6848,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6720,7 +6882,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6755,7 +6917,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/RootLayout.md b/content/api/classes/RootLayout.md index e59d9189..ac0558f6 100644 --- a/content/api/classes/RootLayout.md +++ b/content/api/classes/RootLayout.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/root-layout/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L7) +Defined in: [ui/layouts/root-layout/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L7) ## Ns View @@ -22,7 +22,7 @@ RootLayout new RootLayout(): RootLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -40,7 +40,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -56,7 +56,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -70,7 +70,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -98,7 +98,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -126,7 +126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -140,7 +140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -154,7 +154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -182,7 +182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -196,7 +196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -210,7 +210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -224,7 +224,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,13 +232,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`_nativeWindow`](GridLayout.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -252,7 +270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -266,7 +284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -280,7 +298,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -294,7 +312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -308,7 +326,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -328,7 +346,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -346,7 +364,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -364,7 +382,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -384,7 +402,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -400,7 +418,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -418,7 +436,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -437,7 +455,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -455,7 +473,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -473,7 +491,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -491,7 +509,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -509,7 +527,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -527,7 +545,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -545,7 +563,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -563,7 +581,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -579,7 +597,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -597,7 +615,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -615,7 +633,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -629,7 +647,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -645,7 +663,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -663,7 +681,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -681,7 +699,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -699,7 +717,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -717,7 +735,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -735,7 +753,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -753,7 +771,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -771,7 +789,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -789,7 +807,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -807,7 +825,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -825,7 +843,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -847,7 +865,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -865,7 +883,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -883,7 +901,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -901,7 +919,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -919,7 +937,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -937,7 +955,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -955,7 +973,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -977,7 +995,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -995,7 +1013,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1013,7 +1031,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1031,7 +1049,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1049,7 +1067,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1067,7 +1085,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1085,7 +1103,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1103,7 +1121,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1121,7 +1139,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columns: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) +Defined in: [ui/layouts/grid-layout/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L67) A string value representing column widths delimited with commas. @@ -1141,7 +1159,7 @@ Valid values: an absolute number, auto, or *: columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1157,7 +1175,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1171,7 +1189,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1185,7 +1203,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1202,7 +1220,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1220,7 +1238,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1238,7 +1256,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1256,7 +1274,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1270,7 +1288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1284,7 +1302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1298,7 +1316,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1312,7 +1330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1320,13 +1338,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`effectiveColumnGap`](GridLayout.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1340,7 +1372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1354,7 +1386,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1368,7 +1400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1382,7 +1414,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1396,7 +1428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1404,13 +1436,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`effectiveMaxHeight`](GridLayout.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`effectiveMaxWidth`](GridLayout.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1424,7 +1484,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1432,13 +1492,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`effectiveRowGap`](GridLayout.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1452,7 +1526,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1466,7 +1540,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1484,7 +1558,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1502,7 +1576,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1520,7 +1594,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1538,7 +1612,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1556,7 +1630,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1574,7 +1648,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1592,7 +1666,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1610,7 +1684,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1628,7 +1702,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1644,7 +1718,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1660,7 +1734,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1678,7 +1752,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1696,7 +1770,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1714,7 +1788,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1732,7 +1806,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1750,7 +1824,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1768,7 +1842,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1786,7 +1860,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1804,7 +1878,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1822,7 +1896,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1838,7 +1912,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1858,7 +1932,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1876,7 +1950,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1899,7 +1973,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1917,7 +1991,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1935,7 +2009,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1953,7 +2027,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1971,7 +2045,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1983,58 +2057,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`GridLayout`](GridLayout.md).[`minHeight`](GridLayout.md#minheight) +[`GridLayout`](GridLayout.md).[`maxHeight`](GridLayout.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`GridLayout`](GridLayout.md).[`minWidth`](GridLayout.md#minwidth) +[`GridLayout`](GridLayout.md).[`maxWidth`](GridLayout.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`GridLayout`](GridLayout.md).[`mIsRootView`](GridLayout.md#misrootview) +[`GridLayout`](GridLayout.md).[`minHeight`](GridLayout.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`minWidth`](GridLayout.md#minwidth) *** @@ -2044,7 +2137,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2060,7 +2153,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2076,7 +2169,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2092,7 +2185,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2110,7 +2203,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2128,7 +2221,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2146,7 +2239,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2168,7 +2261,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2186,7 +2279,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2204,7 +2297,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2222,7 +2315,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2240,7 +2333,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2258,7 +2351,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2274,7 +2367,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2293,7 +2386,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2307,7 +2400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2325,7 +2418,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2343,7 +2436,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2361,7 +2454,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2379,7 +2472,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2397,7 +2490,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rows: string; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) +Defined in: [ui/layouts/grid-layout/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L59) A string value representing row heights delimited with commas. @@ -2417,7 +2510,7 @@ Valid values: an absolute number, auto, or *: rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2435,7 +2528,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2453,7 +2546,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2471,7 +2564,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2489,7 +2582,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2507,7 +2600,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2534,7 +2627,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2550,7 +2643,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2570,7 +2663,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2586,7 +2679,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2602,7 +2695,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2618,7 +2711,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2636,7 +2729,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2654,7 +2747,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2672,7 +2765,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2688,7 +2781,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2706,7 +2799,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2724,7 +2817,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2742,7 +2835,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2760,7 +2853,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2780,7 +2873,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2800,7 +2893,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2820,7 +2913,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2834,7 +2927,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2848,13 +2941,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`closedModallyEvent`](GridLayout.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2874,7 +2989,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2894,7 +3009,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2914,7 +3029,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2934,7 +3049,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2954,7 +3069,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2974,7 +3089,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2994,7 +3109,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3016,7 +3131,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3028,7 +3143,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3054,7 +3169,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3066,7 +3181,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3092,7 +3207,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3104,7 +3219,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3130,7 +3245,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3142,7 +3257,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3168,7 +3283,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3180,7 +3295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3206,7 +3321,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3218,7 +3333,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3244,7 +3359,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3256,7 +3371,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3282,7 +3397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3294,7 +3409,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3320,7 +3435,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3340,7 +3455,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3352,7 +3467,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3378,7 +3493,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3400,7 +3515,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3414,7 +3529,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3440,7 +3555,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3454,7 +3569,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3482,7 +3597,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3494,7 +3609,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3520,7 +3635,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3542,7 +3657,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3562,7 +3677,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3587,7 +3702,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3614,7 +3729,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3648,7 +3763,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3682,7 +3797,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3712,7 +3827,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3744,7 +3859,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3768,7 +3883,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3792,7 +3907,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3820,7 +3935,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3840,7 +3955,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3864,7 +3979,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3888,7 +4003,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3900,13 +4015,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`_getRootModalHost`](GridLayout.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3927,7 +4064,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3956,7 +4093,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3982,7 +4119,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4008,7 +4145,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4033,7 +4170,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4057,7 +4194,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4081,7 +4218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4102,7 +4239,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4128,7 +4265,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4148,7 +4285,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4168,7 +4305,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4188,7 +4325,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4208,7 +4345,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4232,7 +4369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4250,7 +4387,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4268,7 +4405,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4286,7 +4423,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4312,7 +4449,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4338,7 +4475,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4364,7 +4501,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4390,7 +4527,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4414,7 +4551,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4438,7 +4575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4465,7 +4602,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4494,7 +4631,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4521,7 +4658,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4542,7 +4679,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4567,7 +4704,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4591,7 +4728,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4618,7 +4755,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4647,7 +4784,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4675,7 +4812,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4701,7 +4838,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4721,7 +4858,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4752,7 +4889,7 @@ addChildAtCell( columnSpan?: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) +Defined in: [ui/layouts/grid-layout/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L122) Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan attributes @@ -4782,7 +4919,7 @@ Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan att addColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) +Defined in: [ui/layouts/grid-layout/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L112) Adds a column specification to a GridLayout. @@ -4812,7 +4949,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4841,7 +4978,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4869,7 +5006,7 @@ A widget can call this method to add a matching css pseudo class. addRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) +Defined in: [ui/layouts/grid-layout/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L117) Adds a row specification to a GridLayout. @@ -4895,7 +5032,7 @@ Adds a row specification to a GridLayout. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4921,7 +5058,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4946,7 +5083,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS bringToFront(view: View, animated?: boolean): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L11) +Defined in: [ui/layouts/root-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L11) #### Parameters @@ -4967,7 +5104,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:11](https://github.com/NativeScri callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4985,7 +5122,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5003,7 +5140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS close(view: View, exitTo?: TransitionAnimation): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L9) +Defined in: [ui/layouts/root-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L9) #### Parameters @@ -5024,7 +5161,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:9](https://github.com/NativeScrip closeAll(): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L12) +Defined in: [ui/layouts/root-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L12) #### Returns @@ -5038,7 +5175,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:12](https://github.com/NativeScri closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5064,7 +5201,7 @@ Closes the current modal view that this page is showing. closeShadeCover(shadeCoverOptions?: ShadeCoverOptions): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L15) +Defined in: [ui/layouts/root-layout/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L15) #### Parameters @@ -5084,7 +5221,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:15](https://github.com/NativeScri createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5110,7 +5247,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5131,7 +5268,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5159,7 +5296,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5189,7 +5326,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5209,7 +5346,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5235,7 +5372,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5261,7 +5398,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5287,7 +5424,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5309,7 +5446,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5330,7 +5467,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5356,7 +5493,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5376,7 +5513,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5402,7 +5539,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5428,7 +5565,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5448,7 +5585,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5468,7 +5605,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getColumns(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) +Defined in: [ui/layouts/grid-layout/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L147) Gets array of column specifications defined on this instance of GridLayout. @@ -5488,7 +5625,7 @@ Gets array of column specifications defined on this instance of GridLayout. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5506,7 +5643,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5530,7 +5667,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5550,7 +5687,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5570,7 +5707,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5596,7 +5733,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5616,7 +5753,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5634,7 +5771,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5648,13 +5785,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`GridLayout`](GridLayout.md).[`getNativeWindow`](GridLayout.md#getnativewindow) + +*** + ### getRows() ```ts getRows(): ItemSpec[]; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) +Defined in: [ui/layouts/grid-layout/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L152) Gets array of row specifications defined on this instance of GridLayout. @@ -5674,7 +5836,7 @@ Gets array of row specifications defined on this instance of GridLayout. getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5694,7 +5856,7 @@ Returns the iOS safe area insets of this view. getShadeCover(): View; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L13) +Defined in: [ui/layouts/root-layout/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L13) #### Returns @@ -5708,7 +5870,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:13](https://github.com/NativeScri getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5740,7 +5902,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5772,7 +5934,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5792,7 +5954,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5818,7 +5980,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5838,7 +6000,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5870,7 +6032,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5906,7 +6068,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5935,7 +6097,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5961,7 +6123,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5989,7 +6151,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6026,7 +6188,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6057,7 +6219,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6090,7 +6252,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6119,7 +6281,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6148,7 +6310,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6177,7 +6339,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6207,7 +6369,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6236,7 +6398,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6265,7 +6427,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6293,7 +6455,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6316,7 +6478,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6349,7 +6511,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6378,7 +6540,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6396,7 +6558,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6424,7 +6586,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6442,7 +6604,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6460,7 +6622,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS open(view: View, options?: RootLayoutOptions): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L8) +Defined in: [ui/layouts/root-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L8) #### Parameters @@ -6481,7 +6643,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:8](https://github.com/NativeScrip openShadeCover(options?: ShadeCoverOptions): Promise; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L14) +Defined in: [ui/layouts/root-layout/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L14) #### Parameters @@ -6501,7 +6663,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:14](https://github.com/NativeScri removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6527,7 +6689,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6547,7 +6709,7 @@ Removes all views in this layout. removeColumn(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) +Defined in: [ui/layouts/grid-layout/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L127) Removes a column specification from a GridLayout. @@ -6573,7 +6735,7 @@ Removes a column specification from a GridLayout. removeColumns(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) +Defined in: [ui/layouts/grid-layout/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L132) Removes all column specifications from a GridLayout. @@ -6596,7 +6758,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6624,7 +6786,7 @@ Removes listener(s) for the specified event name. removeRow(itemSpec: ItemSpec): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) +Defined in: [ui/layouts/grid-layout/index.d.ts:137](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L137) Removes a row specification from a GridLayout. @@ -6650,7 +6812,7 @@ Removes a row specification from a GridLayout. removeRows(): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) +Defined in: [ui/layouts/grid-layout/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L142) Removes all row specifications from a GridLayout. @@ -6670,7 +6832,7 @@ Removes all row specifications from a GridLayout. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6690,7 +6852,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6710,7 +6872,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6748,7 +6910,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6775,7 +6937,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6800,7 +6962,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6824,7 +6986,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6851,7 +7013,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6879,7 +7041,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6899,7 +7061,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6926,7 +7088,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6952,7 +7114,7 @@ Shows the view passed as parameter as a modal view. topmost(): View; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L10) +Defined in: [ui/layouts/root-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L10) #### Returns @@ -6966,7 +7128,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:10](https://github.com/NativeScri toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6986,7 +7148,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7010,7 +7172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7036,7 +7198,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7064,7 +7226,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7096,7 +7258,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7121,7 +7283,7 @@ Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/Native static getColumn(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) +Defined in: [ui/layouts/grid-layout/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L72) Gets the value of the Column attached property from a given View. @@ -7147,7 +7309,7 @@ Gets the value of the Column attached property from a given View. static getColumnSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) +Defined in: [ui/layouts/grid-layout/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L82) Gets the value of the ColumnSpan attached property from a given View. @@ -7173,7 +7335,7 @@ Gets the value of the ColumnSpan attached property from a given View. static getRow(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) +Defined in: [ui/layouts/grid-layout/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L92) Gets the value of the Row attached property from a given View. @@ -7199,7 +7361,7 @@ Gets the value of the Row attached property from a given View. static getRowSpan(view: View): number; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) +Defined in: [ui/layouts/grid-layout/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L102) Gets the value of the RowSpan attached property from a given View. @@ -7231,7 +7393,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7269,7 +7431,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7318,7 +7480,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7353,7 +7515,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7388,7 +7550,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7422,7 +7584,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7457,7 +7619,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -7491,7 +7653,7 @@ size is smaller than the size the view wants to be. static setColumn(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) +Defined in: [ui/layouts/grid-layout/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L77) Sets the value of the Column attached property to a given View. @@ -7518,7 +7680,7 @@ Sets the value of the Column attached property to a given View. static setColumnSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) +Defined in: [ui/layouts/grid-layout/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L87) Sets the value of the ColumnSpan attached property to a given View. @@ -7545,7 +7707,7 @@ Sets the value of the ColumnSpan attached property to a given View. static setRow(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) +Defined in: [ui/layouts/grid-layout/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L97) Sets the value of the Row attached property to a given View. @@ -7572,7 +7734,7 @@ Sets the value of the Row attached property to a given View. static setRowSpan(view: View, value: number): void; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) +Defined in: [ui/layouts/grid-layout/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L107) Sets the value of the RowSpan attached property to a given View. diff --git a/content/api/classes/Screen.md b/content/api/classes/Screen.md index 811ed112..9fe415b6 100644 --- a/content/api/classes/Screen.md +++ b/content/api/classes/Screen.md @@ -5,7 +5,7 @@ description: An object describing general information about a display. contributors: false --- -Defined in: [platform/screen/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/screen/index.d.ts#L41) +Defined in: [platform/screen/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/screen/index.d.ts#L41) An object describing general information about a display. @@ -29,6 +29,6 @@ new Screen(): Screen; static mainScreen: ScreenMetrics; ``` -Defined in: [platform/screen/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/screen/index.d.ts#L45) +Defined in: [platform/screen/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/screen/index.d.ts#L45) Gets information about the main screen of the current device. diff --git a/content/api/classes/ScrollView.md b/content/api/classes/ScrollView.md index 2a14678d..c8db553f 100644 --- a/content/api/classes/ScrollView.md +++ b/content/api/classes/ScrollView.md @@ -5,7 +5,7 @@ description: Represents a scrollable area that can have content that is larger t contributors: false --- -Defined in: [ui/scroll-view/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L11) +Defined in: [ui/scroll-view/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L11) Represents a scrollable area that can have content that is larger than its bounds. @@ -25,7 +25,7 @@ ScrollView new ScrollView(): ScrollView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`ContentView`](ContentView.md).[`_nativeWindow`](ContentView.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS content: View; ``` -Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L13) +Defined in: [ui/content-view/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L13) Gets or sets the single child of the view. @@ -1140,7 +1158,7 @@ Gets or sets the single child of the view. cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1154,7 +1172,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1168,7 +1186,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1185,7 +1203,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1203,7 +1221,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1221,7 +1239,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1239,7 +1257,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1253,7 +1271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1267,7 +1285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1281,7 +1299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1295,7 +1313,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1303,13 +1321,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveColumnGap`](ContentView.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1323,7 +1355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1337,7 +1369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1351,7 +1383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1365,7 +1397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1379,7 +1411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1387,13 +1419,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveMaxHeight`](ContentView.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveMaxWidth`](ContentView.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1407,7 +1467,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1415,13 +1475,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ContentView`](ContentView.md).[`effectiveRowGap`](ContentView.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1435,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1449,7 +1523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1467,7 +1541,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1485,7 +1559,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1503,7 +1577,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1521,7 +1595,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1539,7 +1613,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1557,7 +1631,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1575,7 +1649,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1593,7 +1667,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a horizontalOffset: number; ``` -Defined in: [ui/scroll-view/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L34) +Defined in: [ui/scroll-view/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L34) Gets a value that contains the horizontal offset of the scrolled content. @@ -1605,7 +1679,7 @@ Gets a value that contains the horizontal offset of the scrolled content. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1623,7 +1697,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1639,7 +1713,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1655,7 +1729,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1673,7 +1747,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1691,7 +1765,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1703,13 +1777,31 @@ Gets or sets the minimum accessibility font scale. *** +### iosContentInsetAdjustmentBehavior + +```ts +iosContentInsetAdjustmentBehavior: "always" | "never" | "automatic" | "scrollableAxes"; +``` + +Defined in: [ui/scroll-view/index.d.ts:83](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L83) + +iOS-only. Maps to `UIScrollView.contentInsetAdjustmentBehavior`. + +- `never` (default): NativeScript subtracts safe-area insets manually. +- `automatic` / `scrollableAxes` / `always`: iOS manages insets — recommended + with large titles to avoid scroll drift. + +#### Ns Property + +*** + ### iosGlassEffect ```ts iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1727,7 +1819,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1745,7 +1837,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1763,7 +1855,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1781,7 +1873,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1799,7 +1891,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1817,7 +1909,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1833,7 +1925,7 @@ Gets if layout is valid. This is a read-only property. isScrollEnabled: boolean; ``` -Defined in: [ui/scroll-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L24) +Defined in: [ui/scroll-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L24) Gets or sets a value indicating whether scroll is enabled. @@ -1847,7 +1939,7 @@ Gets or sets a value indicating whether scroll is enabled. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1865,7 +1957,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1888,7 +1980,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1906,7 +1998,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1924,7 +2016,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1942,7 +2034,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1960,7 +2052,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1972,58 +2064,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`minHeight`](ContentView.md#minheight) +[`ContentView`](ContentView.md).[`maxHeight`](ContentView.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`minWidth`](ContentView.md#minwidth) +[`ContentView`](ContentView.md).[`maxWidth`](ContentView.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property #### Inherited from -[`ContentView`](ContentView.md).[`mIsRootView`](ContentView.md#misrootview) +[`ContentView`](ContentView.md).[`minHeight`](ContentView.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`ContentView`](ContentView.md).[`minWidth`](ContentView.md#minwidth) *** @@ -2033,7 +2144,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2049,7 +2160,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2065,7 +2176,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2081,7 +2192,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2099,7 +2210,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2117,7 +2228,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a orientation: OrientationType; ``` -Defined in: [ui/scroll-view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L72) +Defined in: [ui/scroll-view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L72) Gets or sets direction in which the content can be scrolled. @@ -2131,7 +2242,7 @@ Gets or sets direction in which the content can be scrolled. originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2149,7 +2260,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2167,7 +2278,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2183,7 +2294,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2202,7 +2313,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2216,7 +2327,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2234,7 +2345,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2252,7 +2363,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2270,7 +2381,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2288,7 +2399,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2306,7 +2417,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2324,7 +2435,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2342,7 +2453,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2360,7 +2471,7 @@ Gets or sets the scaleY affine transform of the view. scrollableHeight: number; ``` -Defined in: [ui/scroll-view/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L39) +Defined in: [ui/scroll-view/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L39) Gets the maximum value for the verticalOffset. @@ -2372,7 +2483,7 @@ Gets the maximum value for the verticalOffset. scrollableWidth: number; ``` -Defined in: [ui/scroll-view/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L44) +Defined in: [ui/scroll-view/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L44) Gets the maximum value for the horizontalOffset. @@ -2384,7 +2495,7 @@ Gets the maximum value for the horizontalOffset. scrollBarIndicatorVisible: boolean; ``` -Defined in: [ui/scroll-view/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L51) +Defined in: [ui/scroll-view/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L51) Toggles scrollbar indicator visibility @@ -2398,7 +2509,7 @@ Toggles scrollbar indicator visibility sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2416,7 +2527,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2434,7 +2545,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2461,7 +2572,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2477,7 +2588,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2497,7 +2608,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2513,7 +2624,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2529,7 +2640,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2545,7 +2656,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2563,7 +2674,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2581,7 +2692,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2599,7 +2710,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi verticalOffset: number; ``` -Defined in: [ui/scroll-view/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L29) +Defined in: [ui/scroll-view/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L29) Gets a value that contains the vertical offset of the scrolled content. @@ -2611,7 +2722,7 @@ Gets a value that contains the vertical offset of the scrolled content. viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2627,7 +2738,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2645,7 +2756,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2663,7 +2774,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2681,7 +2792,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2699,7 +2810,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2719,7 +2830,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2739,7 +2850,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2759,7 +2870,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2773,7 +2884,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2787,13 +2898,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`ContentView`](ContentView.md).[`closedModallyEvent`](ContentView.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2813,7 +2946,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2833,7 +2966,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2853,7 +2986,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2873,7 +3006,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2893,7 +3026,7 @@ propertyChange static scrollEvent: string; ``` -Defined in: [ui/scroll-view/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L17) +Defined in: [ui/scroll-view/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L17) String value used when hooking to scroll event. @@ -2909,7 +3042,7 @@ scroll static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2929,7 +3062,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2949,7 +3082,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2971,7 +3104,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2983,7 +3116,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3009,7 +3142,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3021,7 +3154,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3047,7 +3180,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3059,7 +3192,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3085,7 +3218,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3097,7 +3230,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3123,7 +3256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3135,7 +3268,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3161,7 +3294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3173,7 +3306,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3199,7 +3332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3211,7 +3344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3237,7 +3370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3249,7 +3382,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3275,7 +3408,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3295,7 +3428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3307,7 +3440,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3333,7 +3466,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3355,7 +3488,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3369,7 +3502,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3395,7 +3528,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3409,7 +3542,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3437,7 +3570,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3449,7 +3582,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3475,7 +3608,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3497,7 +3630,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3517,7 +3650,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/content-view/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L15) +Defined in: [ui/content-view/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L15) Called for every child element declared in xml. This method will add a child element (value) to current element. @@ -3545,7 +3678,7 @@ This method will add a child element (value) to current element. _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3570,7 +3703,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3597,7 +3730,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3631,7 +3764,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3665,7 +3798,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3695,7 +3828,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3727,7 +3860,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3751,7 +3884,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3775,7 +3908,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3803,7 +3936,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3823,7 +3956,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3847,7 +3980,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3871,7 +4004,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3883,13 +4016,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`ContentView`](ContentView.md).[`_getRootModalHost`](ContentView.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3910,7 +4065,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3939,7 +4094,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3965,7 +4120,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3991,7 +4146,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4016,7 +4171,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4040,7 +4195,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4064,7 +4219,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4085,7 +4240,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4111,7 +4266,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4131,7 +4286,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4151,7 +4306,7 @@ Called in android when native view is dettached from window. _onOrientationChanged(): void; ``` -Defined in: [ui/scroll-view/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L91) +Defined in: [ui/scroll-view/index.d.ts:102](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L102) #### Returns @@ -4165,7 +4320,7 @@ Defined in: [ui/scroll-view/index.d.ts:91](https://github.com/NativeScript/Nativ _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4185,7 +4340,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4205,7 +4360,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4229,7 +4384,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4247,7 +4402,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4265,7 +4420,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4283,7 +4438,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4309,7 +4464,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4335,7 +4490,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4361,7 +4516,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4385,7 +4540,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4409,7 +4564,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4436,7 +4591,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4465,7 +4620,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4492,7 +4647,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4513,7 +4668,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4538,7 +4693,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4562,7 +4717,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4592,7 +4747,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4620,7 +4775,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4646,7 +4801,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4670,7 +4825,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4699,7 +4854,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4727,7 +4882,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4753,7 +4908,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4778,7 +4933,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4796,7 +4951,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4814,7 +4969,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4840,7 +4995,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4866,7 +5021,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4887,7 +5042,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4915,7 +5070,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4945,7 +5100,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4965,7 +5120,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4991,7 +5146,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5017,7 +5172,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5039,7 +5194,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5060,7 +5215,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5086,7 +5241,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5106,7 +5261,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5126,7 +5281,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5144,7 +5299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5168,7 +5323,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5188,7 +5343,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5208,7 +5363,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5234,7 +5389,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5254,7 +5409,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5272,7 +5427,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5286,13 +5441,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ContentView`](ContentView.md).[`getNativeWindow`](ContentView.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5312,7 +5492,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5344,7 +5524,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5376,7 +5556,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5396,7 +5576,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5422,7 +5602,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5447,7 +5627,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5483,7 +5663,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5512,7 +5692,7 @@ Called from onLayout when native view position is about to be changed. layoutView(): View; ``` -Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/content-view/index.d.ts#L14) +Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/content-view/index.d.ts#L14) #### Returns @@ -5530,7 +5710,7 @@ Defined in: [ui/content-view/index.d.ts:14](https://github.com/NativeScript/Nati loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5556,7 +5736,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5584,7 +5764,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5621,7 +5801,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5652,7 +5832,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5685,7 +5865,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/scroll-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L84) +Defined in: [ui/scroll-view/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L95) Adds a listener for the specified event name. @@ -5714,7 +5894,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/scroll-view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L89) +Defined in: [ui/scroll-view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L100) Raised when a scroll event occurs. @@ -5742,7 +5922,7 @@ Raised when a scroll event occurs. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5765,7 +5945,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5798,7 +5978,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5827,7 +6007,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5845,7 +6025,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5873,7 +6053,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5891,7 +6071,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5912,7 +6092,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5940,7 +6120,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5960,7 +6140,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5980,7 +6160,7 @@ Resets properties/listeners set to the native view. scrollToHorizontalOffset(value: number, animated: boolean): any; ``` -Defined in: [ui/scroll-view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L65) +Defined in: [ui/scroll-view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L65) Scrolls the content the specified horizontal offset position. @@ -6003,7 +6183,7 @@ Scrolls the content the specified horizontal offset position. scrollToVerticalOffset(value: number, animated: boolean): any; ``` -Defined in: [ui/scroll-view/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L58) +Defined in: [ui/scroll-view/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L58) Scrolls the content the specified vertical offset position. @@ -6026,7 +6206,7 @@ Scrolls the content the specified vertical offset position. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6064,7 +6244,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6091,7 +6271,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6116,7 +6296,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6140,7 +6320,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6167,7 +6347,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6195,7 +6375,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6215,7 +6395,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6242,7 +6422,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6268,7 +6448,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6288,7 +6468,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6312,7 +6492,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6338,7 +6518,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6366,7 +6546,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6398,7 +6578,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6429,7 +6609,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6467,7 +6647,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6516,7 +6696,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6551,7 +6731,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6586,7 +6766,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6620,7 +6800,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6655,7 +6835,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/SearchBar.md b/content/api/classes/SearchBar.md index a293dcc8..804a767e 100644 --- a/content/api/classes/SearchBar.md +++ b/content/api/classes/SearchBar.md @@ -5,7 +5,7 @@ description: Represents a search bar component. contributors: false --- -Defined in: [ui/search-bar/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L11) +Defined in: [ui/search-bar/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L11) Represents a search bar component. @@ -25,7 +25,7 @@ SearchBar new SearchBar(): SearchBar; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/search-bar/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L29) +Defined in: [ui/search-bar/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L29) Gets the native [android widget](http://developer.android.com/reference/android/widget/SearchView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. clearButtonColor: string | Color; ``` -Defined in: [ui/search-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L69) +Defined in: [ui/search-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L69) Gets or sets the Clear Button color of the SearchBar component. @@ -1048,7 +1066,7 @@ Gets or sets the Clear Button color of the SearchBar component. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1066,7 +1084,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1084,7 +1102,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1102,7 +1120,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1164,7 +1182,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1181,7 +1199,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1199,7 +1217,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1217,7 +1235,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1235,7 +1253,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,13 +1317,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1375,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,13 +1415,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1403,7 +1463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1411,13 +1471,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1445,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1463,7 +1537,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1481,7 +1555,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1499,7 +1573,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1517,7 +1591,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1535,7 +1609,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1553,7 +1627,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1571,7 +1645,7 @@ Gets or sets the visual state of the view. hint: string; ``` -Defined in: [ui/search-bar/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L48) +Defined in: [ui/search-bar/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L48) Gets or sets the text of the search bar text field hint/placeholder. @@ -1585,7 +1659,7 @@ Gets or sets the text of the search bar text field hint/placeholder. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1603,7 +1677,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1621,7 +1695,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1637,7 +1711,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/search-bar/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L34) +Defined in: [ui/search-bar/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L34) Gets the native iOS [UISearchBar](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISearchBar_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1653,7 +1727,7 @@ Gets the native iOS [UISearchBar](https://developer.apple.com/library/ios/docume iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1671,7 +1745,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1689,7 +1763,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1707,7 +1781,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1725,7 +1799,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1743,7 +1817,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1761,7 +1835,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1779,7 +1853,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1797,7 +1871,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1815,7 +1889,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1831,7 +1905,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1849,7 +1923,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1872,7 +1946,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1890,7 +1964,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1908,7 +1982,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1926,7 +2000,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1944,7 +2018,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1956,58 +2030,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2017,7 +2110,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2033,7 +2126,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2049,7 +2142,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2065,7 +2158,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2083,7 +2176,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2101,7 +2194,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2119,7 +2212,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2137,7 +2230,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2153,7 +2246,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2172,7 +2265,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2186,7 +2279,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2204,7 +2297,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2222,7 +2315,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2240,7 +2333,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2258,7 +2351,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2276,7 +2369,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2294,7 +2387,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2312,7 +2405,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2330,7 +2423,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2348,7 +2441,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2366,7 +2459,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2393,7 +2486,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2409,7 +2502,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/search-bar/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L41) +Defined in: [ui/search-bar/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L41) Gets or sets a search bar text. @@ -2423,7 +2516,7 @@ Gets or sets a search bar text. textFieldBackgroundColor: Color; ``` -Defined in: [ui/search-bar/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L55) +Defined in: [ui/search-bar/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L55) Gets or sets the TextField background color of the SearchBar component. @@ -2437,7 +2530,7 @@ Gets or sets the TextField background color of the SearchBar component. textFieldHintColor: Color; ``` -Defined in: [ui/search-bar/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L62) +Defined in: [ui/search-bar/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L62) Gets or sets the TextField Hint color of the SearchBar component. @@ -2451,7 +2544,7 @@ Gets or sets the TextField Hint color of the SearchBar component. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2471,7 +2564,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2487,7 +2580,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2503,7 +2596,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2519,7 +2612,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2537,7 +2630,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2555,7 +2648,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2573,7 +2666,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2589,7 +2682,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2607,7 +2700,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2625,7 +2718,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2643,7 +2736,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2661,7 +2754,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2681,7 +2774,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2701,7 +2794,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2721,7 +2814,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2735,7 +2828,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2755,7 +2848,7 @@ androidOverflowInset static clearEvent: string; ``` -Defined in: [ui/search-bar/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L24) +Defined in: [ui/search-bar/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L24) String value used when hooking to clear event. @@ -2765,13 +2858,35 @@ submit *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2791,7 +2906,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2811,7 +2926,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2831,7 +2946,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2851,7 +2966,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2871,7 +2986,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2891,7 +3006,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2911,7 +3026,7 @@ shownModally static submitEvent: string; ``` -Defined in: [ui/search-bar/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L17) +Defined in: [ui/search-bar/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L17) String value used when hooking to submit event. @@ -2927,7 +3042,7 @@ submit static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2949,7 +3064,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2961,7 +3076,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2987,7 +3102,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2999,7 +3114,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3025,7 +3140,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3037,7 +3152,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3063,7 +3178,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3075,7 +3190,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3101,7 +3216,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3113,7 +3228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3139,7 +3254,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3151,7 +3266,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3177,7 +3292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3189,7 +3304,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3215,7 +3330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3227,7 +3342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3253,7 +3368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3273,7 +3388,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3285,7 +3400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3311,7 +3426,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3333,7 +3448,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3347,7 +3462,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3373,7 +3488,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3387,7 +3502,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3415,7 +3530,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3427,7 +3542,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3453,7 +3568,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3475,7 +3590,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3495,7 +3610,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3520,7 +3635,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3547,7 +3662,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3581,7 +3696,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3615,7 +3730,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3645,7 +3760,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3677,7 +3792,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3701,7 +3816,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3725,7 +3840,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3753,7 +3868,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3773,7 +3888,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3797,7 +3912,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3821,7 +3936,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3833,13 +3948,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3860,7 +3997,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3889,7 +4026,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3915,7 +4052,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3941,7 +4078,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3966,7 +4103,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3990,7 +4127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4014,7 +4151,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4035,7 +4172,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4061,7 +4198,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4081,7 +4218,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4101,7 +4238,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4121,7 +4258,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4141,7 +4278,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4165,7 +4302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4183,7 +4320,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4201,7 +4338,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4219,7 +4356,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4245,7 +4382,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4271,7 +4408,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4297,7 +4434,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4321,7 +4458,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4345,7 +4482,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4372,7 +4509,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4401,7 +4538,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4428,7 +4565,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4449,7 +4586,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4474,7 +4611,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4498,7 +4635,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4528,7 +4665,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4556,7 +4693,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4582,7 +4719,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4606,7 +4743,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4635,7 +4772,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4663,7 +4800,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4689,7 +4826,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4714,7 +4851,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4732,7 +4869,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4750,7 +4887,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4776,7 +4913,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4802,7 +4939,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4823,7 +4960,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4851,7 +4988,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4881,7 +5018,7 @@ _tearDownUI dismissSoftInput(): void; ``` -Defined in: [ui/search-bar/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L96) +Defined in: [ui/search-bar/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L96) Hides the soft input method, usually a soft keyboard. @@ -4897,7 +5034,7 @@ Hides the soft input method, usually a soft keyboard. disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4917,7 +5054,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4943,7 +5080,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4969,7 +5106,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4991,7 +5128,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5012,7 +5149,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5038,7 +5175,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5058,7 +5195,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5078,7 +5215,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5096,7 +5233,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5120,7 +5257,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5140,7 +5277,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5160,7 +5297,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5186,7 +5323,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5206,7 +5343,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5224,7 +5361,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5238,13 +5375,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5264,7 +5426,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5296,7 +5458,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5328,7 +5490,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5348,7 +5510,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5374,7 +5536,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5399,7 +5561,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5435,7 +5597,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5464,7 +5626,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5490,7 +5652,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5518,7 +5680,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5555,7 +5717,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5586,7 +5748,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5619,7 +5781,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/search-bar/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L81) +Defined in: [ui/search-bar/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L81) Adds a listener for the specified event name. @@ -5648,7 +5810,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/search-bar/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L86) +Defined in: [ui/search-bar/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L86) Raised when a search bar search is submitted. @@ -5677,7 +5839,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/search-bar/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/search-bar/index.d.ts#L91) +Defined in: [ui/search-bar/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/search-bar/index.d.ts#L91) Raised when a search bar search is closed. @@ -5705,7 +5867,7 @@ Raised when a search bar search is closed. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5728,7 +5890,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5761,7 +5923,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5790,7 +5952,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5808,7 +5970,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5836,7 +5998,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5854,7 +6016,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5875,7 +6037,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5903,7 +6065,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5923,7 +6085,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5943,7 +6105,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5981,7 +6143,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6008,7 +6170,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6033,7 +6195,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6057,7 +6219,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6084,7 +6246,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6112,7 +6274,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6132,7 +6294,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6159,7 +6321,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6185,7 +6347,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6205,7 +6367,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6229,7 +6391,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6255,7 +6417,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6283,7 +6445,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6315,7 +6477,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6346,7 +6508,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6384,7 +6546,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6433,7 +6595,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6468,7 +6630,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6503,7 +6665,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6537,7 +6699,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6572,7 +6734,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/SegmentedBar.md b/content/api/classes/SegmentedBar.md index 217312c3..581f73b2 100644 --- a/content/api/classes/SegmentedBar.md +++ b/content/api/classes/SegmentedBar.md @@ -5,7 +5,7 @@ description: Represents a UI SegmentedBar component. contributors: false --- -Defined in: [ui/segmented-bar/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L42) +Defined in: [ui/segmented-bar/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L42) Represents a UI SegmentedBar component. @@ -30,7 +30,7 @@ SegmentedBar new SegmentedBar(): SegmentedBar; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -48,7 +48,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -64,7 +64,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -78,7 +78,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -92,7 +92,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -106,7 +106,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -134,7 +134,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -148,7 +148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -162,7 +162,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -176,7 +176,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -190,7 +190,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -218,7 +218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -232,7 +232,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -240,13 +240,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -260,7 +278,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -274,7 +292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -288,7 +306,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -302,7 +320,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -316,7 +334,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -336,7 +354,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -354,7 +372,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -372,7 +390,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -392,7 +410,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -408,7 +426,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -426,7 +444,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -445,7 +463,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -463,7 +481,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -481,7 +499,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -499,7 +517,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -517,7 +535,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -535,7 +553,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -553,7 +571,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -571,7 +589,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -587,7 +605,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -605,7 +623,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -623,7 +641,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -637,7 +655,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -653,7 +671,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -671,7 +689,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -689,7 +707,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -707,7 +725,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -725,7 +743,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -743,7 +761,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -761,7 +779,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -779,7 +797,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -797,7 +815,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -815,7 +833,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -833,7 +851,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -855,7 +873,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -873,7 +891,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -891,7 +909,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -909,7 +927,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -927,7 +945,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -945,7 +963,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -963,7 +981,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -985,7 +1003,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1003,7 +1021,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1021,7 +1039,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1039,7 +1057,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1057,7 +1075,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1075,7 +1093,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1093,7 +1111,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1111,7 +1129,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1127,7 +1145,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1141,7 +1159,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1155,7 +1173,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1172,7 +1190,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1190,7 +1208,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1208,7 +1226,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1226,7 +1244,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1240,7 +1258,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1254,7 +1272,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1268,7 +1286,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1282,7 +1300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1290,13 +1308,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1310,7 +1342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1324,7 +1356,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1338,7 +1370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1352,7 +1384,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1366,7 +1398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1374,13 +1406,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1394,7 +1454,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1402,13 +1462,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1422,7 +1496,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1436,7 +1510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1454,7 +1528,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1472,7 +1546,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1490,7 +1564,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1508,7 +1582,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1526,7 +1600,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1544,7 +1618,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1562,7 +1636,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1580,7 +1654,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1598,7 +1672,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1614,7 +1688,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1630,7 +1704,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1648,7 +1722,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1666,7 +1740,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1684,7 +1758,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1702,7 +1776,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1720,7 +1794,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1738,7 +1812,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1756,7 +1830,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1774,7 +1848,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1792,7 +1866,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1808,7 +1882,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1826,7 +1900,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi items: SegmentedBarItem[]; ``` -Defined in: [ui/segmented-bar/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L76) +Defined in: [ui/segmented-bar/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L76) Gets or sets the items of the SegmentedBar. @@ -1840,7 +1914,7 @@ Gets or sets the items of the SegmentedBar. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1863,7 +1937,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1881,7 +1955,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1899,7 +1973,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1917,7 +1991,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1935,7 +2009,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1947,58 +2021,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2008,7 +2101,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2024,7 +2117,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2040,7 +2133,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2056,7 +2149,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2074,7 +2167,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2092,7 +2185,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2110,7 +2203,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2128,7 +2221,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2144,7 +2237,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2163,7 +2256,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2177,7 +2270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2195,7 +2288,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2213,7 +2306,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2231,7 +2324,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2249,7 +2342,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2267,7 +2360,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2285,7 +2378,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2303,7 +2396,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2321,7 +2414,7 @@ Gets or sets the scaleY affine transform of the view. selectedBackgroundColor: Color; ``` -Defined in: [ui/segmented-bar/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L62) +Defined in: [ui/segmented-bar/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L62) Gets or sets the selected background color of the SegmentedBar component. @@ -2335,7 +2428,7 @@ Gets or sets the selected background color of the SegmentedBar component. selectedIndex: number; ``` -Defined in: [ui/segmented-bar/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L55) +Defined in: [ui/segmented-bar/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L55) Gets or sets the selected index of the SegmentedBar component. @@ -2349,7 +2442,7 @@ Gets or sets the selected index of the SegmentedBar component. selectedTextColor: Color; ``` -Defined in: [ui/segmented-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L69) +Defined in: [ui/segmented-bar/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L69) Gets or sets the selected text color of the SegmentedBar component. @@ -2363,7 +2456,7 @@ Gets or sets the selected text color of the SegmentedBar component. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2381,7 +2474,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2399,7 +2492,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2426,7 +2519,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2442,7 +2535,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2462,7 +2555,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2478,7 +2571,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2494,7 +2587,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2510,7 +2603,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2528,7 +2621,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2546,7 +2639,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2564,7 +2657,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2580,7 +2673,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2598,7 +2691,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2616,7 +2709,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2634,7 +2727,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2652,7 +2745,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2672,7 +2765,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2692,7 +2785,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2712,7 +2805,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2726,7 +2819,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2740,13 +2833,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2766,7 +2881,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2786,7 +2901,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2806,7 +2921,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2826,7 +2941,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2846,7 +2961,7 @@ propertyChange static selectedIndexChangedEvent: any; ``` -Defined in: [ui/segmented-bar/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L48) +Defined in: [ui/segmented-bar/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L48) String value used when hooking to the selectedIndexChanged event. @@ -2862,7 +2977,7 @@ selectedIndexChanged static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2882,7 +2997,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2902,7 +3017,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2924,7 +3039,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2936,7 +3051,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2962,7 +3077,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2974,7 +3089,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3000,7 +3115,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3012,7 +3127,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3038,7 +3153,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3050,7 +3165,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3076,7 +3191,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3088,7 +3203,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3114,7 +3229,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3126,7 +3241,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3152,7 +3267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3164,7 +3279,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3190,7 +3305,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3202,7 +3317,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3228,7 +3343,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3248,7 +3363,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3260,7 +3375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3286,7 +3401,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3308,7 +3423,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3322,7 +3437,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3348,7 +3463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3362,7 +3477,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3390,7 +3505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3402,7 +3517,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3428,7 +3543,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3450,7 +3565,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3470,7 +3585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addArrayFromBuilder(name: string, value: any[]): void; ``` -Defined in: [ui/segmented-bar/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L101) +Defined in: [ui/segmented-bar/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L101) A function that is called when an array declaration is found in xml. @@ -3497,7 +3612,7 @@ A function that is called when an array declaration is found in xml. _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/segmented-bar/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L100) +Defined in: [ui/segmented-bar/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L100) Called for every child element declared in xml. @@ -3524,7 +3639,7 @@ Called for every child element declared in xml. _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3549,7 +3664,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3576,7 +3691,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3610,7 +3725,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3644,7 +3759,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3674,7 +3789,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3706,7 +3821,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3730,7 +3845,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3754,7 +3869,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3782,7 +3897,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3802,7 +3917,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3826,7 +3941,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3850,7 +3965,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3862,13 +3977,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3889,7 +4026,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3918,7 +4055,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3944,7 +4081,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3970,7 +4107,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3995,7 +4132,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4019,7 +4156,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4043,7 +4180,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4064,7 +4201,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4090,7 +4227,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4110,7 +4247,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4130,7 +4267,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4150,7 +4287,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4170,7 +4307,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4194,7 +4331,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4212,7 +4349,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4230,7 +4367,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4248,7 +4385,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4274,7 +4411,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4300,7 +4437,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4326,7 +4463,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4350,7 +4487,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4374,7 +4511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4401,7 +4538,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4430,7 +4567,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4457,7 +4594,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4478,7 +4615,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4503,7 +4640,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4527,7 +4664,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4557,7 +4694,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4585,7 +4722,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4611,7 +4748,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4635,7 +4772,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4664,7 +4801,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4692,7 +4829,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4718,7 +4855,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4743,7 +4880,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4761,7 +4898,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4779,7 +4916,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4805,7 +4942,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4831,7 +4968,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4852,7 +4989,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4880,7 +5017,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4910,7 +5047,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4930,7 +5067,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4956,7 +5093,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4982,7 +5119,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5004,7 +5141,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5025,7 +5162,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5051,7 +5188,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5071,7 +5208,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5091,7 +5228,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5109,7 +5246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5133,7 +5270,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5153,7 +5290,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5173,7 +5310,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5199,7 +5336,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5219,7 +5356,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5237,7 +5374,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5251,13 +5388,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5277,7 +5439,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5309,7 +5471,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5341,7 +5503,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5361,7 +5523,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5387,7 +5549,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5412,7 +5574,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5448,7 +5610,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5477,7 +5639,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5503,7 +5665,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5531,7 +5693,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5568,7 +5730,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5599,7 +5761,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5632,7 +5794,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/segmented-bar/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L88) +Defined in: [ui/segmented-bar/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L88) Adds a listener for the specified event name. @@ -5661,7 +5823,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/segmented-bar/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L93) +Defined in: [ui/segmented-bar/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L93) Raised when the selected index changes. @@ -5689,7 +5851,7 @@ Raised when the selected index changes. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5712,7 +5874,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5745,7 +5907,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5774,7 +5936,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5792,7 +5954,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5820,7 +5982,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5838,7 +6000,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5859,7 +6021,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5887,7 +6049,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5907,7 +6069,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5927,7 +6089,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5965,7 +6127,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -5992,7 +6154,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6017,7 +6179,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6041,7 +6203,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6068,7 +6230,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6096,7 +6258,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6116,7 +6278,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6143,7 +6305,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6169,7 +6331,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6189,7 +6351,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6213,7 +6375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6239,7 +6401,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6267,7 +6429,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6299,7 +6461,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6330,7 +6492,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6368,7 +6530,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6417,7 +6579,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6452,7 +6614,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6487,7 +6649,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6521,7 +6683,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6556,7 +6718,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/SegmentedBarItem.md b/content/api/classes/SegmentedBarItem.md index 4117b3fe..22a4a0d4 100644 --- a/content/api/classes/SegmentedBarItem.md +++ b/content/api/classes/SegmentedBarItem.md @@ -5,7 +5,7 @@ description: Represents a SegmentedBar item. contributors: false --- -Defined in: [ui/segmented-bar/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L13) +Defined in: [ui/segmented-bar/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L13) Represents a SegmentedBar item. @@ -25,7 +25,7 @@ SegmentedBarItem new SegmentedBarItem(): SegmentedBarItem; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -99,7 +99,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -113,7 +113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -127,7 +127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -141,7 +141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -155,7 +155,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -169,7 +169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -183,7 +183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -197,7 +197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -211,7 +211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -225,7 +225,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -239,7 +239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -253,7 +253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -267,7 +267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -281,7 +281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -301,7 +301,7 @@ as well as adding/rmoving the view to/from the visual tree. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -319,7 +319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -335,7 +335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -353,7 +353,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -371,7 +371,7 @@ The column for the element. The columns are 0-indexed, so the first column is in colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -389,7 +389,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -407,7 +407,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -423,7 +423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -437,7 +437,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -451,7 +451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -469,7 +469,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -487,7 +487,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -501,7 +501,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -515,7 +515,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -529,7 +529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -543,7 +543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -551,13 +551,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveColumnGap`](ViewBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -571,7 +585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -585,7 +599,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -599,7 +613,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -613,7 +627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -627,7 +641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -635,13 +649,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxHeight`](ViewBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxWidth`](ViewBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -655,7 +697,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -663,13 +705,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveRowGap`](ViewBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -683,7 +739,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -697,7 +753,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -715,7 +771,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -733,7 +789,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -751,7 +807,7 @@ When true, forces the item to wrap onto a new line. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -769,7 +825,7 @@ Gets or sets the visual state of the view. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -787,7 +843,7 @@ Gets or sets the id for this view. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -805,7 +861,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -817,32 +873,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ViewBase`](ViewBase.md).[`mIsRootView`](ViewBase.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -858,7 +895,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -876,7 +913,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -892,7 +929,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -906,7 +943,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -924,7 +961,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -942,7 +979,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -960,7 +997,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -978,7 +1015,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -996,7 +1033,7 @@ Gets or sets the shared transition tag for animated view transitions title: string; ``` -Defined in: [ui/segmented-bar/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L19) +Defined in: [ui/segmented-bar/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L19) Gets or sets the title of the SegmentedBarItem. @@ -1010,7 +1047,7 @@ Gets or sets the title of the SegmentedBarItem. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1028,7 +1065,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1044,7 +1081,7 @@ returns the native UIViewController. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1064,7 +1101,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1084,7 +1121,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1104,7 +1141,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1124,7 +1161,7 @@ propertyChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1146,7 +1183,7 @@ unloaded get android(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1166,7 +1203,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1178,7 +1215,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1196,6 +1233,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`cssType`](ViewBase.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1204,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1216,7 +1293,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1242,7 +1319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1254,7 +1331,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1280,7 +1357,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1292,7 +1369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1318,7 +1395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1330,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1356,7 +1433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1376,7 +1453,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1396,7 +1473,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1408,7 +1485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1434,7 +1511,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1456,7 +1533,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1470,7 +1547,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1496,7 +1573,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1510,7 +1587,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1538,7 +1615,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1560,7 +1637,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1580,7 +1657,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1605,7 +1682,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1632,7 +1709,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1660,7 +1737,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1684,7 +1761,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1714,7 +1791,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1746,7 +1823,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1773,7 +1850,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1801,7 +1878,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1821,7 +1898,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1845,7 +1922,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1873,7 +1950,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1897,7 +1974,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1921,7 +1998,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -1939,7 +2016,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1959,7 +2036,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1983,7 +2060,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2009,7 +2086,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2035,7 +2112,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2061,7 +2138,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2085,7 +2162,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2109,7 +2186,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2133,7 +2210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2160,7 +2237,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2189,7 +2266,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2210,7 +2287,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2234,7 +2311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2265,7 +2342,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2294,7 +2371,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2322,7 +2399,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2347,7 +2424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2365,7 +2442,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2383,7 +2460,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2409,7 +2486,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2430,7 +2507,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2458,7 +2535,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2488,7 +2565,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2508,7 +2585,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2534,7 +2611,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2556,7 +2633,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2582,7 +2659,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2600,7 +2677,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2632,7 +2709,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2664,7 +2741,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2690,7 +2767,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2710,7 +2787,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2736,7 +2813,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2773,7 +2850,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2804,7 +2881,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2835,7 +2912,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2866,7 +2943,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -2895,7 +2972,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2913,7 +2990,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2931,7 +3008,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2952,7 +3029,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -2980,7 +3057,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3000,7 +3077,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3020,7 +3097,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3047,7 +3124,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3071,7 +3148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3099,7 +3176,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3128,7 +3205,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3153,7 +3230,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3180,7 +3257,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -3200,7 +3277,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3224,7 +3301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3254,7 +3331,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3289,7 +3366,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3324,7 +3401,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3359,7 +3436,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3393,7 +3470,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/SharedTransition.md b/content/api/classes/SharedTransition.md index 5fd2f7f0..cc267b83 100644 --- a/content/api/classes/SharedTransition.md +++ b/content/api/classes/SharedTransition.md @@ -5,7 +5,7 @@ description: Shared Element Transitions (preview) Allows you to auto animate bet contributors: false --- -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Shared Element Transitions (preview) Allows you to auto animate between shared elements on two different screesn to create smooth navigational experiences. @@ -31,7 +31,7 @@ new SharedTransition(): SharedTransition; static DEBUG: boolean; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Enable to see various console logging output of Shared Element Transition behavior. @@ -43,7 +43,7 @@ Enable to see various console logging output of Shared Element Transition behavi static finishedEvent: string; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) When the transition finishes. @@ -55,7 +55,7 @@ When the transition finishes. static inProgress: boolean; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Whether a transition is in progress or not. Note: used internally however exposed in case custom state ordering is needed. @@ -69,7 +69,7 @@ Updated when transitions start/end/cancel. static interactiveCancelledEvent: string; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) When the interactive transition cancels. @@ -81,7 +81,7 @@ When the interactive transition cancels. static interactiveUpdateEvent: string; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) When the interactive transition updates with the percent value. @@ -93,7 +93,7 @@ When the interactive transition updates with the percent value. static startedEvent: string; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) When the transition starts. @@ -107,7 +107,7 @@ static custom(transition: Transition, options?: SharedTransitionConfig): { }; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Configure a custom transition with presentation/dismissal options. @@ -142,7 +142,7 @@ instance: Transition; static events(): SharedTransitionObservable; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Listen to various shared element transition events. @@ -160,7 +160,7 @@ Observable static finishState(id: number): void; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Finish transition state. @@ -186,7 +186,7 @@ static getSharedElements(fromPage: ViewBase, toPage: ViewBase): { }; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Gather view collections based on sharedTransitionTag details. @@ -235,7 +235,7 @@ sharedElements: View[]; static getState(id: number): SharedTransitionState; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Get current state for any transition. @@ -257,7 +257,7 @@ Get current state for any transition. static notifyEvent(eventName: string, data: SharedTransitionEventDataPayload): void; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Notify a Shared Transition event. @@ -274,13 +274,66 @@ Notify a Shared Transition event. *** +### registerExternalRoot() + +```ts +static registerExternalRoot(root: ViewBase): void; +``` + +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) + +Register an NS view subtree that should be searched for sharedTransitionTag +elements in addition to the source page. Use this for views that are attached +to the native UI but aren't reachable from the page via the NS view tree — +for example, a TabView's `iosBottomAccessory`. The root and any of its +descendants with a `sharedTransitionTag` will then participate in transitions +originating from any page. + +Registration is idempotent. Pair with `unregisterExternalRoot` on teardown +to avoid leaking detached views into future transitions. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `root` | [`ViewBase`](ViewBase.md) | + +#### Returns + +`void` + +*** + +### unregisterExternalRoot() + +```ts +static unregisterExternalRoot(root: ViewBase): void; +``` + +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) + +Remove a previously registered external root. No-op if the root wasn't +registered. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `root` | [`ViewBase`](ViewBase.md) | + +#### Returns + +`void` + +*** + ### updateState() ```ts static updateState(id: number, state: SharedTransitionState): void; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Update transition state. diff --git a/content/api/classes/SharedTransitionHelper.md b/content/api/classes/SharedTransitionHelper.md index 77a38046..8fa4a54c 100644 --- a/content/api/classes/SharedTransitionHelper.md +++ b/content/api/classes/SharedTransitionHelper.md @@ -5,7 +5,7 @@ description: Platform helper to aid in creating your own custom Shared Element T contributors: false --- -Defined in: [ui/transition/shared-transition-helper.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L8) +Defined in: [ui/transition/shared-transition-helper.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L8) Platform helper to aid in creating your own custom Shared Element Transition classes. (iOS Only) @@ -33,7 +33,7 @@ static animate( type: TransitionNavigationType): void; ``` -Defined in: [ui/transition/shared-transition-helper.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L9) +Defined in: [ui/transition/shared-transition-helper.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L9) #### Parameters @@ -58,7 +58,7 @@ static interactiveCancel( type: TransitionNavigationType): void; ``` -Defined in: [ui/transition/shared-transition-helper.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L12) +Defined in: [ui/transition/shared-transition-helper.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L12) #### Parameters @@ -83,7 +83,7 @@ static interactiveFinish( type: TransitionNavigationType): void; ``` -Defined in: [ui/transition/shared-transition-helper.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L13) +Defined in: [ui/transition/shared-transition-helper.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L13) #### Parameters @@ -108,7 +108,7 @@ static interactiveStart( type: TransitionNavigationType): void; ``` -Defined in: [ui/transition/shared-transition-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L10) +Defined in: [ui/transition/shared-transition-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L10) #### Parameters @@ -134,7 +134,7 @@ static interactiveUpdate( percent: number): void; ``` -Defined in: [ui/transition/shared-transition-helper.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition-helper.d.ts#L11) +Defined in: [ui/transition/shared-transition-helper.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition-helper.d.ts#L11) #### Parameters diff --git a/content/api/classes/ShorthandProperty.md b/content/api/classes/ShorthandProperty.md index 51668048..2d72caea 100644 --- a/content/api/classes/ShorthandProperty.md +++ b/content/api/classes/ShorthandProperty.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) ## Type Parameters @@ -25,7 +25,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native new ShorthandProperty(options: ShorthandPropertyOptions

): ShorthandProperty; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters @@ -45,7 +45,7 @@ Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/Native readonly cssLocalName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -61,7 +61,7 @@ ShorthandProperty.cssLocalName readonly cssName: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -77,7 +77,7 @@ ShorthandProperty.cssName protected readonly cssValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -93,7 +93,7 @@ ShorthandProperty.cssValueDescriptor readonly key: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -109,7 +109,7 @@ ShorthandProperty.key protected readonly localValueDescriptor: PropertyDescriptor; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -125,7 +125,7 @@ ShorthandProperty.localValueDescriptor readonly name: string; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -135,29 +135,13 @@ ShorthandProperty.name *** -### propertyBagDescriptor - -```ts -protected readonly propertyBagDescriptor: PropertyDescriptor; -``` - -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) - -#### Implementation of - -```ts -ShorthandProperty.propertyBagDescriptor -``` - -*** - ### sourceKey ```ts readonly sourceKey: symbol; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Implementation of @@ -173,7 +157,7 @@ ShorthandProperty.sourceKey register(cls: typeof Style): void; ``` -Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/index.ts) +Defined in: [ui/core/properties/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/index.ts) #### Parameters diff --git a/content/api/classes/SlideTransition.md b/content/api/classes/SlideTransition.md index a5bc462d..01077b2c 100644 --- a/content/api/classes/SlideTransition.md +++ b/content/api/classes/SlideTransition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/slide-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/slide-transition.d.ts#L3) +Defined in: [ui/transition/slide-transition.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/slide-transition.d.ts#L3) ## Extends @@ -21,7 +21,7 @@ new SlideTransition( nativeCurve?: any): SlideTransition; ``` -Defined in: [ui/transition/slide-transition.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/slide-transition.d.ts#L4) +Defined in: [ui/transition/slide-transition.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/slide-transition.d.ts#L4) #### Parameters @@ -47,7 +47,7 @@ Defined in: [ui/transition/slide-transition.d.ts:4](https://github.com/NativeScr id: number; ``` -Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L23) +Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L23) #### Inherited from @@ -61,7 +61,7 @@ Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/Native optional interactiveController?: any; ``` -Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L29) +Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L29) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/Native optional name?: string; ``` -Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L27) +Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L27) (Optional) Provide a unique name to identify this transition @@ -91,7 +91,7 @@ Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/Native optional presented?: any; ``` -Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L30) +Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L30) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/Native optional presenting?: any; ``` -Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L31) +Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L31) #### Inherited from @@ -117,6 +117,7 @@ Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/Native ```ts optional sharedElements?: { + _allPresentingViews?: View[]; independent?: SharedElementSettings & { isPresented?: boolean; }[]; @@ -125,7 +126,13 @@ optional sharedElements?: { }; ``` -Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L32) +Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L32) + +#### \_allPresentingViews? + +```ts +optional _allPresentingViews?: View[]; +``` #### independent? @@ -159,7 +166,7 @@ optional presenting?: SharedElementSettings[]; optional transitionController?: any; ``` -Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L28) +Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L28) #### Inherited from @@ -178,7 +185,7 @@ static optional AndroidTransitionType?: { }; ``` -Defined in: [ui/transition/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L38) +Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L39) #### enter? @@ -219,7 +226,7 @@ optional androidFragmentTransactionCallback( newEntry: BackstackEntry): void; ``` -Defined in: [ui/transition/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L58) +Defined in: [ui/transition/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L59) #### Parameters @@ -249,7 +256,7 @@ animateIOSTransition( operation: any): void; ``` -Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L43) +Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L44) #### Parameters @@ -276,7 +283,7 @@ Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/Native createAndroidAnimator(transitionType: string): any; ``` -Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L44) +Defined in: [ui/transition/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L45) #### Parameters @@ -300,7 +307,7 @@ Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/Native getCurve(): any; ``` -Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L42) +Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L43) #### Returns @@ -318,7 +325,7 @@ Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/Native getDuration(): number; ``` -Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L40) +Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L41) #### Returns @@ -336,7 +343,7 @@ Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/Native optional iosDismissedController(dismissed: any): any; ``` -Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L48) +Defined in: [ui/transition/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L49) #### Parameters @@ -360,7 +367,7 @@ Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/Native optional iosInteractionDismiss(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L52) +Defined in: [ui/transition/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L53) #### Parameters @@ -384,7 +391,7 @@ Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/Native optional iosInteractionPresented(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L54) +Defined in: [ui/transition/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L55) #### Parameters @@ -412,7 +419,7 @@ optional iosNavigatedController( toVC: any): any; ``` -Defined in: [ui/transition/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L56) +Defined in: [ui/transition/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L57) #### Parameters @@ -442,7 +449,7 @@ optional iosPresentedController( source: any): any; ``` -Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L50) +Defined in: [ui/transition/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L51) #### Parameters @@ -468,7 +475,7 @@ Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/Native setDuration(value: number): void; ``` -Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L41) +Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L42) #### Parameters @@ -492,7 +499,7 @@ Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/Native optional setupInteractiveGesture(startCallback: () => void, view: View): void; ``` -Defined in: [ui/transition/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L46) +Defined in: [ui/transition/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L47) #### Parameters diff --git a/content/api/classes/Slider.md b/content/api/classes/Slider.md index ab43b268..68fa7ce1 100644 --- a/content/api/classes/Slider.md +++ b/content/api/classes/Slider.md @@ -5,7 +5,7 @@ description: Represents a slider component. contributors: false --- -Defined in: [ui/slider/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L11) +Defined in: [ui/slider/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L11) Represents a slider component. @@ -25,7 +25,7 @@ Slider new Slider(): Slider; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityStep: number; ``` -Defined in: [ui/slider/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L68) +Defined in: [ui/slider/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L68) Increase/Decrease step size for iOS Increment-/Decrement events @@ -526,7 +544,7 @@ Increase/Decrease step size for iOS Increment-/Decrement events accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -544,7 +562,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -562,7 +580,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -580,7 +598,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/slider/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L35) +Defined in: [ui/slider/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L35) Gets the native [android widget](http://developer.android.com/reference/android/widget/SeekBar.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -596,7 +614,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -614,7 +632,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -632,7 +650,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -646,7 +664,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -662,7 +680,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -680,7 +698,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -698,7 +716,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -716,7 +734,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -734,7 +752,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -752,7 +770,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -770,7 +788,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -788,7 +806,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -806,7 +824,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -824,7 +842,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -842,7 +860,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -864,7 +882,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -882,7 +900,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -900,7 +918,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -918,7 +936,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -936,7 +954,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -954,7 +972,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -972,7 +990,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -994,7 +1012,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1012,7 +1030,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1030,7 +1048,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1048,7 +1066,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1066,7 +1084,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1084,7 +1102,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1102,7 +1120,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1164,7 +1182,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1181,7 +1199,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1199,7 +1217,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1217,7 +1235,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1235,7 +1253,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,13 +1317,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1375,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,13 +1415,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1403,7 +1463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1411,13 +1471,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1445,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1463,7 +1537,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1481,7 +1555,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1499,7 +1573,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1517,7 +1591,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1535,7 +1609,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1553,7 +1627,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1571,7 +1645,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1589,7 +1663,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1607,7 +1681,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1623,7 +1697,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/slider/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L40) +Defined in: [ui/slider/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L40) Gets the native iOS [UISlider](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISlider_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1639,7 +1713,7 @@ Gets the native iOS [UISlider](https://developer.apple.com/library/ios/documenta iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1657,7 +1731,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1675,7 +1749,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1693,7 +1767,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1711,7 +1785,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1729,7 +1803,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1747,7 +1821,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1765,7 +1839,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1783,7 +1857,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1801,7 +1875,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1817,7 +1891,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1835,7 +1909,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1858,7 +1932,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1876,7 +1950,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1894,7 +1968,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1912,7 +1986,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1930,7 +2004,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1942,13 +2016,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxHeight`](View.md#maxheight) + +*** + ### maxValue ```ts maxValue: number; ``` -Defined in: [ui/slider/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L61) +Defined in: [ui/slider/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L61) Gets or sets a slider max value. The default value is 100. @@ -1956,13 +2049,32 @@ Gets or sets a slider max value. The default value is 100. *** +### maxWidth + +```ts +maxWidth: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) + +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxWidth`](View.md#maxwidth) + +*** + ### minHeight ```ts minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) Gets or sets the minimum height the view may grow to. @@ -1980,7 +2092,7 @@ Gets or sets the minimum height the view may grow to. minValue: number; ``` -Defined in: [ui/slider/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L54) +Defined in: [ui/slider/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L54) Gets or sets a slider min value. The default value is 0. @@ -1994,7 +2106,7 @@ Gets or sets a slider min value. The default value is 0. minWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) Gets or sets the minimum width the view may grow to. @@ -2006,32 +2118,13 @@ Gets or sets the minimum width the view may grow to. *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`View`](View.md).[`mIsRootView`](View.md#misrootview) - -*** - ### modal ```ts modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2047,7 +2140,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2063,7 +2156,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2079,7 +2172,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2097,7 +2190,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2115,7 +2208,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2133,7 +2226,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2151,7 +2244,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2167,7 +2260,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2186,7 +2279,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2200,7 +2293,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2218,7 +2311,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2236,7 +2329,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2254,7 +2347,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2272,7 +2365,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2290,7 +2383,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2308,7 +2401,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2326,7 +2419,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2344,7 +2437,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2362,7 +2455,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2380,7 +2473,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2407,7 +2500,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2423,7 +2516,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2443,7 +2536,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2459,7 +2552,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2475,7 +2568,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2491,7 +2584,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2509,7 +2602,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2527,7 +2620,7 @@ Gets or sets the translateY affine transform of the view in device independent p value: number; ``` -Defined in: [ui/slider/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L47) +Defined in: [ui/slider/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L47) Gets or sets a slider current value. The default value is 0. @@ -2541,7 +2634,7 @@ Gets or sets a slider current value. The default value is 0. verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2559,7 +2652,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2575,7 +2668,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2593,7 +2686,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2611,7 +2704,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2629,7 +2722,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2647,7 +2740,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2667,7 +2760,7 @@ accessibilityBlur readonly static accessibilityDecrementEvent: "accessibilityDecrement" = 'accessibilityDecrement'; ``` -Defined in: [ui/slider/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L23) +Defined in: [ui/slider/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L23) String value used when hooking to accessibilityDecrement event. @@ -2683,7 +2776,7 @@ accessibilityDecrement static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2703,7 +2796,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2723,7 +2816,7 @@ accessibilityFocus readonly static accessibilityIncrementEvent: "accessibilityIncrement" = 'accessibilityIncrement'; ``` -Defined in: [ui/slider/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L30) +Defined in: [ui/slider/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L30) String value used when hooking to accessibilityIncrement event. @@ -2739,7 +2832,7 @@ accessibilityIncrement static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2753,7 +2846,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2767,13 +2860,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2793,7 +2908,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2813,7 +2928,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2833,7 +2948,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2853,7 +2968,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2873,7 +2988,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2893,7 +3008,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2913,7 +3028,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2933,7 +3048,7 @@ unloaded readonly static valueChangeEvent: "valueChange" = 'valueChange'; ``` -Defined in: [ui/slider/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L17) +Defined in: [ui/slider/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L17) String value used when hooking to valueChange event. @@ -2951,7 +3066,7 @@ valueChange get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2963,7 +3078,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2989,7 +3104,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3001,7 +3116,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3027,7 +3142,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3039,7 +3154,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3065,7 +3180,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3077,7 +3192,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3103,7 +3218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3115,7 +3230,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3141,7 +3256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3153,7 +3268,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3179,7 +3294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3191,7 +3306,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3217,7 +3332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3229,7 +3344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3255,7 +3370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3275,7 +3390,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3287,7 +3402,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3313,7 +3428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3335,7 +3450,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3349,7 +3464,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3375,7 +3490,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3389,7 +3504,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3417,7 +3532,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3429,7 +3544,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3455,7 +3570,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3477,7 +3592,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3497,7 +3612,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3522,7 +3637,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3549,7 +3664,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3583,7 +3698,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3617,7 +3732,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3647,7 +3762,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3679,7 +3794,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3703,7 +3818,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3727,7 +3842,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3755,7 +3870,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3775,7 +3890,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3799,7 +3914,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3823,7 +3938,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3835,13 +3950,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3862,7 +3999,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3891,7 +4028,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3917,7 +4054,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3943,7 +4080,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3968,7 +4105,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3992,7 +4129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4016,7 +4153,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4037,7 +4174,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4063,7 +4200,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4083,7 +4220,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4103,7 +4240,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4123,7 +4260,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4143,7 +4280,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4167,7 +4304,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4185,7 +4322,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4203,7 +4340,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4221,7 +4358,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4247,7 +4384,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4273,7 +4410,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4299,7 +4436,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4323,7 +4460,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4347,7 +4484,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4374,7 +4511,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4403,7 +4540,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4430,7 +4567,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4451,7 +4588,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4476,7 +4613,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4500,7 +4637,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4530,7 +4667,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4558,7 +4695,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4584,7 +4721,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4608,7 +4745,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4637,7 +4774,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4665,7 +4802,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4691,7 +4828,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4716,7 +4853,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4734,7 +4871,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4752,7 +4889,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4778,7 +4915,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4804,7 +4941,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4825,7 +4962,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4853,7 +4990,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4883,7 +5020,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4903,7 +5040,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4929,7 +5066,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4955,7 +5092,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4977,7 +5114,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4998,7 +5135,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5024,7 +5161,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5044,7 +5181,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5064,7 +5201,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5082,7 +5219,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5106,7 +5243,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5126,7 +5263,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5146,7 +5283,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5172,7 +5309,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5192,7 +5329,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5210,7 +5347,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5224,13 +5361,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5250,7 +5412,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5282,7 +5444,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5314,7 +5476,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5334,7 +5496,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5360,7 +5522,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5385,7 +5547,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5421,7 +5583,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5450,7 +5612,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5476,7 +5638,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5504,7 +5666,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5541,7 +5703,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5572,7 +5734,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5605,7 +5767,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5634,7 +5796,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5663,7 +5825,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5692,7 +5854,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5722,7 +5884,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5751,7 +5913,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5780,7 +5942,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5808,7 +5970,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5831,7 +5993,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5864,7 +6026,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5893,7 +6055,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5911,7 +6073,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5939,7 +6101,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5957,7 +6119,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5978,7 +6140,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6006,7 +6168,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6026,7 +6188,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6046,7 +6208,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6084,7 +6246,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6111,7 +6273,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6136,7 +6298,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6160,7 +6322,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6187,7 +6349,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6215,7 +6377,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6235,7 +6397,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6262,7 +6424,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6288,7 +6450,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6308,7 +6470,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6332,7 +6494,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6358,7 +6520,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6386,7 +6548,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6418,7 +6580,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6449,7 +6611,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6487,7 +6649,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6536,7 +6698,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6571,7 +6733,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6606,7 +6768,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6640,7 +6802,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6675,7 +6837,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Span.md b/content/api/classes/Span.md index 6f57f7e1..861a00ee 100644 --- a/content/api/classes/Span.md +++ b/content/api/classes/Span.md @@ -5,7 +5,7 @@ description: A class used to create a single part of formatted string with a com contributors: false --- -Defined in: [ui/text-base/span.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L12) +Defined in: [ui/text-base/span.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L12) A class used to create a single part of formatted string with a common text properties. @@ -25,7 +25,7 @@ Span new Span(): Span; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -99,7 +99,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -113,7 +113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -127,7 +127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -141,7 +141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -155,7 +155,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -169,7 +169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -183,7 +183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -197,7 +197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -211,7 +211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -225,7 +225,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -239,7 +239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -253,7 +253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -267,7 +267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -281,7 +281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -301,7 +301,7 @@ as well as adding/rmoving the view to/from the visual tree. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -319,7 +319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS backgroundColor: Color; ``` -Defined in: [ui/text-base/span.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L76) +Defined in: [ui/text-base/span.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L76) Gets or sets the font background color of the span. @@ -333,7 +333,7 @@ Gets or sets the font background color of the span. bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -349,7 +349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -367,7 +367,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -385,7 +385,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/text-base/span.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L69) +Defined in: [ui/text-base/span.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L69) Gets or sets the font foreground color of the span. @@ -399,7 +399,7 @@ Gets or sets the font foreground color of the span. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -417,7 +417,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -435,7 +435,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -451,7 +451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -465,7 +465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -479,7 +479,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -497,7 +497,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -515,7 +515,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -529,7 +529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -543,7 +543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -557,7 +557,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -571,7 +571,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -579,13 +579,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveColumnGap`](ViewBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -599,7 +613,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -613,7 +627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -627,7 +641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -641,7 +655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -655,7 +669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -663,13 +677,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxHeight`](ViewBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxWidth`](ViewBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -683,7 +725,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -691,13 +733,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveRowGap`](ViewBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -711,7 +767,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -725,7 +781,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -743,7 +799,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -761,7 +817,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -779,7 +835,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/span.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L27) +Defined in: [ui/text-base/span.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L27) Gets or sets the font family of the span. @@ -793,7 +849,7 @@ Gets or sets the font family of the span. fontSize: number; ``` -Defined in: [ui/text-base/span.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L34) +Defined in: [ui/text-base/span.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L34) Gets or sets the font size of the span. @@ -807,7 +863,7 @@ Gets or sets the font size of the span. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/span.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L41) +Defined in: [ui/text-base/span.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L41) Gets or sets the font style of the span. @@ -821,7 +877,7 @@ Gets or sets the font style of the span. fontVariationSettings: FontVariationSettingsType[]; ``` -Defined in: [ui/text-base/span.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L55) +Defined in: [ui/text-base/span.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L55) Gets or sets the font variation settings of the span. @@ -835,7 +891,7 @@ Gets or sets the font variation settings of the span. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/span.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L48) +Defined in: [ui/text-base/span.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L48) Gets or sets the font weight of the span. @@ -849,7 +905,7 @@ Gets or sets the font weight of the span. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -867,7 +923,7 @@ Gets or sets the visual state of the view. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -885,7 +941,7 @@ Gets or sets the id for this view. iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/text-base/span.d.ts:83](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L83) +Defined in: [ui/text-base/span.d.ts:83](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L83) Defines whether accessibility font scale should affect font size. @@ -899,7 +955,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/text-base/span.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L97) +Defined in: [ui/text-base/span.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L97) Gets or sets the maximum accessibility font scale. @@ -913,7 +969,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/text-base/span.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L90) +Defined in: [ui/text-base/span.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L90) Gets or sets the minimum accessibility font scale. @@ -927,7 +983,7 @@ Gets or sets the minimum accessibility font scale. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -945,7 +1001,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -957,32 +1013,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ViewBase`](ViewBase.md).[`mIsRootView`](ViewBase.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -998,7 +1035,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -1016,7 +1053,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: FormattedString; ``` -Defined in: [ui/text-base/span.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L20) +Defined in: [ui/text-base/span.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L20) Gets the parent view. This property is read-only. @@ -1032,7 +1069,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1046,7 +1083,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -1064,7 +1101,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -1082,7 +1119,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -1100,7 +1137,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -1118,7 +1155,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -1136,7 +1173,7 @@ Gets or sets the shared transition tag for animated view transitions readonly tappable: boolean; ``` -Defined in: [ui/text-base/span.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L111) +Defined in: [ui/text-base/span.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L111) Gets if the span is tappable or not. @@ -1150,7 +1187,7 @@ Gets if the span is tappable or not. text: string; ``` -Defined in: [ui/text-base/span.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L104) +Defined in: [ui/text-base/span.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L104) Gets or sets the text for the span. @@ -1164,7 +1201,7 @@ Gets or sets the text for the span. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/span.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L62) +Defined in: [ui/text-base/span.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L62) Gets or sets text decorations for the span. @@ -1178,7 +1215,7 @@ Gets or sets text decorations for the span. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1196,7 +1233,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1212,7 +1249,7 @@ returns the native UIViewController. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1232,7 +1269,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1252,7 +1289,7 @@ disposeNativeView static linkTapEvent: string; ``` -Defined in: [ui/text-base/span.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/span.d.ts#L18) +Defined in: [ui/text-base/span.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/span.d.ts#L18) String value used when hooking to linkTap event. @@ -1268,7 +1305,7 @@ linkTap static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1288,7 +1325,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1308,7 +1345,7 @@ propertyChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1330,7 +1367,7 @@ unloaded get android(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1350,7 +1387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1362,7 +1399,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1380,6 +1417,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`cssType`](ViewBase.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1388,7 +1465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1400,7 +1477,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1426,7 +1503,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1438,7 +1515,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1464,7 +1541,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1476,7 +1553,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1502,7 +1579,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1514,7 +1591,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1540,7 +1617,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1560,7 +1637,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1580,7 +1657,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1592,7 +1669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1618,7 +1695,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1640,7 +1717,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1654,7 +1731,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1680,7 +1757,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1694,7 +1771,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1722,7 +1799,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1744,7 +1821,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1764,7 +1841,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1789,7 +1866,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1816,7 +1893,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1844,7 +1921,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1868,7 +1945,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1898,7 +1975,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1930,7 +2007,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1957,7 +2034,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1985,7 +2062,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2005,7 +2082,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -2029,7 +2106,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2057,7 +2134,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2081,7 +2158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2105,7 +2182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2123,7 +2200,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2143,7 +2220,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2167,7 +2244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2193,7 +2270,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2219,7 +2296,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2245,7 +2322,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2269,7 +2346,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2293,7 +2370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2317,7 +2394,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2344,7 +2421,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2373,7 +2450,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2394,7 +2471,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2418,7 +2495,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2449,7 +2526,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2478,7 +2555,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2506,7 +2583,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2531,7 +2608,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2549,7 +2626,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2567,7 +2644,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2593,7 +2670,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2614,7 +2691,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2642,7 +2719,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2672,7 +2749,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2692,7 +2769,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2718,7 +2795,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2740,7 +2817,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2766,7 +2843,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2784,7 +2861,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2816,7 +2893,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2848,7 +2925,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2874,7 +2951,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2894,7 +2971,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2920,7 +2997,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2957,7 +3034,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2988,7 +3065,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -3019,7 +3096,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -3050,7 +3127,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -3079,7 +3156,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3097,7 +3174,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3115,7 +3192,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3136,7 +3213,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -3164,7 +3241,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3184,7 +3261,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3204,7 +3281,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3231,7 +3308,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3255,7 +3332,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3283,7 +3360,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3312,7 +3389,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3337,7 +3414,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3364,7 +3441,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -3384,7 +3461,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3408,7 +3485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3438,7 +3515,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3473,7 +3550,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3508,7 +3585,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3543,7 +3620,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3577,7 +3654,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/SplitView.md b/content/api/classes/SplitView.md index 527b823b..ddc87d65 100644 --- a/content/api/classes/SplitView.md +++ b/content/api/classes/SplitView.md @@ -5,7 +5,7 @@ description: iOS UISplitViewController-backed container. On Android, acts as a s contributors: false --- -Defined in: [ui/split-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/index.d.ts#L16) +Defined in: [ui/split-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/index.d.ts#L16) iOS UISplitViewController-backed container. On Android, acts as a simple container. @@ -26,7 +26,7 @@ SplitView new SplitView(): SplitView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -46,7 +46,7 @@ SplitViewBase.constructor optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -64,7 +64,7 @@ SplitViewBase._androidContentDescriptionUpdated _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -80,7 +80,7 @@ SplitViewBase._automaticallyAdjustsScrollViewInsets protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -96,7 +96,7 @@ SplitViewBase._closeModalCallback _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -112,7 +112,7 @@ SplitViewBase._context _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -128,7 +128,7 @@ SplitViewBase._cssState protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -144,7 +144,7 @@ SplitViewBase._defaultPaddingBottom protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -160,7 +160,7 @@ SplitViewBase._defaultPaddingLeft protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -176,7 +176,7 @@ SplitViewBase._defaultPaddingRight protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -192,7 +192,7 @@ SplitViewBase._defaultPaddingTop _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -208,7 +208,7 @@ SplitViewBase._domId _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -224,7 +224,7 @@ SplitViewBase._ignoreFlexMinWidthHeightReset _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -240,7 +240,7 @@ SplitViewBase._isAddedToNativeVisualTree protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -256,7 +256,7 @@ SplitViewBase._isPaddingRelative _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -266,13 +266,33 @@ SplitViewBase._isStyleScopeHost *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +```ts +SplitViewBase._nativeWindow +``` + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -288,7 +308,7 @@ SplitViewBase._oldBottom _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -304,7 +324,7 @@ SplitViewBase._oldLeft _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -320,7 +340,7 @@ SplitViewBase._oldRight _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -336,7 +356,7 @@ SplitViewBase._oldTop _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -352,7 +372,7 @@ SplitViewBase._styleScope _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -374,7 +394,7 @@ SplitViewBase._suspendNativeUpdatesCount accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -394,7 +414,7 @@ SplitViewBase.accessibilityHidden accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -414,7 +434,7 @@ SplitViewBase.accessibilityHint accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -436,7 +456,7 @@ SplitViewBase.accessibilityIdentifier accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -454,7 +474,7 @@ SplitViewBase.accessibilityIgnoresInvertColors accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -474,7 +494,7 @@ SplitViewBase.accessibilityLabel accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -495,7 +515,7 @@ SplitViewBase.accessibilityLanguage accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -515,7 +535,7 @@ SplitViewBase.accessibilityLiveRegion accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -535,7 +555,7 @@ SplitViewBase.accessibilityMediaSession accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -555,7 +575,7 @@ SplitViewBase.accessibilityRole accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -575,7 +595,7 @@ SplitViewBase.accessibilityState accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -595,7 +615,7 @@ SplitViewBase.accessibilityValue accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -615,7 +635,7 @@ SplitViewBase.accessible alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -635,7 +655,7 @@ SplitViewBase.alignSelf android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -653,7 +673,7 @@ SplitViewBase.android androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -673,7 +693,7 @@ SplitViewBase.androidDynamicElevationOffset androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -693,7 +713,7 @@ SplitViewBase.androidElevation androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -709,7 +729,7 @@ SplitViewBase.androidOverflowEdge automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -727,7 +747,7 @@ SplitViewBase.automationText background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -747,7 +767,7 @@ SplitViewBase.background backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -767,7 +787,7 @@ SplitViewBase.backgroundColor backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -787,7 +807,7 @@ SplitViewBase.backgroundImage bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -807,7 +827,7 @@ SplitViewBase.bindingContext borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -827,7 +847,7 @@ SplitViewBase.borderBottomColor borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -847,7 +867,7 @@ SplitViewBase.borderBottomLeftRadius borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -867,7 +887,7 @@ SplitViewBase.borderBottomRightRadius borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -887,7 +907,7 @@ SplitViewBase.borderBottomWidth borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -907,7 +927,7 @@ SplitViewBase.borderColor borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -927,7 +947,7 @@ SplitViewBase.borderLeftColor borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -951,7 +971,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -971,7 +991,7 @@ SplitViewBase.borderRadius borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -991,7 +1011,7 @@ SplitViewBase.borderRightColor borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -1011,7 +1031,7 @@ SplitViewBase.borderRightWidth borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1031,7 +1051,7 @@ SplitViewBase.borderTopColor borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1051,7 +1071,7 @@ SplitViewBase.borderTopLeftRadius borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1071,7 +1091,7 @@ SplitViewBase.borderTopRightRadius borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1095,7 +1115,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1115,7 +1135,7 @@ SplitViewBase.borderWidth boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1135,7 +1155,7 @@ SplitViewBase.boxShadow className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1155,7 +1175,7 @@ SplitViewBase.className clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1175,7 +1195,7 @@ SplitViewBase.clipToBounds col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1195,7 +1215,7 @@ SplitViewBase.col color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1215,7 +1235,7 @@ SplitViewBase.color colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1235,7 +1255,7 @@ SplitViewBase.colSpan column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1255,7 +1275,7 @@ SplitViewBase.column columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1273,7 +1293,7 @@ SplitViewBase.columnSpan cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1289,7 +1309,7 @@ SplitViewBase.cssClasses cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1305,7 +1325,7 @@ SplitViewBase.cssPseudoClasses cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1324,7 +1344,7 @@ SplitViewBase.cssType defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1344,7 +1364,7 @@ SplitViewBase.defaultVisualState direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1364,7 +1384,7 @@ SplitViewBase.direction displayMode: SplitDisplayMode; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Preferred display mode @@ -1382,7 +1402,7 @@ SplitViewBase.displayMode dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1402,7 +1422,7 @@ SplitViewBase.dock domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1418,7 +1438,7 @@ SplitViewBase.domNode effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1434,7 +1454,7 @@ SplitViewBase.effectiveBorderBottomWidth effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1450,7 +1470,7 @@ SplitViewBase.effectiveBorderLeftWidth effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1466,7 +1486,7 @@ SplitViewBase.effectiveBorderRightWidth effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1476,13 +1496,29 @@ SplitViewBase.effectiveBorderTopWidth *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +SplitViewBase.effectiveColumnGap +``` + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1498,7 +1534,7 @@ SplitViewBase.effectiveHeight effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1514,7 +1550,7 @@ SplitViewBase.effectiveLeft effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1530,7 +1566,7 @@ SplitViewBase.effectiveMarginBottom effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1546,7 +1582,7 @@ SplitViewBase.effectiveMarginLeft effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1562,7 +1598,7 @@ SplitViewBase.effectiveMarginRight effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1572,13 +1608,45 @@ SplitViewBase.effectiveMarginTop *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +SplitViewBase.effectiveMaxHeight +``` + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +SplitViewBase.effectiveMaxWidth +``` + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1594,7 +1662,7 @@ SplitViewBase.effectiveMinHeight effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1604,13 +1672,29 @@ SplitViewBase.effectiveMinWidth *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +SplitViewBase.effectiveRowGap +``` + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1626,7 +1710,7 @@ SplitViewBase.effectiveTop effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1642,7 +1726,7 @@ SplitViewBase.effectiveWidth flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1662,7 +1746,7 @@ SplitViewBase.flex flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1682,7 +1766,7 @@ SplitViewBase.flexFlow flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1702,7 +1786,7 @@ SplitViewBase.flexGrow flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1722,7 +1806,7 @@ SplitViewBase.flexShrink flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1742,7 +1826,7 @@ SplitViewBase.flexWrapBefore height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1762,7 +1846,7 @@ SplitViewBase.height hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1782,7 +1866,7 @@ SplitViewBase.hidden horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1802,7 +1886,7 @@ SplitViewBase.horizontalAlignment id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1822,7 +1906,7 @@ SplitViewBase.id ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1840,7 +1924,7 @@ SplitViewBase.ignoreTouchAnimation ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1858,7 +1942,7 @@ SplitViewBase.ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1878,7 +1962,7 @@ SplitViewBase.iosAccessibilityAdjustsFontSize iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1898,7 +1982,7 @@ SplitViewBase.iosAccessibilityMaxFontScale iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1918,7 +2002,7 @@ SplitViewBase.iosAccessibilityMinFontScale iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1938,7 +2022,7 @@ SplitViewBase.iosGlassEffect iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1958,7 +2042,7 @@ SplitViewBase.iosIgnoreSafeArea iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1978,7 +2062,7 @@ SplitViewBase.iosOverflowSafeArea iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1998,7 +2082,7 @@ SplitViewBase.iosOverflowSafeAreaEnabled isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -2018,7 +2102,7 @@ SplitViewBase.isCollapsed isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -2038,7 +2122,7 @@ SplitViewBase.isEnabled isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2056,7 +2140,7 @@ SplitViewBase.isLayoutValid isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -2078,7 +2162,7 @@ SplitViewBase.isPassThroughParentEnabled isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2098,7 +2182,7 @@ SplitViewBase.isUserInteractionEnabled left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2123,7 +2207,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2143,7 +2227,7 @@ SplitViewBase.margin marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2163,7 +2247,7 @@ SplitViewBase.marginBottom marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2183,7 +2267,7 @@ SplitViewBase.marginLeft marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2203,7 +2287,7 @@ SplitViewBase.marginRight marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2217,63 +2301,84 @@ SplitViewBase.marginTop *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -SplitViewBase.minHeight +SplitViewBase.maxHeight ``` *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from ```ts -SplitViewBase.minWidth +SplitViewBase.maxWidth ``` *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +```ts +SplitViewBase.minHeight +``` + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from ```ts -SplitViewBase.mIsRootView +SplitViewBase.minWidth ``` *** @@ -2284,7 +2389,7 @@ SplitViewBase.mIsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2302,7 +2407,7 @@ SplitViewBase.modal optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2320,7 +2425,7 @@ SplitViewBase.nativeBackgroundState nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2338,7 +2443,7 @@ SplitViewBase.nativeViewProtected navigationBarTintColor: Color; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Navigation bar tint color for buttons @@ -2356,7 +2461,7 @@ SplitViewBase.navigationBarTintColor opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2376,7 +2481,7 @@ SplitViewBase.opacity order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2396,7 +2501,7 @@ SplitViewBase.order originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2416,7 +2521,7 @@ SplitViewBase.originX originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2440,7 +2545,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2460,7 +2565,7 @@ SplitViewBase.padding paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2480,7 +2585,7 @@ SplitViewBase.paddingBottom paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2500,7 +2605,7 @@ SplitViewBase.paddingLeft paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2520,7 +2625,7 @@ SplitViewBase.paddingRight paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2540,7 +2645,7 @@ SplitViewBase.paddingTop parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2558,7 +2663,7 @@ SplitViewBase.parent perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2579,7 +2684,7 @@ SplitViewBase.perspective preferredInspectorColumnWidthFraction: number; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Inspector column width fraction (0..1, iOS 17+/18+ when Inspector column available) @@ -2597,7 +2702,7 @@ SplitViewBase.preferredInspectorColumnWidthFraction preferredPrimaryColumnWidthFraction: number; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Primary column width fraction (0..1) @@ -2615,7 +2720,7 @@ SplitViewBase.preferredPrimaryColumnWidthFraction preferredSupplementaryColumnWidthFraction: number; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Supplementary column width fraction (0..1, iOS 14+ triple) @@ -2633,7 +2738,7 @@ SplitViewBase.preferredSupplementaryColumnWidthFraction recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2649,7 +2754,7 @@ SplitViewBase.recycleNativeView reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2669,7 +2774,7 @@ SplitViewBase.reusable rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2689,7 +2794,7 @@ SplitViewBase.rotate rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2709,7 +2814,7 @@ SplitViewBase.rotateX rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2729,7 +2834,7 @@ SplitViewBase.rotateY row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2749,7 +2854,7 @@ SplitViewBase.row rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2769,7 +2874,7 @@ SplitViewBase.rowSpan scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2789,7 +2894,7 @@ SplitViewBase.scaleX scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2809,7 +2914,7 @@ SplitViewBase.scaleY sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2829,7 +2934,7 @@ SplitViewBase.sharedTransitionIgnore sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2849,7 +2954,7 @@ SplitViewBase.sharedTransitionTag splitBehavior: SplitBehavior; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Preferred split behavior (iOS 14+) @@ -2867,7 +2972,7 @@ SplitViewBase.splitBehavior splitRole: SplitRole; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Child role (primary, secondary, supplementary, inspector) @@ -2885,7 +2990,7 @@ SplitViewBase.splitRole statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2914,7 +3019,7 @@ SplitViewBase.statusBarStyle testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2932,7 +3037,7 @@ SplitViewBase.testID top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2954,7 +3059,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2972,7 +3077,7 @@ SplitViewBase.touchAnimation touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2990,7 +3095,7 @@ SplitViewBase.touchDelay transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -3008,7 +3113,7 @@ SplitViewBase.transitionId translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -3028,7 +3133,7 @@ SplitViewBase.translateX translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -3048,7 +3153,7 @@ SplitViewBase.translateY verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -3068,7 +3173,7 @@ SplitViewBase.verticalAlignment viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -3086,7 +3191,7 @@ SplitViewBase.viewController visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3106,7 +3211,7 @@ SplitViewBase.visibility visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3126,7 +3231,7 @@ SplitViewBase.visionHoverStyle visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3146,7 +3251,7 @@ SplitViewBase.visionIgnoreHoverStyle width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3166,7 +3271,7 @@ SplitViewBase.width static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3188,7 +3293,7 @@ SplitViewBase.accessibilityBlurEvent static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3210,7 +3315,7 @@ SplitViewBase.accessibilityFocusChangedEvent static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3232,7 +3337,7 @@ SplitViewBase.accessibilityFocusEvent static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3248,7 +3353,7 @@ SplitViewBase.accessibilityPerformEscapeEvent static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3264,13 +3369,37 @@ SplitViewBase.androidOverflowInsetEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +```ts +SplitViewBase.closedModallyEvent +``` + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3292,7 +3421,7 @@ SplitViewBase.createdEvent static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3314,7 +3443,7 @@ SplitViewBase.disposeNativeViewEvent static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3336,7 +3465,7 @@ SplitViewBase.layoutChangedEvent static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3358,7 +3487,7 @@ SplitViewBase.loadedEvent static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3380,7 +3509,7 @@ SplitViewBase.propertyChangeEvent static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3402,7 +3531,7 @@ SplitViewBase.showingModallyEvent static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3424,7 +3553,7 @@ SplitViewBase.shownModallyEvent static SplitStyle: SplitStyle; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) The display style for the split view controller. Must be set before bootstrapping the app. @@ -3443,7 +3572,7 @@ SplitViewBase.SplitStyle static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3467,7 +3596,7 @@ SplitViewBase.unloadedEvent get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3479,7 +3608,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3507,7 +3636,7 @@ SplitViewBase.backgroundPosition get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3519,7 +3648,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3547,7 +3676,7 @@ SplitViewBase.backgroundRepeat get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3559,7 +3688,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3587,7 +3716,7 @@ SplitViewBase.backgroundSize get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3599,7 +3728,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3627,7 +3756,7 @@ SplitViewBase.class get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3639,7 +3768,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3667,7 +3796,7 @@ SplitViewBase.effectivePaddingBottom get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3679,7 +3808,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3707,7 +3836,7 @@ SplitViewBase.effectivePaddingLeft get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3719,7 +3848,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3747,7 +3876,7 @@ SplitViewBase.effectivePaddingRight get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3759,7 +3888,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3787,7 +3916,7 @@ SplitViewBase.effectivePaddingTop get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3809,7 +3938,7 @@ SplitViewBase.isLoaded get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3821,7 +3950,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3849,7 +3978,7 @@ SplitViewBase.nativeView get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3873,7 +4002,7 @@ SplitViewBase.page get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3887,7 +4016,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3915,7 +4044,7 @@ SplitViewBase.parentNode get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3929,7 +4058,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3959,7 +4088,7 @@ SplitViewBase.style get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3971,7 +4100,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3999,7 +4128,7 @@ SplitViewBase.textTransform get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -4023,7 +4152,7 @@ SplitViewBase.typeName get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -4045,7 +4174,7 @@ SplitViewBase.visualState _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4072,7 +4201,7 @@ SplitViewBase._addView _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4101,7 +4230,7 @@ SplitViewBase._addViewCore _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4137,7 +4266,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4173,7 +4302,7 @@ SplitViewBase._applyGlassEffect _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4205,7 +4334,7 @@ SplitViewBase._applyXmlAttribute _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4239,7 +4368,7 @@ SplitViewBase._batchUpdate _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4265,7 +4394,7 @@ SplitViewBase._childIndexToNativeChildIndex _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4291,7 +4420,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4321,7 +4450,7 @@ SplitViewBase._createPropertyChangeData _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4343,7 +4472,7 @@ SplitViewBase._dialogClosed _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4369,7 +4498,7 @@ SplitViewBase._eachLayoutView _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4395,7 +4524,7 @@ SplitViewBase._emit _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4409,13 +4538,37 @@ SplitViewBase._getNativeViewsCount *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +```ts +SplitViewBase._getRootModalHost +``` + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4438,7 +4591,7 @@ SplitViewBase._getRootModalViews _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4469,7 +4622,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4497,7 +4650,7 @@ SplitViewBase._handleLivesync _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4525,7 +4678,7 @@ SplitViewBase._hasAncestorView protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4552,7 +4705,7 @@ SplitViewBase._hideNativeModalView _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4578,7 +4731,7 @@ SplitViewBase._inheritStyles _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4604,7 +4757,7 @@ SplitViewBase._inheritStyleScope _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4627,7 +4780,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4655,7 +4808,7 @@ SplitViewBase._observe _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4677,7 +4830,7 @@ SplitViewBase._onAttachedToWindow _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4699,7 +4852,7 @@ SplitViewBase._onDetachedFromWindow _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4721,7 +4874,7 @@ SplitViewBase._onRootViewReset optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4743,7 +4896,7 @@ SplitViewBase._onSizeChanged _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4769,7 +4922,7 @@ SplitViewBase._parentChanged protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4789,7 +4942,7 @@ SplitViewBase._raiseLayoutChangedEvent protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4809,7 +4962,7 @@ SplitViewBase._raiseShowingModallyEvent protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4829,7 +4982,7 @@ SplitViewBase._raiseShownModallyEvent _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4857,7 +5010,7 @@ SplitViewBase._registerLayoutChild _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4885,7 +5038,7 @@ SplitViewBase._removeView _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4913,7 +5066,7 @@ SplitViewBase._removeViewCore _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4941,7 +5094,7 @@ SplitViewBase._removeViewFromNativeVisualTree _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4967,7 +5120,7 @@ SplitViewBase._resumeNativeUpdates protected _roleByIndex(index: number): SplitRole; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Parameters @@ -4993,7 +5146,7 @@ SplitViewBase._roleByIndex _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5019,7 +5172,7 @@ SplitViewBase._setDefaultPaddings _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5048,7 +5201,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5079,7 +5232,7 @@ SplitViewBase._setupUI _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -5108,7 +5261,7 @@ SplitViewBase._setValue _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -5131,7 +5284,7 @@ SplitViewBase._shouldDelayLayout protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5158,7 +5311,7 @@ SplitViewBase._showNativeModalView _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5184,7 +5337,7 @@ SplitViewBase._suspendNativeUpdates _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5213,7 +5366,7 @@ SplitViewBase._tearDownUI _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -5244,7 +5397,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5274,7 +5427,7 @@ SplitViewBase._updateStyleScope accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5302,7 +5455,7 @@ SplitViewBase.accessibilityAnnouncement accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5324,7 +5477,7 @@ SplitViewBase.accessibilityScreenChanged addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -5356,7 +5509,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5387,7 +5540,7 @@ SplitViewBase.addEventListener protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5417,7 +5570,7 @@ SplitViewBase.addPseudoClass animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5445,7 +5598,7 @@ SplitViewBase.animate bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5472,7 +5625,7 @@ SplitViewBase.bind callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5492,7 +5645,7 @@ SplitViewBase.callLoaded callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5512,7 +5665,7 @@ SplitViewBase.callUnloaded closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5540,7 +5693,7 @@ SplitViewBase.closeModal createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5568,7 +5721,7 @@ SplitViewBase.createAnimation createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5591,7 +5744,7 @@ SplitViewBase.createNativeView protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5621,7 +5774,7 @@ SplitViewBase.deletePseudoClass destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5653,7 +5806,7 @@ SplitViewBase.destroyNode disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5675,7 +5828,7 @@ SplitViewBase.disposeNativeView eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5703,7 +5856,7 @@ SplitViewBase.eachChild eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5731,7 +5884,7 @@ SplitViewBase.eachChildView eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5759,7 +5912,7 @@ SplitViewBase.eachLayoutChild ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5783,7 +5936,7 @@ SplitViewBase.ensureDomNode focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5806,7 +5959,7 @@ SplitViewBase.focus get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5834,7 +5987,7 @@ SplitViewBase.get getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5856,7 +6009,7 @@ SplitViewBase.getActualSize getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5884,7 +6037,7 @@ SplitViewBase.getChildAt getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5912,7 +6065,7 @@ SplitViewBase.getChildIndex getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5934,7 +6087,7 @@ SplitViewBase.getChildrenCount getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5956,7 +6109,7 @@ SplitViewBase.getClosestWindow getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5976,7 +6129,7 @@ SplitViewBase.getEffectivePaddingShorthand getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -6002,7 +6155,7 @@ SplitViewBase.getGestureObservers getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -6024,7 +6177,7 @@ SplitViewBase.getLocationInWindow getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -6046,7 +6199,7 @@ SplitViewBase.getLocationOnScreen getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -6074,7 +6227,7 @@ SplitViewBase.getLocationRelativeTo getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -6096,7 +6249,7 @@ SplitViewBase.getMeasuredHeight getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -6116,7 +6269,7 @@ SplitViewBase.getMeasuredState getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -6132,13 +6285,40 @@ SplitViewBase.getMeasuredWidth *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +```ts +SplitViewBase.getNativeWindow +``` + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -6160,7 +6340,7 @@ SplitViewBase.getSafeAreaInsets getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -6194,7 +6374,7 @@ SplitViewBase.getViewByDomId getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -6228,7 +6408,7 @@ SplitViewBase.getViewById optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -6250,7 +6430,7 @@ SplitViewBase.hasGestureObservers hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -6278,7 +6458,7 @@ SplitViewBase.hasListeners hideInspector(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -6298,7 +6478,7 @@ SplitViewBase.hideInspector hidePrimary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -6318,7 +6498,7 @@ SplitViewBase.hidePrimary hideSecondary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -6338,7 +6518,7 @@ SplitViewBase.hideSecondary hideSupplementary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -6358,7 +6538,7 @@ SplitViewBase.hideSupplementary initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6380,7 +6560,7 @@ SplitViewBase.initNativeView insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -6409,7 +6589,7 @@ SplitViewBase.insertChild invalidateChildLayouts(delay?: number): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Invalidate layouts for all child views in the SplitView. Useful when columns change, orientation changes, or any scenario @@ -6444,7 +6624,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6482,7 +6662,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6513,7 +6693,7 @@ SplitViewBase.layoutNativeView loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6541,7 +6721,7 @@ SplitViewBase.loadView measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6571,7 +6751,7 @@ SplitViewBase.measure notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6610,7 +6790,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6643,7 +6823,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6678,7 +6858,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6709,7 +6889,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6740,7 +6920,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6771,7 +6951,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6803,7 +6983,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6834,7 +7014,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6865,7 +7045,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6895,7 +7075,7 @@ SplitViewBase.on onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6920,7 +7100,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6955,7 +7135,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6986,7 +7166,7 @@ SplitViewBase.onLayout onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -7006,7 +7186,7 @@ SplitViewBase.onLoaded onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -7036,7 +7216,7 @@ SplitViewBase.onMeasure onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -7059,7 +7239,7 @@ onRoleChanged( newValue: SplitRole): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Parameters @@ -7087,7 +7267,7 @@ SplitViewBase.onRoleChanged onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -7107,7 +7287,7 @@ SplitViewBase.onUnloaded removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -7135,7 +7315,7 @@ SplitViewBase.removeChild removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -7160,7 +7340,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -7190,7 +7370,7 @@ SplitViewBase.removeEventListener requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -7212,7 +7392,7 @@ SplitViewBase.requestLayout resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -7234,7 +7414,7 @@ SplitViewBase.resetNativeView sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -7274,7 +7454,7 @@ SplitViewBase.sendAccessibilityEvent set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -7303,7 +7483,7 @@ SplitViewBase.set setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7330,7 +7510,7 @@ SplitViewBase.setAccessibilityIdentifier setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7356,7 +7536,7 @@ SplitViewBase.setInlineStyle setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -7385,7 +7565,7 @@ SplitViewBase.setMeasuredDimension setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -7415,7 +7595,7 @@ SplitViewBase.setNativeView optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -7437,7 +7617,7 @@ SplitViewBase.setOnTouchListener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -7466,7 +7646,7 @@ SplitViewBase.setProperty showInspector(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -7486,7 +7666,7 @@ SplitViewBase.showInspector showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -7514,7 +7694,7 @@ SplitViewBase.showModal showPrimary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -7534,7 +7714,7 @@ SplitViewBase.showPrimary showSecondary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -7554,7 +7734,7 @@ SplitViewBase.showSecondary showSupplementary(): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -7574,7 +7754,7 @@ SplitViewBase.showSupplementary toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -7596,7 +7776,7 @@ SplitViewBase.toString unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7622,7 +7802,7 @@ SplitViewBase.unbind unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7650,7 +7830,7 @@ SplitViewBase.unloadView updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7680,7 +7860,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7714,7 +7894,7 @@ SplitViewBase.addEventListener static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7741,7 +7921,7 @@ SplitViewBase.combineMeasuredStates static getInstance(): SplitViewBase; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) #### Returns @@ -7761,7 +7941,7 @@ SplitViewBase.getInstance static getRole(element: SplitViewBase): SplitRole; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Get child role (primary, secondary, supplementary, inspector) @@ -7795,7 +7975,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7835,7 +8015,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7886,7 +8066,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7923,7 +8103,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7960,7 +8140,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7996,7 +8176,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -8033,7 +8213,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size @@ -8069,7 +8249,7 @@ SplitViewBase.resolveSizeAndState static setRole(element: SplitViewBase, value: SplitRole): void; ``` -Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/split-view-common.ts) +Defined in: [ui/split-view/split-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/split-view-common.ts) Set child role (primary, secondary, supplementary, inspector) diff --git a/content/api/classes/StackLayout.md b/content/api/classes/StackLayout.md index d0fd6002..c7c3d5d6 100644 --- a/content/api/classes/StackLayout.md +++ b/content/api/classes/StackLayout.md @@ -5,7 +5,7 @@ description: A Layout that arranges its children horizontally or vertically. The contributors: false --- -Defined in: [ui/layouts/stack-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/stack-layout/index.d.ts#L10) +Defined in: [ui/layouts/stack-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/stack-layout/index.d.ts#L10) A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property. @@ -25,7 +25,7 @@ StackLayout new StackLayout(): StackLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -582,7 +600,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1052,7 +1070,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1070,7 +1088,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1088,7 +1106,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1106,7 +1124,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1124,7 +1142,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1140,7 +1158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1154,7 +1172,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1168,7 +1186,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1185,7 +1203,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1203,7 +1221,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1221,7 +1239,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1239,7 +1257,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1253,7 +1271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1267,7 +1285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1281,7 +1299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1295,7 +1313,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1303,13 +1321,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1323,7 +1355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1337,7 +1369,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1351,7 +1383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1365,7 +1397,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1379,7 +1411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1387,13 +1419,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1407,7 +1467,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1415,13 +1475,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1435,7 +1509,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1449,7 +1523,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1467,7 +1541,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1485,7 +1559,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1503,7 +1577,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1521,7 +1595,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1539,7 +1613,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1557,7 +1631,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1575,7 +1649,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1593,7 +1667,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1611,7 +1685,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1627,7 +1701,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1643,7 +1717,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1661,7 +1735,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1679,7 +1753,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1697,7 +1771,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1715,7 +1789,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1733,7 +1807,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1751,7 +1825,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1769,7 +1843,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1787,7 +1861,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1805,7 +1879,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1821,7 +1895,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1841,7 +1915,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1859,7 +1933,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1882,7 +1956,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1900,7 +1974,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1918,7 +1992,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1936,7 +2010,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1954,7 +2028,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1966,58 +2040,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2027,7 +2120,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2043,7 +2136,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2059,7 +2152,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2075,7 +2168,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2093,7 +2186,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2111,7 +2204,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a orientation: OrientationType; ``` -Defined in: [ui/layouts/stack-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/stack-layout/index.d.ts#L16) +Defined in: [ui/layouts/stack-layout/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/stack-layout/index.d.ts#L16) Gets or sets if layout should be horizontal or vertical. The default value is vertical. @@ -2126,7 +2219,7 @@ The default value is vertical. originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2144,7 +2237,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2166,7 +2259,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2184,7 +2277,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2202,7 +2295,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2220,7 +2313,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2238,7 +2331,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2256,7 +2349,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2272,7 +2365,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2291,7 +2384,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2305,7 +2398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2323,7 +2416,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2341,7 +2434,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2359,7 +2452,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2377,7 +2470,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2395,7 +2488,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2413,7 +2506,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2431,7 +2524,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2449,7 +2542,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2467,7 +2560,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2485,7 +2578,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2512,7 +2605,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2528,7 +2621,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2548,7 +2641,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2564,7 +2657,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2580,7 +2673,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2596,7 +2689,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2614,7 +2707,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2632,7 +2725,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2650,7 +2743,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2666,7 +2759,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2684,7 +2777,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2702,7 +2795,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2720,7 +2813,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2738,7 +2831,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2758,7 +2851,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2778,7 +2871,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2798,7 +2891,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2812,7 +2905,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2826,13 +2919,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2852,7 +2967,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2872,7 +2987,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2892,7 +3007,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2912,7 +3027,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2932,7 +3047,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2952,7 +3067,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2972,7 +3087,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2994,7 +3109,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3006,7 +3121,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3032,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3044,7 +3159,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3070,7 +3185,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3082,7 +3197,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3108,7 +3223,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3120,7 +3235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3146,7 +3261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3158,7 +3273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3184,7 +3299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3196,7 +3311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3222,7 +3337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3234,7 +3349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3260,7 +3375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3272,7 +3387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3298,7 +3413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3318,7 +3433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3330,7 +3445,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3356,7 +3471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3378,7 +3493,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3392,7 +3507,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3418,7 +3533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3432,7 +3547,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3460,7 +3575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3472,7 +3587,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3498,7 +3613,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3520,7 +3635,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3540,7 +3655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3565,7 +3680,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3592,7 +3707,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3626,7 +3741,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3660,7 +3775,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3690,7 +3805,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3722,7 +3837,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3746,7 +3861,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3770,7 +3885,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3798,7 +3913,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3818,7 +3933,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3842,7 +3957,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3866,7 +3981,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3878,13 +3993,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3905,7 +4042,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3934,7 +4071,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3960,7 +4097,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3986,7 +4123,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4011,7 +4148,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4035,7 +4172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4059,7 +4196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4080,7 +4217,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4106,7 +4243,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4126,7 +4263,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4146,7 +4283,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4166,7 +4303,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4186,7 +4323,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4210,7 +4347,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4228,7 +4365,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4246,7 +4383,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4264,7 +4401,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4290,7 +4427,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4316,7 +4453,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4342,7 +4479,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4368,7 +4505,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4392,7 +4529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4416,7 +4553,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4443,7 +4580,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4472,7 +4609,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4499,7 +4636,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4520,7 +4657,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4545,7 +4682,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4569,7 +4706,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4596,7 +4733,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4625,7 +4762,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4653,7 +4790,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4679,7 +4816,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4699,7 +4836,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4729,7 +4866,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4758,7 +4895,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4786,7 +4923,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4812,7 +4949,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4837,7 +4974,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4855,7 +4992,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4873,7 +5010,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4899,7 +5036,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4925,7 +5062,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4946,7 +5083,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4974,7 +5111,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5004,7 +5141,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5024,7 +5161,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5050,7 +5187,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5076,7 +5213,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5102,7 +5239,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5124,7 +5261,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5145,7 +5282,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5171,7 +5308,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5191,7 +5328,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5217,7 +5354,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5243,7 +5380,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5263,7 +5400,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5283,7 +5420,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5301,7 +5438,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5325,7 +5462,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5345,7 +5482,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5365,7 +5502,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5391,7 +5528,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5411,7 +5548,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5429,7 +5566,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5443,13 +5580,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5469,7 +5631,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5501,7 +5663,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5533,7 +5695,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5553,7 +5715,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5579,7 +5741,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5599,7 +5761,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5631,7 +5793,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5667,7 +5829,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5696,7 +5858,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5722,7 +5884,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5750,7 +5912,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5787,7 +5949,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5818,7 +5980,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5851,7 +6013,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5880,7 +6042,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5909,7 +6071,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5938,7 +6100,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5968,7 +6130,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5997,7 +6159,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6026,7 +6188,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6054,7 +6216,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6077,7 +6239,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6110,7 +6272,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6139,7 +6301,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6157,7 +6319,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6185,7 +6347,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6203,7 +6365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6221,7 +6383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6247,7 +6409,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6270,7 +6432,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6298,7 +6460,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6318,7 +6480,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6338,7 +6500,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6376,7 +6538,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6403,7 +6565,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6428,7 +6590,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6452,7 +6614,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6479,7 +6641,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6507,7 +6669,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6527,7 +6689,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6554,7 +6716,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6580,7 +6742,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6600,7 +6762,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6624,7 +6786,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6650,7 +6812,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6678,7 +6840,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6710,7 +6872,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6741,7 +6903,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6779,7 +6941,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6828,7 +6990,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6863,7 +7025,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6898,7 +7060,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6932,7 +7094,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6967,7 +7129,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/Style.md b/content/api/classes/Style.md index ca74e3e7..7b83da7b 100644 --- a/content/api/classes/Style.md +++ b/content/api/classes/Style.md @@ -5,7 +5,7 @@ description: Observable is used when you want to be notified when a change occur contributors: false --- -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0, @@ -23,7 +23,7 @@ and you have to migrate to the "data/observable" `fromObject({})` or the `fromOb new Style(ownerView: ViewBase | WeakRef): Style; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -47,7 +47,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityHidden: boolean; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -57,7 +57,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityLanguage: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -67,7 +67,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -77,7 +77,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityMediaSession: boolean; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -87,7 +87,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -97,7 +97,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityState: AccessibilityState; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -107,7 +107,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessibilityStep: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -117,7 +117,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc accessible: boolean; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -127,7 +127,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc alignContent: AlignContent; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -137,7 +137,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc alignItems: AlignItems; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -147,7 +147,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc alignSelf: AlignSelf; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -161,7 +161,7 @@ androidContentInset: | LengthPxUnit; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -171,7 +171,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidContentInsetLeft: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -181,7 +181,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidContentInsetRight: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -191,7 +191,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidDynamicElevationOffset: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -201,7 +201,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidElevation: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -211,7 +211,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidSelectedTabHighlightColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -221,7 +221,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc androidStatusBarBackground: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -231,7 +231,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc background: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -241,7 +241,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -251,7 +251,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundImage: string | LinearGradient; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -261,7 +261,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundInternal: Background; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -271,7 +271,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundPosition: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -281,7 +281,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundRepeat: BackgroundRepeatType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -291,7 +291,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc backgroundSize: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -301,7 +301,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderBottomColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -311,7 +311,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -321,7 +321,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderBottomRightRadius: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -331,7 +331,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderBottomWidth: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -341,7 +341,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderColor: string | Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -351,7 +351,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderLeftColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -361,7 +361,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderLeftWidth: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -375,7 +375,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -385,7 +385,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderRightColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -395,7 +395,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderRightWidth: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -405,7 +405,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderTopColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -415,7 +415,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderTopLeftRadius: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -425,7 +425,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderTopRightRadius: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -435,7 +435,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc borderTopWidth: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -449,7 +449,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -459,7 +459,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -469,7 +469,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc clipPath: string | ClipPathFunction; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -479,7 +479,31 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc color: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### columnGap + +```ts +columnGap: LengthType; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### cornerShape + +```ts +cornerShape: CornerShapeType; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +The curve used to round the corners: 'round' (circular arcs, the default) +or 'squircle' (Apple's continuous corner curve). iOS only; Android always +renders circular corners. *** @@ -489,7 +513,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc direction: LayoutDirectionType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -499,7 +523,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flex: Flex; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -509,7 +533,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flexDirection: FlexDirection; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -531,7 +555,7 @@ flexFlow: | "column-reverse wrap-reverse"; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -541,7 +565,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flexGrow: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -551,7 +575,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flexShrink: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -561,7 +585,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flexWrap: FlexWrap; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -571,7 +595,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc flexWrapBefore: boolean; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -581,7 +605,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc font: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -591,7 +615,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontFamily: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -601,7 +625,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontInternal: Font; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -611,7 +635,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontScaleInternal: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) This property ensures inheritance of a11y scale among views. @@ -623,7 +647,7 @@ This property ensures inheritance of a11y scale among views. fontSize: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -633,7 +657,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontStyle: FontStyleType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -643,7 +667,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontVariationSettings: FontVariationSettingsType[]; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -653,7 +677,21 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc fontWeight: FontWeightType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### gap + +```ts +gap: + | string + | number + | LengthDipUnit + | LengthPxUnit; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -663,7 +701,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc height: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -673,7 +711,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -683,7 +721,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc iconFontFamily: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -693,7 +731,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -703,7 +741,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -713,7 +751,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -723,7 +761,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc justifyContent: JustifyContent; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -733,7 +771,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc letterSpacing: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -743,7 +781,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc lineHeight: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -758,7 +796,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -768,7 +806,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc marginBottom: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -778,7 +816,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc marginLeft: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -788,7 +826,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc marginRight: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -798,7 +836,17 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc marginTop: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -808,7 +856,17 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc maxLines: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### maxWidth + +```ts +maxWidth: PercentLengthType; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -818,7 +876,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc minHeight: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -828,7 +886,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc minWidth: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -838,7 +896,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc opacity: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -848,7 +906,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc order: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -862,7 +920,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -872,7 +930,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc paddingBottom: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -882,7 +940,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc paddingInternal: string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -892,7 +950,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc paddingLeft: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -902,7 +960,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc paddingRight: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -912,7 +970,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc paddingTop: LengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -922,7 +980,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc perspective: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -932,7 +990,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc placeholderColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -949,7 +1007,7 @@ PropertyBag: { }; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Returns @@ -981,7 +1039,7 @@ prototype: { rotate: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -991,7 +1049,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc rotateX: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1001,7 +1059,17 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc rotateY: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) + +*** + +### rowGap + +```ts +rowGap: LengthType; +``` + +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1011,7 +1079,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc scaleX: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1021,7 +1089,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc scaleY: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1031,7 +1099,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc selectedBackgroundColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1041,7 +1109,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc selectedTabTextColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1051,7 +1119,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc selectedTextColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1061,7 +1129,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc separatorColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1071,7 +1139,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1081,7 +1149,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc tabBackgroundColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1091,7 +1159,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc tabTextColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1101,7 +1169,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc tabTextFontSize: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1111,7 +1179,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textAlignment: TextAlignmentType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1121,7 +1189,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textDecoration: TextDecorationType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1131,7 +1199,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textOverflow: TextOverflowType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1141,7 +1209,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textShadow: ShadowCSSValues; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1151,7 +1219,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textStroke: StrokeCSSValues; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1161,7 +1229,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc textTransform: TextTransformType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1171,7 +1239,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc tintColor: Color; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1181,7 +1249,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc translateX: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1191,7 +1259,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc translateY: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1201,7 +1269,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1211,7 +1279,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc viewRef: WeakRef; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1221,7 +1289,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc visibility: VisibilityType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1231,7 +1299,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1241,7 +1309,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc width: PercentLengthType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1251,7 +1319,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc zIndex: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -1261,7 +1329,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1283,7 +1351,7 @@ propertyChange get view(): ViewBase; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) ##### Returns @@ -1300,7 +1368,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1328,7 +1396,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1356,7 +1424,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -1385,7 +1453,7 @@ Adds a listener for the specified event name. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -1411,7 +1479,7 @@ Gets the value of the specified property. getCssVariable(varName: string): string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -1431,7 +1499,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -1457,7 +1525,7 @@ Checks whether a listener is registered for the specified event name. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -1494,7 +1562,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -1525,7 +1593,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -1556,7 +1624,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -1587,7 +1655,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -1619,7 +1687,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -1647,7 +1715,7 @@ Removes listener(s) for the specified event name. removeScopedCssVariable(varName: string): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -1667,7 +1735,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc removeUnscopedCssVariable(varName: string): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -1687,7 +1755,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc resetScopedCssVariables(): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Returns @@ -1701,7 +1769,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc resetUnscopedCssVariables(): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Returns @@ -1715,7 +1783,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc set(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value. @@ -1742,7 +1810,7 @@ Updates the specified property with the provided value. setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -1769,7 +1837,7 @@ Updates the specified property with the provided value and raises a property cha setScopedCssVariable(varName: string, value: string): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -1790,7 +1858,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc setUnscopedCssVariable(varName: string, value: string): void; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) #### Parameters @@ -1811,7 +1879,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc toString(): string; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) Returns a string representation of an object. @@ -1831,7 +1899,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1866,7 +1934,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1901,7 +1969,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1936,7 +2004,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -1970,7 +2038,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/Switch.md b/content/api/classes/Switch.md index f0e18974..0fb07140 100644 --- a/content/api/classes/Switch.md +++ b/content/api/classes/Switch.md @@ -5,7 +5,7 @@ description: Represents a switch component. contributors: false --- -Defined in: [ui/switch/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L10) +Defined in: [ui/switch/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L10) Represents a switch component. @@ -25,7 +25,7 @@ Switch new Switch(): Switch; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/switch/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L21) +Defined in: [ui/switch/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L21) Gets the native [android widget](http://developer.android.com/reference/android/widget/Switch.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. checked: boolean; ``` -Defined in: [ui/switch/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L33) +Defined in: [ui/switch/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L33) Gets or sets if a switch is checked or not. @@ -1030,7 +1048,7 @@ Gets or sets if a switch is checked or not. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1048,7 +1066,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1066,7 +1084,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1084,7 +1102,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1102,7 +1120,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1164,7 +1182,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1181,7 +1199,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1199,7 +1217,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1217,7 +1235,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1235,7 +1253,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1291,7 +1309,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,13 +1317,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1375,7 +1407,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,13 +1415,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1403,7 +1463,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1411,13 +1471,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1445,7 +1519,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1463,7 +1537,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1481,7 +1555,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1499,7 +1573,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1517,7 +1591,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1535,7 +1609,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1553,7 +1627,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1571,7 +1645,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1589,7 +1663,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1607,7 +1681,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1623,7 +1697,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/switch/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L26) +Defined in: [ui/switch/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L26) Gets the native iOS [UISwitch](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISwitch_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1639,7 +1713,7 @@ Gets the native iOS [UISwitch](https://developer.apple.com/library/ios/documenta iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1657,7 +1731,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1675,7 +1749,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1693,7 +1767,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1711,7 +1785,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1729,7 +1803,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1747,7 +1821,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1765,7 +1839,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1783,7 +1857,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1801,7 +1875,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1817,7 +1891,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1835,7 +1909,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1858,7 +1932,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1876,7 +1950,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1894,7 +1968,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1912,7 +1986,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1930,7 +2004,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1942,58 +2016,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2003,7 +2096,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2019,7 +2112,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2035,7 +2128,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2051,7 +2144,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m offBackgroundColor: Color; ``` -Defined in: [ui/switch/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L40) +Defined in: [ui/switch/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L40) Gets or sets the background color of the Switch when it is turned off. @@ -2065,7 +2158,7 @@ Gets or sets the background color of the Switch when it is turned off. opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2083,7 +2176,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2101,7 +2194,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2119,7 +2212,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2137,7 +2230,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2153,7 +2246,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2172,7 +2265,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2186,7 +2279,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2204,7 +2297,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2222,7 +2315,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2240,7 +2333,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2258,7 +2351,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2276,7 +2369,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2294,7 +2387,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2312,7 +2405,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2330,7 +2423,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2348,7 +2441,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2366,7 +2459,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2393,7 +2486,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2409,7 +2502,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2429,7 +2522,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2445,7 +2538,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2461,7 +2554,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2477,7 +2570,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2495,7 +2588,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2513,7 +2606,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2531,7 +2624,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2547,7 +2640,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2565,7 +2658,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2583,7 +2676,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2601,7 +2694,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2619,7 +2712,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2639,7 +2732,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2659,7 +2752,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2679,7 +2772,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2693,7 +2786,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2713,7 +2806,7 @@ androidOverflowInset static checkedChangeEvent: string; ``` -Defined in: [ui/switch/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/switch/index.d.ts#L16) +Defined in: [ui/switch/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/switch/index.d.ts#L16) String value used when hooking to checkedChange event. @@ -2723,13 +2816,35 @@ checkedChange *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2749,7 +2864,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2769,7 +2884,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2789,7 +2904,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2809,7 +2924,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2829,7 +2944,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2849,7 +2964,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2869,7 +2984,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2891,7 +3006,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2903,7 +3018,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2929,7 +3044,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2941,7 +3056,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2967,7 +3082,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2979,7 +3094,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3005,7 +3120,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3017,7 +3132,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3043,7 +3158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3055,7 +3170,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3081,7 +3196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3093,7 +3208,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3119,7 +3234,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3131,7 +3246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3157,7 +3272,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3169,7 +3284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3195,7 +3310,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3215,7 +3330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3227,7 +3342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3253,7 +3368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3275,7 +3390,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3289,7 +3404,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3315,7 +3430,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3329,7 +3444,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3357,7 +3472,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3369,7 +3484,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3395,7 +3510,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3417,7 +3532,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3437,7 +3552,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3462,7 +3577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3489,7 +3604,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3523,7 +3638,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3557,7 +3672,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3587,7 +3702,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3619,7 +3734,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3643,7 +3758,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3667,7 +3782,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3695,7 +3810,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3715,7 +3830,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3739,7 +3854,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3763,7 +3878,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3775,13 +3890,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3802,7 +3939,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3831,7 +3968,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3857,7 +3994,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3883,7 +4020,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3908,7 +4045,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3932,7 +4069,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3956,7 +4093,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3977,7 +4114,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4003,7 +4140,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4023,7 +4160,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4043,7 +4180,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4063,7 +4200,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4083,7 +4220,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4107,7 +4244,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4125,7 +4262,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4143,7 +4280,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4161,7 +4298,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4187,7 +4324,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4213,7 +4350,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4239,7 +4376,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4263,7 +4400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4287,7 +4424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4314,7 +4451,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4343,7 +4480,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4370,7 +4507,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4391,7 +4528,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4416,7 +4553,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4440,7 +4577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4470,7 +4607,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4498,7 +4635,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4524,7 +4661,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4548,7 +4685,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4577,7 +4714,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4605,7 +4742,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4631,7 +4768,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4656,7 +4793,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4674,7 +4811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4692,7 +4829,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4718,7 +4855,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4744,7 +4881,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4765,7 +4902,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4793,7 +4930,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4823,7 +4960,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4843,7 +4980,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4869,7 +5006,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4895,7 +5032,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4917,7 +5054,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4938,7 +5075,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4964,7 +5101,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4984,7 +5121,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5004,7 +5141,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5022,7 +5159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5046,7 +5183,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5066,7 +5203,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5086,7 +5223,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5112,7 +5249,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5132,7 +5269,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5150,7 +5287,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5164,13 +5301,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5190,7 +5352,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5222,7 +5384,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5254,7 +5416,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5274,7 +5436,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5300,7 +5462,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5325,7 +5487,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5361,7 +5523,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5390,7 +5552,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5416,7 +5578,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5444,7 +5606,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5481,7 +5643,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5512,7 +5674,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5545,7 +5707,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5574,7 +5736,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5603,7 +5765,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5632,7 +5794,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5662,7 +5824,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5691,7 +5853,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5720,7 +5882,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5748,7 +5910,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5771,7 +5933,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5804,7 +5966,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5833,7 +5995,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5851,7 +6013,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5879,7 +6041,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5897,7 +6059,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5918,7 +6080,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5946,7 +6108,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5966,7 +6128,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5986,7 +6148,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6024,7 +6186,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6051,7 +6213,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6076,7 +6238,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6100,7 +6262,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6127,7 +6289,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6155,7 +6317,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6175,7 +6337,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6202,7 +6364,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6228,7 +6390,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6248,7 +6410,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6272,7 +6434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6298,7 +6460,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6326,7 +6488,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6358,7 +6520,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6389,7 +6551,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6427,7 +6589,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6476,7 +6638,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6511,7 +6673,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6546,7 +6708,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6580,7 +6742,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6615,7 +6777,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TabView.md b/content/api/classes/TabView.md index 5a4a397e..f177bea6 100644 --- a/content/api/classes/TabView.md +++ b/content/api/classes/TabView.md @@ -5,7 +5,7 @@ description: Represents a tab view. contributors: false --- -Defined in: [ui/tab-view/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L78) +Defined in: [ui/tab-view/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L78) Represents a tab view. @@ -25,7 +25,7 @@ TabView new TabView(): TabView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/tab-view/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L153) +Defined in: [ui/tab-view/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L153) Gets the native [android widget](http://developer.android.com/reference/android/support/v4/view/ViewPager.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidIconRenderingMode: "alwaysOriginal" | "alwaysTemplate"; ``` -Defined in: [ui/tab-view/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L179) +Defined in: [ui/tab-view/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L179) Gets or sets the rendering mode of tab icons on Android. Defaults to "original" Valid values are: @@ -635,7 +653,7 @@ Valid values are: androidOffscreenTabLimit: number; ``` -Defined in: [ui/tab-view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L187) +Defined in: [ui/tab-view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L187) Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state. Tabs beyond this limit will be recreated from the TabView when needed. @@ -650,7 +668,7 @@ Tabs beyond this limit will be recreated from the TabView when needed. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -664,7 +682,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native androidSelectedTabHighlightColor: Color; ``` -Defined in: [ui/tab-view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L148) +Defined in: [ui/tab-view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L148) Gets or sets the color of the horizontal line drawn below the currently selected tab on Android. @@ -678,7 +696,7 @@ Gets or sets the color of the horizontal line drawn below the currently selected androidSwipeEnabled: boolean; ``` -Defined in: [ui/tab-view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L204) +Defined in: [ui/tab-view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L204) Gets or sets a value indicating whether swipe gesture is enabled for Android. @@ -692,7 +710,7 @@ Gets or sets a value indicating whether swipe gesture is enabled for Android. androidTabsPosition: "top" | "bottom"; ``` -Defined in: [ui/tab-view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L197) +Defined in: [ui/tab-view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L197) Gets or set the tabs vertical position. Valid values are: @@ -709,7 +727,7 @@ Valid values are: automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -725,7 +743,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -743,7 +761,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -761,7 +779,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -779,7 +797,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -797,7 +815,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -815,7 +833,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -833,7 +851,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -851,7 +869,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -869,7 +887,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -887,7 +905,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -905,7 +923,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -927,7 +945,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -945,7 +963,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -963,7 +981,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -981,7 +999,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -999,7 +1017,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1017,7 +1035,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1035,7 +1053,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1057,7 +1075,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1075,7 +1093,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1093,7 +1111,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1111,7 +1129,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1129,7 +1147,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1147,7 +1165,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1165,7 +1183,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1183,7 +1201,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1199,7 +1217,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1213,7 +1231,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1227,7 +1245,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1244,7 +1262,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1262,7 +1280,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1280,7 +1298,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1298,7 +1316,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1312,7 +1330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1326,7 +1344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1340,7 +1358,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1354,7 +1372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1362,13 +1380,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1382,7 +1414,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1396,7 +1428,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1410,7 +1442,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1424,7 +1456,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1438,7 +1470,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1446,13 +1478,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1466,7 +1526,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1474,13 +1534,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1494,7 +1568,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1508,7 +1582,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1526,7 +1600,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1544,7 +1618,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1562,7 +1636,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1580,7 +1654,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1598,7 +1672,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1616,7 +1690,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1634,7 +1708,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1652,7 +1726,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1670,7 +1744,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1686,7 +1760,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/tab-view/index.d.ts:158](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L158) +Defined in: [ui/tab-view/index.d.ts:158](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L158) Gets the native iOS [UITabBarController](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITabBarController_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1702,7 +1776,7 @@ Gets the native iOS [UITabBarController](https://developer.apple.com/library/ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1720,7 +1794,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1738,7 +1812,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1756,7 +1830,7 @@ Gets or sets the minimum accessibility font scale. iosBottomAccessory: View; ``` -Defined in: [ui/tab-view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L141) +Defined in: [ui/tab-view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L141) iOS 26+: Optional bottom accessory view that appears above the tab bar. Provide a NativeScript View instance. On platforms \< iOS 26 this is ignored. @@ -1771,7 +1845,7 @@ Provide a NativeScript View instance. On platforms \< iOS 26 this is ignored. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1789,7 +1863,7 @@ Set the iOS liquid glass effect style on the view. iosIconRenderingMode: "automatic" | "alwaysOriginal" | "alwaysTemplate"; ``` -Defined in: [ui/tab-view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L169) +Defined in: [ui/tab-view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L169) Gets or set the UIImageRenderingMode of the tab icons in iOS. Defaults to "automatic" Valid values are: @@ -1807,7 +1881,7 @@ Valid values are: iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1825,7 +1899,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1843,7 +1917,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1861,7 +1935,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTabBarMinimizeBehavior: TabBarMinimizeType; ``` -Defined in: [ui/tab-view/index.d.ts:133](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L133) +Defined in: [ui/tab-view/index.d.ts:133](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L133) Gets or sets the iOS tab bar minimize behavior (iOS 26+). @@ -1875,7 +1949,7 @@ Gets or sets the iOS tab bar minimize behavior (iOS 26+). isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1893,7 +1967,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1911,7 +1985,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1927,7 +2001,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1945,7 +2019,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi items: TabViewItem[]; ``` -Defined in: [ui/tab-view/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L91) +Defined in: [ui/tab-view/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L91) Gets or sets the items of the TabView. @@ -1959,7 +2033,7 @@ Gets or sets the items of the TabView. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1982,7 +2056,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2000,7 +2074,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2018,7 +2092,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2036,7 +2110,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2054,7 +2128,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2066,58 +2140,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2127,7 +2220,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2143,7 +2236,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2159,7 +2252,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2175,7 +2268,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2193,7 +2286,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2211,7 +2304,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2229,7 +2322,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2247,7 +2340,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2263,7 +2356,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2282,7 +2375,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2296,7 +2389,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2314,7 +2407,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2332,7 +2425,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2350,7 +2443,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2368,7 +2461,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2386,7 +2479,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2404,7 +2497,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2422,7 +2515,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2440,7 +2533,7 @@ Gets or sets the scaleY affine transform of the view. selectedIndex: number; ``` -Defined in: [ui/tab-view/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L98) +Defined in: [ui/tab-view/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L98) Gets or sets the selectedIndex of the TabView. @@ -2454,7 +2547,7 @@ Gets or sets the selectedIndex of the TabView. selectedTabTextColor: Color; ``` -Defined in: [ui/tab-view/index.d.ts:126](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L126) +Defined in: [ui/tab-view/index.d.ts:126](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L126) Gets or sets the text color of the selected tab title. @@ -2468,7 +2561,7 @@ Gets or sets the text color of the selected tab title. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2486,7 +2579,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2504,7 +2597,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2531,7 +2624,7 @@ False value will make this property have no effect. tabBackgroundColor: Color; ``` -Defined in: [ui/tab-view/index.d.ts:119](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L119) +Defined in: [ui/tab-view/index.d.ts:119](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L119) Gets or sets the background color of the tabs. @@ -2545,7 +2638,7 @@ Gets or sets the background color of the tabs. tabTextColor: Color; ``` -Defined in: [ui/tab-view/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L112) +Defined in: [ui/tab-view/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L112) Gets or sets the text color of the tabs titles. @@ -2559,7 +2652,7 @@ Gets or sets the text color of the tabs titles. tabTextFontSize: number; ``` -Defined in: [ui/tab-view/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L105) +Defined in: [ui/tab-view/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L105) Gets or sets the font size of the tabs titles. @@ -2573,7 +2666,7 @@ Gets or sets the font size of the tabs titles. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2589,7 +2682,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2609,7 +2702,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2625,7 +2718,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2641,7 +2734,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2657,7 +2750,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2675,7 +2768,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2693,7 +2786,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2711,7 +2804,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2727,7 +2820,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2745,7 +2838,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2763,7 +2856,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2781,7 +2874,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2799,7 +2892,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2819,7 +2912,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2839,7 +2932,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2859,7 +2952,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2873,7 +2966,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2887,13 +2980,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2913,7 +3028,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2933,7 +3048,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2953,7 +3068,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2973,7 +3088,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2993,7 +3108,7 @@ propertyChange static selectedIndexChangedEvent: string; ``` -Defined in: [ui/tab-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L84) +Defined in: [ui/tab-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L84) String value used when hooking to the selectedIndexChanged event. @@ -3009,7 +3124,7 @@ selectedIndexChanged static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3029,7 +3144,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3049,7 +3164,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3071,7 +3186,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3083,7 +3198,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3109,7 +3224,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3121,7 +3236,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3147,7 +3262,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3159,7 +3274,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3185,7 +3300,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3197,7 +3312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3223,7 +3338,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3235,7 +3350,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3261,7 +3376,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3273,7 +3388,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3299,7 +3414,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3311,7 +3426,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3337,7 +3452,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3349,7 +3464,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3375,7 +3490,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3395,7 +3510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3407,7 +3522,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3433,7 +3548,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3455,7 +3570,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3469,7 +3584,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3495,7 +3610,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3509,7 +3624,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3537,7 +3652,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3549,7 +3664,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3575,7 +3690,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3597,7 +3712,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3617,7 +3732,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3642,7 +3757,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3669,7 +3784,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3703,7 +3818,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3737,7 +3852,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3767,7 +3882,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3799,7 +3914,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3823,7 +3938,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3847,7 +3962,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3875,7 +3990,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3895,7 +4010,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3919,7 +4034,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3943,7 +4058,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3955,13 +4070,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3982,7 +4119,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4011,7 +4148,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4037,7 +4174,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4063,7 +4200,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4088,7 +4225,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4112,7 +4249,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4136,7 +4273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4157,7 +4294,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4183,7 +4320,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4203,7 +4340,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4223,7 +4360,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4243,7 +4380,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4263,7 +4400,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4287,7 +4424,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4305,7 +4442,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4323,7 +4460,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4341,7 +4478,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4367,7 +4504,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4393,7 +4530,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4419,7 +4556,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4443,7 +4580,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4467,7 +4604,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4494,7 +4631,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4523,7 +4660,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4550,7 +4687,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4571,7 +4708,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4596,7 +4733,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4620,7 +4757,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4650,7 +4787,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4678,7 +4815,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4704,7 +4841,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4728,7 +4865,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4757,7 +4894,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4785,7 +4922,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4811,7 +4948,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4836,7 +4973,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4854,7 +4991,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4872,7 +5009,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4898,7 +5035,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4924,7 +5061,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4945,7 +5082,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4973,7 +5110,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5003,7 +5140,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5023,7 +5160,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5049,7 +5186,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5075,7 +5212,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5097,7 +5234,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5118,7 +5255,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5144,7 +5281,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5164,7 +5301,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5184,7 +5321,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5202,7 +5339,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5226,7 +5363,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5246,7 +5383,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5266,7 +5403,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5292,7 +5429,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5312,7 +5449,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5330,7 +5467,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5344,13 +5481,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5370,7 +5532,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5402,7 +5564,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5434,7 +5596,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5454,7 +5616,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5480,7 +5642,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5505,7 +5667,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5541,7 +5703,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5570,7 +5732,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5596,7 +5758,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5624,7 +5786,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5661,7 +5823,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5692,7 +5854,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5725,7 +5887,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/tab-view/index.d.ts:216](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L216) +Defined in: [ui/tab-view/index.d.ts:216](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L216) Adds a listener for the specified event name. @@ -5754,7 +5916,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/tab-view/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L221) +Defined in: [ui/tab-view/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L221) Raised when the selected index changes. @@ -5782,7 +5944,7 @@ Raised when the selected index changes. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5805,7 +5967,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5838,7 +6000,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5867,7 +6029,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5885,7 +6047,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5913,7 +6075,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5931,7 +6093,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5952,7 +6114,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5980,7 +6142,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6000,7 +6162,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6020,7 +6182,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6058,7 +6220,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6085,7 +6247,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6110,7 +6272,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6134,7 +6296,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6161,7 +6323,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6189,7 +6351,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6209,7 +6371,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6236,7 +6398,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6262,7 +6424,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6282,7 +6444,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6306,7 +6468,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6332,7 +6494,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6360,7 +6522,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6392,7 +6554,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6423,7 +6585,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6461,7 +6623,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6510,7 +6672,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6545,7 +6707,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6580,7 +6742,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6614,7 +6776,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6649,7 +6811,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TabViewItem.md b/content/api/classes/TabViewItem.md index 134f7275..be5c23a4 100644 --- a/content/api/classes/TabViewItem.md +++ b/content/api/classes/TabViewItem.md @@ -5,7 +5,7 @@ description: Represents a tab view entry. contributors: false --- -Defined in: [ui/tab-view/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L18) +Defined in: [ui/tab-view/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L18) Represents a tab view entry. @@ -25,7 +25,7 @@ TabViewItem new TabViewItem(): TabViewItem; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -99,7 +99,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -113,7 +113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -127,7 +127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -141,7 +141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -155,7 +155,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -169,7 +169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -183,7 +183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -197,7 +197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -211,7 +211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -225,7 +225,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -239,7 +239,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -253,7 +253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -267,7 +267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -281,7 +281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -301,7 +301,7 @@ as well as adding/rmoving the view to/from the visual tree. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -319,7 +319,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -335,7 +335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -353,7 +353,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -371,7 +371,7 @@ The column for the element. The columns are 0-indexed, so the first column is in colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -389,7 +389,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -407,7 +407,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -423,7 +423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -437,7 +437,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -451,7 +451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -469,7 +469,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -487,7 +487,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -501,7 +501,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -515,7 +515,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -529,7 +529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -543,7 +543,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -551,13 +551,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveColumnGap`](ViewBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -571,7 +585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -585,7 +599,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -599,7 +613,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -613,7 +627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -627,7 +641,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -635,13 +649,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxHeight`](ViewBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveMaxWidth`](ViewBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -655,7 +697,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -663,13 +705,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`effectiveRowGap`](ViewBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -683,7 +739,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -697,7 +753,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -715,7 +771,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -733,7 +789,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -751,7 +807,7 @@ When true, forces the item to wrap onto a new line. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -769,7 +825,7 @@ Gets or sets the visual state of the view. iconSource: string; ``` -Defined in: [ui/tab-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L38) +Defined in: [ui/tab-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L38) Gets or sets the icon source of the TabViewItem. This could either be a a file name or resource id. @@ -783,7 +839,7 @@ Gets or sets the icon source of the TabViewItem. This could either be a a file n id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -801,7 +857,7 @@ Gets or sets the id for this view. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -819,7 +875,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -831,32 +887,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`ViewBase`](ViewBase.md).[`mIsRootView`](ViewBase.md#misrootview) - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -872,7 +909,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -890,7 +927,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -906,7 +943,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -920,7 +957,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -938,7 +975,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr role: string; ``` -Defined in: [ui/tab-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L43) +Defined in: [ui/tab-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L43) Gets or sets the role of the TabViewItem. @@ -950,7 +987,7 @@ Gets or sets the role of the TabViewItem. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -968,7 +1005,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -986,7 +1023,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -1004,7 +1041,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -1022,7 +1059,7 @@ Gets or sets the shared transition tag for animated view transitions textTransform: TextTransformType; ``` -Defined in: [ui/tab-view/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L50) +Defined in: [ui/tab-view/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L50) Gets or sets the text transform of the tab titles. @@ -1036,7 +1073,7 @@ Gets or sets the text transform of the tab titles. title: string; ``` -Defined in: [ui/tab-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L24) +Defined in: [ui/tab-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L24) Gets or sets the title of the TabViewItem. @@ -1050,7 +1087,7 @@ Gets or sets the title of the TabViewItem. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -1068,7 +1105,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the view: View; ``` -Defined in: [ui/tab-view/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/tab-view/index.d.ts#L31) +Defined in: [ui/tab-view/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/tab-view/index.d.ts#L31) Gets or sets the view of the TabViewItem. @@ -1082,7 +1119,7 @@ Gets or sets the view of the TabViewItem. viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -1098,7 +1135,7 @@ returns the native UIViewController. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -1118,7 +1155,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -1138,7 +1175,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -1158,7 +1195,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -1178,7 +1215,7 @@ propertyChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -1200,7 +1237,7 @@ unloaded get android(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1220,7 +1257,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1232,7 +1269,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1250,6 +1287,46 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +#### Inherited from + +[`ViewBase`](ViewBase.md).[`cssType`](ViewBase.md#csstype) + +*** + ### effectivePaddingBottom #### Get Signature @@ -1258,7 +1335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1270,7 +1347,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1296,7 +1373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1308,7 +1385,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1334,7 +1411,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1346,7 +1423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1372,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1384,7 +1461,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1410,7 +1487,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1430,7 +1507,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1450,7 +1527,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1462,7 +1539,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1488,7 +1565,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1510,7 +1587,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1524,7 +1601,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1550,7 +1627,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1564,7 +1641,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1592,7 +1669,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1614,7 +1691,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1634,7 +1711,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1659,7 +1736,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1686,7 +1763,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1714,7 +1791,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1738,7 +1815,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1768,7 +1845,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1800,7 +1877,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1827,7 +1904,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1855,7 +1932,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1875,7 +1952,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1899,7 +1976,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1927,7 +2004,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1951,7 +2028,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1975,7 +2052,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -1993,7 +2070,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2013,7 +2090,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2037,7 +2114,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -2063,7 +2140,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2089,7 +2166,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -2115,7 +2192,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2139,7 +2216,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2163,7 +2240,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2187,7 +2264,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2214,7 +2291,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2243,7 +2320,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -2264,7 +2341,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2288,7 +2365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -2319,7 +2396,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2348,7 +2425,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2376,7 +2453,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2401,7 +2478,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2419,7 +2496,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2437,7 +2514,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -2463,7 +2540,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -2484,7 +2561,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2512,7 +2589,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2542,7 +2619,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2562,7 +2639,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2588,7 +2665,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2610,7 +2687,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2636,7 +2713,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2654,7 +2731,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2686,7 +2763,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2718,7 +2795,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2744,7 +2821,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2764,7 +2841,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2790,7 +2867,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2827,7 +2904,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2858,7 +2935,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2889,7 +2966,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2920,7 +2997,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -2949,7 +3026,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2967,7 +3044,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2985,7 +3062,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3006,7 +3083,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -3034,7 +3111,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -3054,7 +3131,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -3074,7 +3151,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -3101,7 +3178,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3125,7 +3202,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -3153,7 +3230,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -3182,7 +3259,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -3207,7 +3284,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -3234,7 +3311,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -3254,7 +3331,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3278,7 +3355,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -3308,7 +3385,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3343,7 +3420,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3378,7 +3455,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3413,7 +3490,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -3447,7 +3524,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/TextBase.md b/content/api/classes/TextBase.md index d42f6bfa..a087c7f1 100644 --- a/content/api/classes/TextBase.md +++ b/content/api/classes/TextBase.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/text-base/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L14) +Defined in: [ui/text-base/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L14) ## Ns View @@ -32,7 +32,7 @@ TextBase new TextBase(): TextBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -50,7 +50,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -66,7 +66,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -94,7 +94,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -122,7 +122,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -150,7 +150,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -164,7 +164,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -178,7 +178,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -206,7 +206,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -220,7 +220,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -234,7 +234,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -242,13 +242,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -262,7 +280,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -276,7 +294,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -290,7 +308,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -304,7 +322,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -318,7 +336,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -338,7 +356,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -356,7 +374,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -374,7 +392,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -394,7 +412,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -410,7 +428,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -428,7 +446,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -447,7 +465,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -465,7 +483,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -483,7 +501,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -501,7 +519,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -519,7 +537,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -537,7 +555,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -555,7 +573,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -573,7 +591,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -589,7 +607,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -607,7 +625,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -625,7 +643,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -639,7 +657,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -655,7 +673,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -673,7 +691,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -691,7 +709,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -709,7 +727,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -727,7 +745,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -745,7 +763,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -763,7 +781,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -781,7 +799,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -799,7 +817,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -817,7 +835,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -835,7 +853,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -857,7 +875,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -875,7 +893,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -893,7 +911,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -911,7 +929,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -929,7 +947,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -947,7 +965,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -965,7 +983,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -987,7 +1005,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1005,7 +1023,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1023,7 +1041,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1041,7 +1059,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1059,7 +1077,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1077,7 +1095,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1095,7 +1113,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1113,7 +1131,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1129,7 +1147,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1143,7 +1161,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1157,7 +1175,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1174,7 +1192,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1192,7 +1210,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1210,7 +1228,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1228,7 +1246,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1242,7 +1260,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1256,7 +1274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1270,7 +1288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1284,7 +1302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1292,13 +1310,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1312,7 +1344,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1326,7 +1358,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1340,7 +1372,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1354,7 +1386,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1368,7 +1400,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1376,13 +1408,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1396,7 +1456,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1404,13 +1464,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1424,7 +1498,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1438,7 +1512,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1456,7 +1530,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1474,7 +1548,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1492,7 +1566,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1510,7 +1584,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1528,7 +1602,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1542,7 +1616,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1556,7 +1630,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1570,7 +1644,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1584,7 +1658,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1598,7 +1672,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1616,7 +1690,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1634,7 +1708,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1652,7 +1726,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1670,7 +1744,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1686,7 +1760,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1702,7 +1776,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1720,7 +1794,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1738,7 +1812,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1756,7 +1830,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1774,7 +1848,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1792,7 +1866,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1810,7 +1884,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1828,7 +1902,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1842,7 +1916,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1860,7 +1934,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1878,7 +1952,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1894,7 +1968,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1912,7 +1986,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1930,7 +2004,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -1944,7 +2018,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -1963,7 +2037,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1981,7 +2055,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1999,7 +2073,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2017,7 +2091,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2035,7 +2109,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2047,13 +2121,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxHeight`](View.md#maxheight) + +*** + ### maxLines ```ts maxLines: number; ``` -Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L132) +Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L132) Gets or sets white space style property. @@ -2061,58 +2154,58 @@ Gets or sets white space style property. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`minHeight`](View.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2122,7 +2215,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2138,7 +2231,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2154,7 +2247,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2167,7 +2260,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2183,7 +2276,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2201,7 +2294,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2219,7 +2312,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2237,7 +2330,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2259,7 +2352,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2273,7 +2366,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2287,7 +2380,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2301,7 +2394,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2315,7 +2408,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2329,7 +2422,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2345,7 +2438,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2364,7 +2457,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2378,7 +2471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2396,7 +2489,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2414,7 +2507,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2432,7 +2525,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2450,7 +2543,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2468,7 +2561,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2486,7 +2579,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2504,7 +2597,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2522,7 +2615,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2540,7 +2633,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2558,7 +2651,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2585,7 +2678,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2601,7 +2694,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2615,7 +2708,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2629,7 +2722,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2643,7 +2736,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2657,7 +2750,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2671,7 +2764,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2685,7 +2778,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2703,7 +2796,7 @@ Gets or sets text transform style property. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2723,7 +2816,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2739,7 +2832,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2755,7 +2848,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2771,7 +2864,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2789,7 +2882,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2807,7 +2900,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2825,7 +2918,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2841,7 +2934,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2859,7 +2952,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2877,7 +2970,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2895,7 +2988,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -2909,7 +3002,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2927,7 +3020,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2947,7 +3040,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2967,7 +3060,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2987,7 +3080,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3001,7 +3094,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3015,13 +3108,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3041,7 +3156,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3061,7 +3176,7 @@ disposeNativeView static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3073,7 +3188,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3093,7 +3208,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3113,7 +3228,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3133,7 +3248,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3153,7 +3268,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3173,7 +3288,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3195,7 +3310,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3207,7 +3322,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3233,7 +3348,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3245,7 +3360,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3271,7 +3386,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3283,7 +3398,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3309,7 +3424,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3321,7 +3436,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3347,7 +3462,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3359,7 +3474,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3385,7 +3500,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3397,7 +3512,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3423,7 +3538,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3435,7 +3550,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3461,7 +3576,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3473,7 +3588,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3499,7 +3614,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3519,7 +3634,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3531,7 +3646,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3557,7 +3672,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3579,7 +3694,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3593,7 +3708,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3619,7 +3734,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3633,7 +3748,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3661,7 +3776,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3683,7 +3798,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3703,7 +3818,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3728,7 +3843,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3755,7 +3870,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3789,7 +3904,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3823,7 +3938,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3853,7 +3968,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3885,7 +4000,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3909,7 +4024,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3933,7 +4048,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3961,7 +4076,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3981,7 +4096,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4005,7 +4120,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4029,7 +4144,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4041,13 +4156,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4068,7 +4205,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4097,7 +4234,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4123,7 +4260,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4149,7 +4286,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4174,7 +4311,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4198,7 +4335,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4222,7 +4359,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4243,7 +4380,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4269,7 +4406,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4289,7 +4426,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4309,7 +4446,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4329,7 +4466,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4349,7 +4486,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4373,7 +4510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4391,7 +4528,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4409,7 +4546,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4427,7 +4564,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4453,7 +4590,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4479,7 +4616,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4505,7 +4642,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4529,7 +4666,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4553,7 +4690,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4580,7 +4717,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4609,7 +4746,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4636,7 +4773,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4657,7 +4794,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4682,7 +4819,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4706,7 +4843,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4736,7 +4873,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4764,7 +4901,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4790,7 +4927,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4814,7 +4951,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4843,7 +4980,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4871,7 +5008,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4897,7 +5034,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4922,7 +5059,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4940,7 +5077,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4958,7 +5095,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4984,7 +5121,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5010,7 +5147,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5031,7 +5168,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5059,7 +5196,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5089,7 +5226,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5109,7 +5246,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5135,7 +5272,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5161,7 +5298,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5183,7 +5320,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5204,7 +5341,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5230,7 +5367,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5250,7 +5387,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5270,7 +5407,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5288,7 +5425,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5312,7 +5449,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5332,7 +5469,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5352,7 +5489,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5378,7 +5515,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5398,7 +5535,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5416,7 +5553,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5430,13 +5567,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5456,7 +5618,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5488,7 +5650,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5520,7 +5682,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5540,7 +5702,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5566,7 +5728,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5591,7 +5753,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5627,7 +5789,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5656,7 +5818,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5682,7 +5844,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5710,7 +5872,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5747,7 +5909,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5778,7 +5940,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5811,7 +5973,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5840,7 +6002,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5869,7 +6031,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5898,7 +6060,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5928,7 +6090,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5957,7 +6119,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5986,7 +6148,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6014,7 +6176,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6037,7 +6199,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6070,7 +6232,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6099,7 +6261,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6117,7 +6279,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6145,7 +6307,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6163,7 +6325,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6184,7 +6346,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6212,7 +6374,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6232,7 +6394,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6252,7 +6414,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6290,7 +6452,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6317,7 +6479,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6342,7 +6504,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6366,7 +6528,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6393,7 +6555,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6421,7 +6583,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6441,7 +6603,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6468,7 +6630,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6494,7 +6656,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6514,7 +6676,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6538,7 +6700,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6564,7 +6726,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6592,7 +6754,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6624,7 +6786,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6655,7 +6817,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6693,7 +6855,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6742,7 +6904,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6777,7 +6939,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6812,7 +6974,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6846,7 +7008,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6881,7 +7043,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TextField.md b/content/api/classes/TextField.md index 9b1dce70..5e0d5b15 100644 --- a/content/api/classes/TextField.md +++ b/content/api/classes/TextField.md @@ -5,7 +5,7 @@ description: Represents an editable text field. contributors: false --- -Defined in: [ui/text-field/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L11) +Defined in: [ui/text-field/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L11) Represents an editable text field. @@ -25,7 +25,7 @@ TextField new TextField(): TextField; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`_nativeWindow`](EditableTextBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/text-field/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L22) +Defined in: [ui/text-field/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L22) Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native autocapitalizationType: AutocapitalizationInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L59) +Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L59) Gets or sets the autocapitalization type. @@ -650,7 +668,7 @@ Gets or sets the autocapitalization type. autocorrect: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L80) +Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L80) Enables or disables autocorrection. @@ -668,7 +686,7 @@ Enables or disables autocorrection. autofillType: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L66) +Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L66) Gets or sets the autofill type. @@ -686,7 +704,7 @@ Gets or sets the autofill type. automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -702,7 +720,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -720,7 +738,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -738,7 +756,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -756,7 +774,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -774,7 +792,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -810,7 +828,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -828,7 +846,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -846,7 +864,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -864,7 +882,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -882,7 +900,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -904,7 +922,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -922,7 +940,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -940,7 +958,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -958,7 +976,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -976,7 +994,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -994,7 +1012,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1012,7 +1030,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1034,7 +1052,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1052,7 +1070,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1070,7 +1088,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1088,7 +1106,7 @@ Gets or sets the CSS class name for this view. closeOnReturn: boolean; ``` -Defined in: [ui/text-field/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L41) +Defined in: [ui/text-field/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L41) Gets or sets if a text field should dismiss on return. @@ -1102,7 +1120,7 @@ Gets or sets if a text field should dismiss on return. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1120,7 +1138,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1138,7 +1156,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1156,7 +1174,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1174,7 +1192,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1190,7 +1208,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1204,7 +1222,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1218,7 +1236,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1235,7 +1253,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1253,7 +1271,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1271,7 +1289,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1289,7 +1307,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1303,7 +1321,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS editable: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L73) +Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L73) Gets or sets whether the instance is editable. @@ -1321,7 +1339,7 @@ Gets or sets whether the instance is editable. effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1335,7 +1353,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1349,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1363,7 +1381,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1371,13 +1389,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveColumnGap`](EditableTextBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,7 +1423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1405,7 +1437,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1419,7 +1451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1433,7 +1465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1447,7 +1479,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1455,13 +1487,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveMaxHeight`](EditableTextBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveMaxWidth`](EditableTextBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1475,7 +1535,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1483,13 +1543,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveRowGap`](EditableTextBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1503,7 +1577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1517,7 +1591,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1535,7 +1609,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1553,7 +1627,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1571,7 +1645,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1589,7 +1663,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1607,7 +1681,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1625,7 +1699,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1643,7 +1717,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1661,7 +1735,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1679,7 +1753,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1697,7 +1771,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1715,7 +1789,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1733,7 +1807,7 @@ Gets or sets the visual state of the view. hint: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L87) +Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L87) Gets or sets the placeholder text. @@ -1751,7 +1825,7 @@ Gets or sets the placeholder text. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1769,7 +1843,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1787,7 +1861,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1803,7 +1877,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/text-field/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L27) +Defined in: [ui/text-field/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L27) Gets the native iOS [UITextField](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1819,7 +1893,7 @@ Gets the native iOS [UITextField](https://developer.apple.com/library/ios/docume iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1837,7 +1911,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1855,7 +1929,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1873,7 +1947,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1891,7 +1965,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1909,7 +1983,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1927,7 +2001,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1945,7 +2019,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1963,7 +2037,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1981,7 +2055,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1999,7 +2073,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2015,7 +2089,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2033,7 +2107,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi keyboardType: KeyboardInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L38) +Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L38) Gets or sets the soft keyboard type. @@ -2051,7 +2125,7 @@ Gets or sets the soft keyboard type. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2069,7 +2143,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -2087,7 +2161,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -2110,7 +2184,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2128,7 +2202,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2146,7 +2220,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2164,7 +2238,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2182,7 +2256,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2194,13 +2268,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`maxHeight`](EditableTextBase.md#maxheight) + +*** + ### maxLength ```ts maxLength: number; ``` -Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L94) +Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L94) Limits input to a certain number of characters. @@ -2218,7 +2311,7 @@ Limits input to a certain number of characters. maxLines: number; ``` -Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L132) +Defined in: [ui/text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L132) Gets or sets white space style property. @@ -2230,58 +2323,58 @@ Gets or sets white space style property. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`minHeight`](EditableTextBase.md#minheight) +[`EditableTextBase`](EditableTextBase.md).[`maxWidth`](EditableTextBase.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`minWidth`](EditableTextBase.md#minwidth) +[`EditableTextBase`](EditableTextBase.md).[`minHeight`](EditableTextBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`mIsRootView`](EditableTextBase.md#misrootview) +[`EditableTextBase`](EditableTextBase.md).[`minWidth`](EditableTextBase.md#minwidth) *** @@ -2291,7 +2384,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2307,7 +2400,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2323,7 +2416,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2340,7 +2433,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2356,7 +2449,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2374,7 +2467,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2392,7 +2485,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2410,7 +2503,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2432,7 +2525,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2450,7 +2543,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2468,7 +2561,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2486,7 +2579,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2504,7 +2597,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2522,7 +2615,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2538,7 +2631,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2557,7 +2650,7 @@ Usually needed when rotating the view over the X or Y axis. placeholderColor: Color; ``` -Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L101) +Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L101) Gets or sets the color of the placeholder text @@ -2575,7 +2668,7 @@ Gets or sets the color of the placeholder text recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2589,7 +2682,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS returnKeyType: ReturnKeyButtonType; ``` -Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L45) +Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L45) Gets or sets the soft keyboard return key flavor. @@ -2607,7 +2700,7 @@ Gets or sets the soft keyboard return key flavor. reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2625,7 +2718,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2643,7 +2736,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2661,7 +2754,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2679,7 +2772,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2697,7 +2790,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2715,7 +2808,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2733,7 +2826,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2751,7 +2844,7 @@ Gets or sets the scaleY affine transform of the view. secure: boolean; ``` -Defined in: [ui/text-field/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L34) +Defined in: [ui/text-field/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L34) Gets or sets if a text field is for password entry. @@ -2765,7 +2858,7 @@ Gets or sets if a text field is for password entry. secureWithoutAutofill: boolean; ``` -Defined in: [ui/text-field/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L48) +Defined in: [ui/text-field/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L48) iOS only (to avoid 12+ auto suggested strong password handling) @@ -2779,7 +2872,7 @@ iOS only (to avoid 12+ auto suggested strong password handling) sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2797,7 +2890,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2815,7 +2908,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2842,7 +2935,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2858,7 +2951,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2876,7 +2969,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2894,7 +2987,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2912,7 +3005,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2930,7 +3023,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2948,7 +3041,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2966,7 +3059,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2984,7 +3077,7 @@ Gets or sets text transform style property. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -3004,7 +3097,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -3020,7 +3113,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -3036,7 +3129,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -3052,7 +3145,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -3070,7 +3163,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -3088,7 +3181,7 @@ Gets or sets the translateY affine transform of the view in device independent p updateTextTrigger: UpdateTextTriggerType; ``` -Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L52) +Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L52) Gets or sets a value indicating when the text property will be updated. @@ -3106,7 +3199,7 @@ Gets or sets a value indicating when the text property will be updated. valueFormatter: (value: string) => string; ``` -Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L107) +Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L107) Format input values Note: useful for input masking/formatting @@ -3133,7 +3226,7 @@ Note: useful for input masking/formatting verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -3151,7 +3244,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -3167,7 +3260,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3185,7 +3278,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3203,7 +3296,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3221,7 +3314,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -3239,7 +3332,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3257,7 +3350,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3277,7 +3370,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3297,7 +3390,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3317,7 +3410,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3331,7 +3424,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3351,7 +3444,7 @@ androidOverflowInset static blurEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L19) +Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L19) String value used when hooking to the blur event. @@ -3365,13 +3458,35 @@ blurEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`closedModallyEvent`](EditableTextBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3391,7 +3506,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3411,7 +3526,7 @@ disposeNativeView static focusEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L25) +Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L25) String value used when hooking to the focus event. @@ -3431,7 +3546,7 @@ focusEvent static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3447,7 +3562,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3467,7 +3582,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3487,7 +3602,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3507,7 +3622,7 @@ propertyChange static returnPressEvent: string; ``` -Defined in: [ui/text-field/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L17) +Defined in: [ui/text-field/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L17) String value used when hooking to the returnPress event. @@ -3523,7 +3638,7 @@ returnPress static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3543,7 +3658,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3563,7 +3678,7 @@ shownModally static textChangeEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L31) +Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L31) String value used when hooking to the textChange event. @@ -3583,7 +3698,7 @@ textChangeEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3605,7 +3720,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3617,7 +3732,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3643,7 +3758,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3655,7 +3770,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3681,7 +3796,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3693,7 +3808,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3719,7 +3834,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3731,7 +3846,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3757,7 +3872,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3769,7 +3884,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3795,7 +3910,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3807,7 +3922,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3833,7 +3948,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3845,7 +3960,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3871,7 +3986,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3883,7 +3998,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3909,7 +4024,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3929,7 +4044,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3941,7 +4056,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3967,7 +4082,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3989,7 +4104,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -4003,7 +4118,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -4029,7 +4144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -4043,7 +4158,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -4071,7 +4186,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -4093,7 +4208,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -4113,7 +4228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4138,7 +4253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4165,7 +4280,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4199,7 +4314,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4233,7 +4348,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4263,7 +4378,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4295,7 +4410,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4319,7 +4434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4343,7 +4458,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4371,7 +4486,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4391,7 +4506,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4415,7 +4530,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4439,7 +4554,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4451,13 +4566,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`_getRootModalHost`](EditableTextBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4478,7 +4615,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4507,7 +4644,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4533,7 +4670,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4559,7 +4696,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4584,7 +4721,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4608,7 +4745,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4632,7 +4769,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4653,7 +4790,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4679,7 +4816,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4699,7 +4836,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4719,7 +4856,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4739,7 +4876,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4759,7 +4896,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4783,7 +4920,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4801,7 +4938,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4819,7 +4956,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4837,7 +4974,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4863,7 +5000,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4889,7 +5026,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4915,7 +5052,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4939,7 +5076,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4963,7 +5100,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4990,7 +5127,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5019,7 +5156,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -5046,7 +5183,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -5067,7 +5204,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5092,7 +5229,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5116,7 +5253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5143,7 +5280,7 @@ This method should *not* be overridden by derived views. optional _updateAttributedPlaceholder(): void; ``` -Defined in: [ui/text-field/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-field/index.d.ts#L53) +Defined in: [ui/text-field/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-field/index.d.ts#L53) iOS only update placeholder attributed text style @@ -5162,7 +5299,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5190,7 +5327,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5216,7 +5353,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5240,7 +5377,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5269,7 +5406,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5297,7 +5434,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5323,7 +5460,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5348,7 +5485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5366,7 +5503,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5384,7 +5521,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5410,7 +5547,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5436,7 +5573,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5457,7 +5594,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5485,7 +5622,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5515,7 +5652,7 @@ _tearDownUI dismissSoftInput(): void; ``` -Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L112) +Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L112) Hides the soft input method, ususally a soft keyboard. @@ -5535,7 +5672,7 @@ Hides the soft input method, ususally a soft keyboard. disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5555,7 +5692,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5581,7 +5718,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5607,7 +5744,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5629,7 +5766,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5650,7 +5787,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5676,7 +5813,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5696,7 +5833,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5716,7 +5853,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5734,7 +5871,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5758,7 +5895,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5778,7 +5915,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5798,7 +5935,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5824,7 +5961,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5844,7 +5981,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5862,7 +5999,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5876,13 +6013,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`getNativeWindow`](EditableTextBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5902,7 +6064,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5934,7 +6096,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5966,7 +6128,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5986,7 +6148,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -6012,7 +6174,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6037,7 +6199,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6073,7 +6235,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6102,7 +6264,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6128,7 +6290,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6156,7 +6318,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6193,7 +6355,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6224,7 +6386,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6257,7 +6419,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6286,7 +6448,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6315,7 +6477,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6344,7 +6506,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6374,7 +6536,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6403,7 +6565,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6432,7 +6594,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6460,7 +6622,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6483,7 +6645,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6516,7 +6678,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6545,7 +6707,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6563,7 +6725,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6591,7 +6753,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6609,7 +6771,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6630,7 +6792,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6658,7 +6820,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6678,7 +6840,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6698,7 +6860,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6736,7 +6898,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6763,7 +6925,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6788,7 +6950,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6812,7 +6974,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6839,7 +7001,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6867,7 +7029,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6887,7 +7049,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6914,7 +7076,7 @@ Updates the specified property with the provided value and raises a property cha setSelection(start: number, stop?: number): any; ``` -Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L124) +Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L124) Set the selection anchor to start and the selection edge to stop @@ -6941,7 +7103,7 @@ Set the selection anchor to start and the selection edge to stop showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6967,7 +7129,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6987,7 +7149,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -7011,7 +7173,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7037,7 +7199,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7065,7 +7227,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7097,7 +7259,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7128,7 +7290,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7166,7 +7328,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7215,7 +7377,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7250,7 +7412,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7285,7 +7447,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7319,7 +7481,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7354,7 +7516,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TextView.md b/content/api/classes/TextView.md index 25adcd6f..a6feecd9 100644 --- a/content/api/classes/TextView.md +++ b/content/api/classes/TextView.md @@ -5,7 +5,7 @@ description: Represents an editable multiline text view. contributors: false --- -Defined in: [ui/text-view/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L10) +Defined in: [ui/text-view/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L10) Represents an editable multiline text view. @@ -25,7 +25,7 @@ TextView new TextView(): TextView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`_nativeWindow`](EditableTextBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/text-view/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L21) +Defined in: [ui/text-view/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L21) Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native autocapitalizationType: AutocapitalizationInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L59) +Defined in: [ui/editable-text-base/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L59) Gets or sets the autocapitalization type. @@ -650,7 +668,7 @@ Gets or sets the autocapitalization type. autocorrect: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L80) +Defined in: [ui/editable-text-base/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L80) Enables or disables autocorrection. @@ -668,7 +686,7 @@ Enables or disables autocorrection. autofillType: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L66) +Defined in: [ui/editable-text-base/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L66) Gets or sets the autofill type. @@ -686,7 +704,7 @@ Gets or sets the autofill type. automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -702,7 +720,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -720,7 +738,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -738,7 +756,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -756,7 +774,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -774,7 +792,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -810,7 +828,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -828,7 +846,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -846,7 +864,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -864,7 +882,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -882,7 +900,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -904,7 +922,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -922,7 +940,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -940,7 +958,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -958,7 +976,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -976,7 +994,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -994,7 +1012,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1012,7 +1030,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1034,7 +1052,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1052,7 +1070,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1070,7 +1088,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1088,7 +1106,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1124,7 +1142,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1142,7 +1160,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1160,7 +1178,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1176,7 +1194,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1190,7 +1208,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1204,7 +1222,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1221,7 +1239,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1239,7 +1257,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1257,7 +1275,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1275,7 +1293,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1289,7 +1307,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS editable: boolean; ``` -Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L73) +Defined in: [ui/editable-text-base/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L73) Gets or sets whether the instance is editable. @@ -1307,7 +1325,7 @@ Gets or sets whether the instance is editable. effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1321,7 +1339,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1335,7 +1353,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1349,7 +1367,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1357,13 +1375,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveColumnGap`](EditableTextBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1377,7 +1409,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1391,7 +1423,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1405,7 +1437,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1419,7 +1451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1433,7 +1465,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1441,13 +1473,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveMaxHeight`](EditableTextBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveMaxWidth`](EditableTextBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1461,7 +1521,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1469,13 +1529,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`effectiveRowGap`](EditableTextBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1489,7 +1563,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1503,7 +1577,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS enableWritingToolsEvents: boolean; ``` -Defined in: [ui/text-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L43) +Defined in: [ui/text-view/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L43) (iOS Only) Allow Apple Intelligence writing tools to emit text changes on each alteration instead of after the final change (default). @@ -1515,7 +1589,7 @@ Defined in: [ui/text-view/index.d.ts:43](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1533,7 +1607,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1551,7 +1625,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1569,7 +1643,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1587,7 +1661,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1605,7 +1679,7 @@ When true, forces the item to wrap onto a new line. fontFamily: string; ``` -Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L40) +Defined in: [ui/text-base/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L40) Gets or sets font-family style property. @@ -1623,7 +1697,7 @@ Gets or sets font-family style property. fontSize: number; ``` -Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L47) +Defined in: [ui/text-base/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L47) Gets or sets font-size style property. @@ -1641,7 +1715,7 @@ Gets or sets font-size style property. fontStyle: FontStyleType; ``` -Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L54) +Defined in: [ui/text-base/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L54) Gets or sets font-style style property. @@ -1659,7 +1733,7 @@ Gets or sets font-style style property. fontWeight: FontWeightType; ``` -Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L61) +Defined in: [ui/text-base/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L61) Gets or sets font-weight style property. @@ -1677,7 +1751,7 @@ Gets or sets font-weight style property. formattedText: FormattedString; ``` -Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L33) +Defined in: [ui/text-base/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L33) Gets or sets a formatted string. @@ -1695,7 +1769,7 @@ Gets or sets a formatted string. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1713,7 +1787,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1731,7 +1805,7 @@ Gets or sets the visual state of the view. hint: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L87) +Defined in: [ui/editable-text-base/index.d.ts:87](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L87) Gets or sets the placeholder text. @@ -1749,7 +1823,7 @@ Gets or sets the placeholder text. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1767,7 +1841,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1785,7 +1859,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1801,7 +1875,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/text-view/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L26) +Defined in: [ui/text-view/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L26) Gets the native iOS [UITextView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextView_Class/) that represents the user interface for this component. Valid only when running on iOS. @@ -1817,7 +1891,7 @@ Gets the native iOS [UITextView](https://developer.apple.com/library/ios/documen iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1835,7 +1909,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1853,7 +1927,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1871,7 +1945,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1889,7 +1963,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1907,7 +1981,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1925,7 +1999,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1943,7 +2017,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosTextAnimation: boolean | "inherit"; ``` -Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L174) +Defined in: [ui/text-base/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L174) Specify wether the native text should be applied with or without animations @@ -1961,7 +2035,7 @@ Specify wether the native text should be applied with or without animations isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1979,7 +2053,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1997,7 +2071,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2013,7 +2087,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2031,7 +2105,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi isWritingToolsActive: boolean; ``` -Defined in: [ui/text-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L38) +Defined in: [ui/text-view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L38) (iOS Only) Are Apple Intelligence writing tools active @@ -2043,7 +2117,7 @@ Defined in: [ui/text-view/index.d.ts:38](https://github.com/NativeScript/NativeS keyboardType: KeyboardInputType; ``` -Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L38) +Defined in: [ui/editable-text-base/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L38) Gets or sets the soft keyboard type. @@ -2061,7 +2135,7 @@ Gets or sets the soft keyboard type. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2079,7 +2153,7 @@ Gets or sets the distance, in pixels, between the left edge of the child and the letterSpacing: number; ``` -Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L68) +Defined in: [ui/text-base/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L68) Gets or sets letterSpace style property. @@ -2097,7 +2171,7 @@ Gets or sets letterSpace style property. lineHeight: number; ``` -Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L75) +Defined in: [ui/text-base/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L75) Gets or sets lineHeight style property. @@ -2120,7 +2194,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2138,7 +2212,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2156,7 +2230,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2174,7 +2248,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2192,7 +2266,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2204,13 +2278,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`maxHeight`](EditableTextBase.md#maxheight) + +*** + ### maxLength ```ts maxLength: number; ``` -Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L94) +Defined in: [ui/editable-text-base/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L94) Limits input to a certain number of characters. @@ -2228,7 +2321,7 @@ Limits input to a certain number of characters. maxLines: number; ``` -Defined in: [ui/text-view/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L33) +Defined in: [ui/text-view/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L33) Limits input to a certain number of lines. @@ -2240,58 +2333,58 @@ Limits input to a certain number of lines. *** -### minHeight +### maxWidth ```ts -minHeight: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`minHeight`](EditableTextBase.md#minheight) +[`EditableTextBase`](EditableTextBase.md).[`maxWidth`](EditableTextBase.md#maxwidth) *** -### minWidth +### minHeight ```ts -minWidth: LengthType; +minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -Gets or sets the minimum width the view may grow to. +Gets or sets the minimum height the view may grow to. #### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`minWidth`](EditableTextBase.md#minwidth) +[`EditableTextBase`](EditableTextBase.md).[`minHeight`](EditableTextBase.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`EditableTextBase`](EditableTextBase.md).[`mIsRootView`](EditableTextBase.md#misrootview) +[`EditableTextBase`](EditableTextBase.md).[`minWidth`](EditableTextBase.md#minwidth) *** @@ -2301,7 +2394,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2317,7 +2410,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2333,7 +2426,7 @@ Native background states. This is a read-only property. readonly nativeTextViewProtected: any; ``` -Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L19) +Defined in: [ui/text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L19) Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions @@ -2350,7 +2443,7 @@ So we need a different getter for the layout and text functions nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2366,7 +2459,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2384,7 +2477,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2402,7 +2495,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2420,7 +2513,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2442,7 +2535,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L139) +Defined in: [ui/text-base/index.d.ts:139](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L139) Gets or sets padding style property. @@ -2460,7 +2553,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L146) +Defined in: [ui/text-base/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L146) Specify the bottom padding of this layout. @@ -2478,7 +2571,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L153) +Defined in: [ui/text-base/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L153) Specify the left padding of this layout. @@ -2496,7 +2589,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L160) +Defined in: [ui/text-base/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L160) Specify the right padding of this layout. @@ -2514,7 +2607,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L167) +Defined in: [ui/text-base/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L167) Specify the top padding of this layout. @@ -2532,7 +2625,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2548,7 +2641,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2567,7 +2660,7 @@ Usually needed when rotating the view over the X or Y axis. placeholderColor: Color; ``` -Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L101) +Defined in: [ui/editable-text-base/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L101) Gets or sets the color of the placeholder text @@ -2585,7 +2678,7 @@ Gets or sets the color of the placeholder text recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2599,7 +2692,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS returnKeyType: ReturnKeyButtonType; ``` -Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L45) +Defined in: [ui/editable-text-base/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L45) Gets or sets the soft keyboard return key flavor. @@ -2617,7 +2710,7 @@ Gets or sets the soft keyboard return key flavor. reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2635,7 +2728,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2653,7 +2746,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2671,7 +2764,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2689,7 +2782,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2707,7 +2800,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2725,7 +2818,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2743,7 +2836,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2761,7 +2854,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2779,7 +2872,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2797,7 +2890,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2824,7 +2917,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2840,7 +2933,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native text: string; ``` -Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L26) +Defined in: [ui/text-base/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L26) Gets or sets the text. @@ -2858,7 +2951,7 @@ Gets or sets the text. textAlignment: TextAlignmentType; ``` -Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L82) +Defined in: [ui/text-base/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L82) Gets or sets text-alignment style property. @@ -2876,7 +2969,7 @@ Gets or sets text-alignment style property. textDecoration: TextDecorationType; ``` -Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L89) +Defined in: [ui/text-base/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L89) Gets or sets text decorations style property. @@ -2894,7 +2987,7 @@ Gets or sets text decorations style property. textOverflow: TextOverflowType; ``` -Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L125) +Defined in: [ui/text-base/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L125) Gets or sets text-overflow style property. @@ -2912,7 +3005,7 @@ Gets or sets text-overflow style property. textShadow: ShadowCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L103) +Defined in: [ui/text-base/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L103) Gets or sets text shadow style property. @@ -2930,7 +3023,7 @@ Gets or sets text shadow style property. textStroke: StrokeCSSValues; ``` -Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L111) +Defined in: [ui/text-base/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L111) Gets or sets text stroke style property. @@ -2948,7 +3041,7 @@ Gets or sets text stroke style property. textTransform: TextTransformType; ``` -Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L96) +Defined in: [ui/text-base/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L96) Gets or sets text transform style property. @@ -2966,7 +3059,7 @@ Gets or sets text transform style property. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2986,7 +3079,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -3002,7 +3095,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -3018,7 +3111,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -3034,7 +3127,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -3052,7 +3145,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -3070,7 +3163,7 @@ Gets or sets the translateY affine transform of the view in device independent p updateTextTrigger: UpdateTextTriggerType; ``` -Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L52) +Defined in: [ui/editable-text-base/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L52) Gets or sets a value indicating when the text property will be updated. @@ -3088,7 +3181,7 @@ Gets or sets a value indicating when the text property will be updated. valueFormatter: (value: string) => string; ``` -Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L107) +Defined in: [ui/editable-text-base/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L107) Format input values Note: useful for input masking/formatting @@ -3115,7 +3208,7 @@ Note: useful for input masking/formatting verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -3133,7 +3226,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -3149,7 +3242,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -3167,7 +3260,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -3185,7 +3278,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -3203,7 +3296,7 @@ visionOS only whiteSpace: WhiteSpaceType; ``` -Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L118) +Defined in: [ui/text-base/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L118) Gets or sets white space style property. @@ -3221,7 +3314,7 @@ Gets or sets white space style property. width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -3239,7 +3332,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -3259,7 +3352,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -3279,7 +3372,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -3299,7 +3392,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -3313,7 +3406,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3333,7 +3426,7 @@ androidOverflowInset static blurEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L19) +Defined in: [ui/editable-text-base/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L19) String value used when hooking to the blur event. @@ -3347,13 +3440,35 @@ blurEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`closedModallyEvent`](EditableTextBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3373,7 +3488,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3393,7 +3508,7 @@ disposeNativeView static focusEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L25) +Defined in: [ui/editable-text-base/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L25) String value used when hooking to the focus event. @@ -3413,7 +3528,7 @@ focusEvent static iosTextAnimationFallback: boolean; ``` -Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L179) +Defined in: [ui/text-base/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L179) The value used when the iosTextAnimation is set to 'inherit' @@ -3429,7 +3544,7 @@ The value used when the iosTextAnimation is set to 'inherit' static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3449,7 +3564,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3469,7 +3584,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3489,7 +3604,7 @@ propertyChange static returnPressEvent: string; ``` -Defined in: [ui/text-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/index.d.ts#L16) +Defined in: [ui/text-view/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/index.d.ts#L16) String value used when hooking to the returnPress event. @@ -3505,7 +3620,7 @@ returnPress static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3525,7 +3640,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3545,7 +3660,7 @@ shownModally static textChangeEvent: string; ``` -Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L31) +Defined in: [ui/editable-text-base/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L31) String value used when hooking to the textChange event. @@ -3565,7 +3680,7 @@ textChangeEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3587,7 +3702,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3599,7 +3714,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3625,7 +3740,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3637,7 +3752,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3663,7 +3778,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3675,7 +3790,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3701,7 +3816,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3713,7 +3828,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3739,7 +3854,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3751,7 +3866,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3777,7 +3892,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3789,7 +3904,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3815,7 +3930,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3827,7 +3942,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3853,7 +3968,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3865,7 +3980,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3891,7 +4006,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3911,7 +4026,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3923,7 +4038,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3949,7 +4064,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3971,7 +4086,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3985,7 +4100,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -4011,7 +4126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -4025,7 +4140,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -4053,7 +4168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -4075,7 +4190,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -4095,7 +4210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4120,7 +4235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4147,7 +4262,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -4181,7 +4296,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -4215,7 +4330,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4245,7 +4360,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -4277,7 +4392,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4301,7 +4416,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4325,7 +4440,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4353,7 +4468,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4373,7 +4488,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4397,7 +4512,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4421,7 +4536,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4433,13 +4548,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`_getRootModalHost`](EditableTextBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4460,7 +4597,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4489,7 +4626,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4515,7 +4652,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4541,7 +4678,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4566,7 +4703,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4590,7 +4727,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4614,7 +4751,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4635,7 +4772,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4661,7 +4798,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4681,7 +4818,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4701,7 +4838,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4721,7 +4858,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4741,7 +4878,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4765,7 +4902,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4783,7 +4920,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4801,7 +4938,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4819,7 +4956,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4845,7 +4982,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4871,7 +5008,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4897,7 +5034,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4921,7 +5058,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4945,7 +5082,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4972,7 +5109,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5001,7 +5138,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -5028,7 +5165,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -5049,7 +5186,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5074,7 +5211,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5098,7 +5235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -5128,7 +5265,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -5156,7 +5293,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -5182,7 +5319,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -5206,7 +5343,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -5235,7 +5372,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5263,7 +5400,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5289,7 +5426,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5314,7 +5451,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5332,7 +5469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5350,7 +5487,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5376,7 +5513,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5402,7 +5539,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5423,7 +5560,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5451,7 +5588,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5481,7 +5618,7 @@ _tearDownUI dismissSoftInput(): void; ``` -Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L112) +Defined in: [ui/editable-text-base/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L112) Hides the soft input method, ususally a soft keyboard. @@ -5501,7 +5638,7 @@ Hides the soft input method, ususally a soft keyboard. disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5521,7 +5658,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5547,7 +5684,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5573,7 +5710,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5595,7 +5732,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5616,7 +5753,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5642,7 +5779,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5662,7 +5799,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5682,7 +5819,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5700,7 +5837,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5724,7 +5861,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5744,7 +5881,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5764,7 +5901,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5790,7 +5927,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5810,7 +5947,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5828,7 +5965,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5842,13 +5979,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`EditableTextBase`](EditableTextBase.md).[`getNativeWindow`](EditableTextBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5868,7 +6030,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5900,7 +6062,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5932,7 +6094,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5952,7 +6114,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5978,7 +6140,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -6003,7 +6165,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -6039,7 +6201,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -6068,7 +6230,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -6094,7 +6256,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -6122,7 +6284,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -6159,7 +6321,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -6190,7 +6352,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6223,7 +6385,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6252,7 +6414,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6281,7 +6443,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6310,7 +6472,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6340,7 +6502,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6369,7 +6531,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6398,7 +6560,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6426,7 +6588,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6449,7 +6611,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6482,7 +6644,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6511,7 +6673,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6529,7 +6691,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6557,7 +6719,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6575,7 +6737,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6596,7 +6758,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6624,7 +6786,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6644,7 +6806,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6664,7 +6826,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6702,7 +6864,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6729,7 +6891,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6754,7 +6916,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6778,7 +6940,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6805,7 +6967,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6833,7 +6995,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6853,7 +7015,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6880,7 +7042,7 @@ Updates the specified property with the provided value and raises a property cha setSelection(start: number, stop?: number): any; ``` -Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L124) +Defined in: [ui/editable-text-base/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L124) Set the selection anchor to start and the selection edge to stop @@ -6907,7 +7069,7 @@ Set the selection anchor to start and the selection edge to stop showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6933,7 +7095,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6953,7 +7115,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6977,7 +7139,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -7003,7 +7165,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -7031,7 +7193,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7063,7 +7225,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -7094,7 +7256,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -7132,7 +7294,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7181,7 +7343,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7216,7 +7378,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7251,7 +7413,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7285,7 +7447,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7320,7 +7482,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TimePicker.md b/content/api/classes/TimePicker.md index 9ecf61c1..c35ed542 100644 --- a/content/api/classes/TimePicker.md +++ b/content/api/classes/TimePicker.md @@ -5,7 +5,7 @@ description: Represents an time picker. contributors: false --- -Defined in: [ui/time-picker/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L9) +Defined in: [ui/time-picker/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L9) Represents an time picker. @@ -25,7 +25,7 @@ TimePicker new TimePicker(): TimePicker; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -43,7 +43,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -59,7 +59,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -73,7 +73,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -87,7 +87,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -101,7 +101,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -143,7 +143,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -157,7 +157,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -171,7 +171,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -185,7 +185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -199,7 +199,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -213,7 +213,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -227,7 +227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -235,13 +235,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -255,7 +273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -269,7 +287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -283,7 +301,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -297,7 +315,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -311,7 +329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -331,7 +349,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -349,7 +367,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -367,7 +385,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -387,7 +405,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -403,7 +421,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -421,7 +439,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -440,7 +458,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -458,7 +476,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -476,7 +494,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -494,7 +512,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -512,7 +530,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -530,7 +548,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -548,7 +566,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -566,7 +584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/time-picker/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L20) +Defined in: [ui/time-picker/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L20) Gets the native [android.widget.TimePicker](http://developer.android.com/reference/android/widget/TimePicker.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -582,7 +600,7 @@ Gets the native [android.widget.TimePicker](http://developer.android.com/referen androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -600,7 +618,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -618,7 +636,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -632,7 +650,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -648,7 +666,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -666,7 +684,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -684,7 +702,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -702,7 +720,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -720,7 +738,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -738,7 +756,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -756,7 +774,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -774,7 +792,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -792,7 +810,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -810,7 +828,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -828,7 +846,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -850,7 +868,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -868,7 +886,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -886,7 +904,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -904,7 +922,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -922,7 +940,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -940,7 +958,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -958,7 +976,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -980,7 +998,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -998,7 +1016,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1016,7 +1034,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1034,7 +1052,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1052,7 +1070,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1070,7 +1088,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1088,7 +1106,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1106,7 +1124,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1122,7 +1140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1136,7 +1154,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1150,7 +1168,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1167,7 +1185,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1185,7 +1203,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1203,7 +1221,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1221,7 +1239,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1235,7 +1253,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1249,7 +1267,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1263,7 +1281,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1277,7 +1295,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,13 +1303,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1305,7 +1337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1319,7 +1351,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1333,7 +1365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1347,7 +1379,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1361,7 +1393,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,13 +1401,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1389,7 +1449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,13 +1457,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1417,7 +1491,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1431,7 +1505,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1449,7 +1523,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1467,7 +1541,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1485,7 +1559,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1503,7 +1577,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1521,7 +1595,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1539,7 +1613,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1557,7 +1631,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1575,7 +1649,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a hour: number; ``` -Defined in: [ui/time-picker/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L32) +Defined in: [ui/time-picker/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L32) Gets or sets the time hour. @@ -1589,7 +1663,7 @@ Gets or sets the time hour. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1607,7 +1681,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1623,7 +1697,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/time-picker/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L25) +Defined in: [ui/time-picker/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L25) Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS. @@ -1639,7 +1713,7 @@ Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1657,7 +1731,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1675,7 +1749,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1693,7 +1767,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1711,7 +1785,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1729,7 +1803,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1747,7 +1821,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1765,7 +1839,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop iosPreferredDatePickerStyle: number; ``` -Defined in: [ui/time-picker/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L93) +Defined in: [ui/time-picker/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L93) Gets or set the UIDatePickerStyle of the date picker in iOS 13.4+. Defaults to 0. Valid values are numbers: @@ -1784,7 +1858,7 @@ Valid values are numbers: isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1802,7 +1876,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1820,7 +1894,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1836,7 +1910,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1854,7 +1928,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1877,7 +1951,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1895,7 +1969,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1913,7 +1987,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1931,7 +2005,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1949,7 +2023,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1961,13 +2035,32 @@ Specifies extra space on the top side of this view. *** +### maxHeight + +```ts +maxHeight: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) + +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxHeight`](View.md#maxheight) + +*** + ### maxHour ```ts maxHour: number; ``` -Defined in: [ui/time-picker/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L53) +Defined in: [ui/time-picker/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L53) Gets or sets the max time hour. @@ -1981,7 +2074,7 @@ Gets or sets the max time hour. maxMinute: number; ``` -Defined in: [ui/time-picker/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L60) +Defined in: [ui/time-picker/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L60) Gets or sets the max time minute. @@ -1989,13 +2082,32 @@ Gets or sets the max time minute. *** +### maxWidth + +```ts +maxWidth: PercentLengthType; +``` + +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) + +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`maxWidth`](View.md#maxwidth) + +*** + ### minHeight ```ts minHeight: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) Gets or sets the minimum height the view may grow to. @@ -2013,7 +2125,7 @@ Gets or sets the minimum height the view may grow to. minHour: number; ``` -Defined in: [ui/time-picker/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L67) +Defined in: [ui/time-picker/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L67) Gets or sets the min time hour. @@ -2027,7 +2139,7 @@ Gets or sets the min time hour. minMinute: number; ``` -Defined in: [ui/time-picker/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L74) +Defined in: [ui/time-picker/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L74) Gets or sets the min time minute. @@ -2041,7 +2153,7 @@ Gets or sets the min time minute. minute: number; ``` -Defined in: [ui/time-picker/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L39) +Defined in: [ui/time-picker/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L39) Gets or sets the time minute. @@ -2055,7 +2167,7 @@ Gets or sets the time minute. minuteInterval: number; ``` -Defined in: [ui/time-picker/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L81) +Defined in: [ui/time-picker/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L81) Gets or sets the minute interval. @@ -2069,7 +2181,7 @@ Gets or sets the minute interval. minWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) Gets or sets the minimum width the view may grow to. @@ -2081,32 +2193,13 @@ Gets or sets the minimum width the view may grow to. *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -#### Inherited from - -[`View`](View.md).[`mIsRootView`](View.md#misrootview) - -*** - ### modal ```ts modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2122,7 +2215,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2138,7 +2231,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2154,7 +2247,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2172,7 +2265,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2190,7 +2283,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2208,7 +2301,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2226,7 +2319,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2242,7 +2335,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2261,7 +2354,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2275,7 +2368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2293,7 +2386,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2311,7 +2404,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2329,7 +2422,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2347,7 +2440,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2365,7 +2458,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2383,7 +2476,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2401,7 +2494,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2419,7 +2512,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2437,7 +2530,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2455,7 +2548,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2482,7 +2575,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2498,7 +2591,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native time: Date; ``` -Defined in: [ui/time-picker/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L46) +Defined in: [ui/time-picker/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L46) Gets or sets the time. @@ -2512,7 +2605,7 @@ Gets or sets the time. top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2532,7 +2625,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2548,7 +2641,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2564,7 +2657,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2580,7 +2673,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2598,7 +2691,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2616,7 +2709,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2634,7 +2727,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2650,7 +2743,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2668,7 +2761,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2686,7 +2779,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2704,7 +2797,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2722,7 +2815,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2742,7 +2835,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2762,7 +2855,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2782,7 +2875,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2796,7 +2889,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2810,13 +2903,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2836,7 +2951,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2856,7 +2971,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2876,7 +2991,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2896,7 +3011,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2916,7 +3031,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2936,7 +3051,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2956,7 +3071,7 @@ shownModally static timeChangeEvent: string; ``` -Defined in: [ui/time-picker/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/time-picker/index.d.ts#L15) +Defined in: [ui/time-picker/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/time-picker/index.d.ts#L15) String value used when hooking to the timeChange event. @@ -2972,7 +3087,7 @@ timeChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2994,7 +3109,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3006,7 +3121,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3032,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3044,7 +3159,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3070,7 +3185,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3082,7 +3197,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3108,7 +3223,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3120,7 +3235,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3146,7 +3261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3158,7 +3273,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3184,7 +3299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3196,7 +3311,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3222,7 +3337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3234,7 +3349,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3260,7 +3375,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3272,7 +3387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3298,7 +3413,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3318,7 +3433,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3330,7 +3445,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3356,7 +3471,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3378,7 +3493,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3392,7 +3507,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3418,7 +3533,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3432,7 +3547,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3460,7 +3575,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3472,7 +3587,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3498,7 +3613,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3520,7 +3635,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3540,7 +3655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3565,7 +3680,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3592,7 +3707,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3626,7 +3741,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3660,7 +3775,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3690,7 +3805,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3722,7 +3837,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3746,7 +3861,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3770,7 +3885,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3798,7 +3913,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3818,7 +3933,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3842,7 +3957,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3866,7 +3981,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3878,13 +3993,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3905,7 +4042,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3934,7 +4071,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3960,7 +4097,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3986,7 +4123,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4011,7 +4148,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4035,7 +4172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4059,7 +4196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4080,7 +4217,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4106,7 +4243,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4126,7 +4263,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4146,7 +4283,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4166,7 +4303,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4186,7 +4323,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4210,7 +4347,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4228,7 +4365,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4246,7 +4383,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4264,7 +4401,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4290,7 +4427,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4316,7 +4453,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4342,7 +4479,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4366,7 +4503,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4390,7 +4527,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4417,7 +4554,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4446,7 +4583,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4473,7 +4610,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4494,7 +4631,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4519,7 +4656,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4543,7 +4680,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4573,7 +4710,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4601,7 +4738,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4627,7 +4764,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4651,7 +4788,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4680,7 +4817,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4708,7 +4845,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4734,7 +4871,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4759,7 +4896,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4777,7 +4914,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4795,7 +4932,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4821,7 +4958,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4847,7 +4984,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4868,7 +5005,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4896,7 +5033,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4926,7 +5063,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4946,7 +5083,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4972,7 +5109,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4998,7 +5135,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5020,7 +5157,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5041,7 +5178,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5067,7 +5204,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5087,7 +5224,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5107,7 +5244,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5125,7 +5262,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5149,7 +5286,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5169,7 +5306,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5189,7 +5326,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5215,7 +5352,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5235,7 +5372,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5253,7 +5390,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5267,13 +5404,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5293,7 +5455,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5325,7 +5487,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5357,7 +5519,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5377,7 +5539,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5403,7 +5565,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5428,7 +5590,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5464,7 +5626,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5493,7 +5655,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5519,7 +5681,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5547,7 +5709,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5584,7 +5746,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5615,7 +5777,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5648,7 +5810,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5677,7 +5839,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5706,7 +5868,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5735,7 +5897,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5765,7 +5927,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5794,7 +5956,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5823,7 +5985,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5851,7 +6013,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5874,7 +6036,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5907,7 +6069,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5936,7 +6098,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5954,7 +6116,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5982,7 +6144,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6000,7 +6162,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6021,7 +6183,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6049,7 +6211,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6069,7 +6231,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6089,7 +6251,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6127,7 +6289,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6154,7 +6316,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6179,7 +6341,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6203,7 +6365,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6230,7 +6392,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6258,7 +6420,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6278,7 +6440,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6305,7 +6467,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6331,7 +6493,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6351,7 +6513,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6375,7 +6537,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6401,7 +6563,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6429,7 +6591,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6461,7 +6623,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6492,7 +6654,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6530,7 +6692,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6579,7 +6741,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6614,7 +6776,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6649,7 +6811,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6683,7 +6845,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6718,7 +6880,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/TouchManager.md b/content/api/classes/TouchManager.md index 0193f91f..22601da8 100644 --- a/content/api/classes/TouchManager.md +++ b/content/api/classes/TouchManager.md @@ -5,7 +5,7 @@ description: Manage interactivity in your apps easily with TouchManager. Store r contributors: false --- -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Manage interactivity in your apps easily with TouchManager. Store reusable down/up animation settings for touches as well as optionally enable automatic tap (down/up) animations for your app. @@ -30,7 +30,7 @@ new TouchManager(): TouchManager; static animations: TouchAnimationOptions; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Define reusable touch animations to use on views with touchAnimation defined or with enableGlobalTapAnimations on. @@ -42,7 +42,7 @@ Define reusable touch animations to use on views with touchAnimation defined or static enableGlobalHoverWhereTap: boolean; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) (visionOS Only) Enable hoverStyle for all tap bindings in the UI. @@ -54,7 +54,7 @@ Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/Nativ static enableGlobalTapAnimations: boolean; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Enable animations for all tap bindings in the UI. @@ -70,7 +70,7 @@ static touchAnimationDefinitions: { }[]; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) When using NativeScript AnimationDefinition's for touch animations this will contain any instances for finer grain control of starting/stopping under various circumstances. The TouchManager uses this internally but makes public for other versatility if needed. @@ -104,7 +104,7 @@ static touchHandlers: { }[]; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Native Touch handlers (iOS only) registered with the view through the TouchManager. The TouchManager uses this internally but makes public for other versatility if needed. @@ -131,7 +131,7 @@ static visionHoverOptions: { }; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Define reusable hover styles keyed by name to use throughout your UI. @@ -151,7 +151,7 @@ static visionHoverStyleCache: { }; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) Used internally - defines reusable UIHoverStyle's @@ -169,7 +169,7 @@ Used internally - defines reusable UIHoverStyle's static addAnimations(view: View): void; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) The TouchManager uses this internally. Adds touch animations to view based upon it's touchAnimation property or TouchManager.animations. @@ -192,7 +192,7 @@ Adds touch animations to view based upon it's touchAnimation property or TouchMa static addHoverStyle(view: View): void; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) The TouchManager uses this internally. Adds visionOS hover styles to views based upon it's visionHoverStyle property @@ -215,7 +215,7 @@ Adds visionOS hover styles to views based upon it's visionHoverStyle property static startAnimationForType(view: View, type: TouchAnimationTypes): void; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) #### Parameters diff --git a/content/api/classes/Transition.md b/content/api/classes/Transition.md index 8bd7a57d..18984dae 100644 --- a/content/api/classes/Transition.md +++ b/content/api/classes/Transition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L22) +Defined in: [ui/transition/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L22) ## Extended by @@ -21,7 +21,7 @@ Defined in: [ui/transition/index.d.ts:22](https://github.com/NativeScript/Native new Transition(duration?: number, nativeCurve?: any): Transition; ``` -Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L39) +Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L40) #### Parameters @@ -42,7 +42,7 @@ Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/Native id: number; ``` -Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L23) +Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L23) *** @@ -52,7 +52,7 @@ Defined in: [ui/transition/index.d.ts:23](https://github.com/NativeScript/Native optional interactiveController?: any; ``` -Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L29) +Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L29) *** @@ -62,7 +62,7 @@ Defined in: [ui/transition/index.d.ts:29](https://github.com/NativeScript/Native optional name?: string; ``` -Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L27) +Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L27) (Optional) Provide a unique name to identify this transition @@ -74,7 +74,7 @@ Defined in: [ui/transition/index.d.ts:27](https://github.com/NativeScript/Native optional presented?: any; ``` -Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L30) +Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L30) *** @@ -84,7 +84,7 @@ Defined in: [ui/transition/index.d.ts:30](https://github.com/NativeScript/Native optional presenting?: any; ``` -Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L31) +Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L31) *** @@ -92,6 +92,7 @@ Defined in: [ui/transition/index.d.ts:31](https://github.com/NativeScript/Native ```ts optional sharedElements?: { + _allPresentingViews?: View[]; independent?: SharedElementSettings & { isPresented?: boolean; }[]; @@ -100,7 +101,13 @@ optional sharedElements?: { }; ``` -Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L32) +Defined in: [ui/transition/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L32) + +#### \_allPresentingViews? + +```ts +optional _allPresentingViews?: View[]; +``` #### independent? @@ -130,7 +137,7 @@ optional presenting?: SharedElementSettings[]; optional transitionController?: any; ``` -Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L28) +Defined in: [ui/transition/index.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L28) *** @@ -145,7 +152,7 @@ static optional AndroidTransitionType?: { }; ``` -Defined in: [ui/transition/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L38) +Defined in: [ui/transition/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L39) #### enter? @@ -182,7 +189,7 @@ optional androidFragmentTransactionCallback( newEntry: BackstackEntry): void; ``` -Defined in: [ui/transition/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L58) +Defined in: [ui/transition/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L59) #### Parameters @@ -208,7 +215,7 @@ animateIOSTransition( operation: any): void; ``` -Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L43) +Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L44) #### Parameters @@ -231,7 +238,7 @@ Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/Native createAndroidAnimator(transitionType: string): any; ``` -Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L44) +Defined in: [ui/transition/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L45) #### Parameters @@ -251,7 +258,7 @@ Defined in: [ui/transition/index.d.ts:44](https://github.com/NativeScript/Native getCurve(): any; ``` -Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L42) +Defined in: [ui/transition/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L43) #### Returns @@ -265,7 +272,7 @@ Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/Native getDuration(): number; ``` -Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L40) +Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L41) #### Returns @@ -279,7 +286,7 @@ Defined in: [ui/transition/index.d.ts:40](https://github.com/NativeScript/Native optional iosDismissedController(dismissed: any): any; ``` -Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L48) +Defined in: [ui/transition/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L49) #### Parameters @@ -299,7 +306,7 @@ Defined in: [ui/transition/index.d.ts:48](https://github.com/NativeScript/Native optional iosInteractionDismiss(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L52) +Defined in: [ui/transition/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L53) #### Parameters @@ -319,7 +326,7 @@ Defined in: [ui/transition/index.d.ts:52](https://github.com/NativeScript/Native optional iosInteractionPresented(animator: any): any; ``` -Defined in: [ui/transition/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L54) +Defined in: [ui/transition/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L55) #### Parameters @@ -343,7 +350,7 @@ optional iosNavigatedController( toVC: any): any; ``` -Defined in: [ui/transition/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L56) +Defined in: [ui/transition/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L57) #### Parameters @@ -369,7 +376,7 @@ optional iosPresentedController( source: any): any; ``` -Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L50) +Defined in: [ui/transition/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L51) #### Parameters @@ -391,7 +398,7 @@ Defined in: [ui/transition/index.d.ts:50](https://github.com/NativeScript/Native setDuration(value: number): void; ``` -Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L41) +Defined in: [ui/transition/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L42) #### Parameters @@ -411,7 +418,7 @@ Defined in: [ui/transition/index.d.ts:41](https://github.com/NativeScript/Native optional setupInteractiveGesture(startCallback: () => void, view: View): void; ``` -Defined in: [ui/transition/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/index.d.ts#L46) +Defined in: [ui/transition/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/index.d.ts#L47) #### Parameters diff --git a/content/api/classes/View.md b/content/api/classes/View.md index a4609a76..a9336d62 100644 --- a/content/api/classes/View.md +++ b/content/api/classes/View.md @@ -5,7 +5,7 @@ description: This class is the base class for all UI components. A View occupies contributors: false --- -Defined in: [ui/core/view/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L53) +Defined in: [ui/core/view/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L54) This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within. @@ -48,7 +48,7 @@ View new View(): View; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -68,7 +68,7 @@ ViewCommon.constructor optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -86,7 +86,7 @@ ViewCommon._androidContentDescriptionUpdated _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -102,7 +102,7 @@ ViewCommon._automaticallyAdjustsScrollViewInsets protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -118,7 +118,7 @@ ViewCommon._closeModalCallback _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -134,7 +134,7 @@ ViewCommon._context _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -150,7 +150,7 @@ ViewCommon._cssState protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -166,7 +166,7 @@ ViewCommon._defaultPaddingBottom protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -182,7 +182,7 @@ ViewCommon._defaultPaddingLeft protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -198,7 +198,7 @@ ViewCommon._defaultPaddingRight protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -214,7 +214,7 @@ ViewCommon._defaultPaddingTop _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -230,7 +230,7 @@ ViewCommon._domId _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -246,7 +246,7 @@ ViewCommon._ignoreFlexMinWidthHeightReset _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -262,7 +262,7 @@ ViewCommon._isAddedToNativeVisualTree protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -278,7 +278,7 @@ ViewCommon._isPaddingRelative _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -288,13 +288,33 @@ ViewCommon._isStyleScopeHost *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Overrides + +```ts +ViewCommon._nativeWindow +``` + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -310,7 +330,7 @@ ViewCommon._oldBottom _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -326,7 +346,7 @@ ViewCommon._oldLeft _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -342,7 +362,7 @@ ViewCommon._oldRight _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -358,7 +378,7 @@ ViewCommon._oldTop _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -374,7 +394,7 @@ ViewCommon._styleScope _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -396,7 +416,7 @@ ViewCommon._suspendNativeUpdatesCount accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -416,7 +436,7 @@ ViewCommon.accessibilityHidden accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -436,7 +456,7 @@ ViewCommon.accessibilityHint accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -458,7 +478,7 @@ ViewCommon.accessibilityIdentifier accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -476,7 +496,7 @@ ViewCommon.accessibilityIgnoresInvertColors accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -496,7 +516,7 @@ ViewCommon.accessibilityLabel accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -517,7 +537,7 @@ ViewCommon.accessibilityLanguage accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -537,7 +557,7 @@ ViewCommon.accessibilityLiveRegion accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -557,7 +577,7 @@ ViewCommon.accessibilityMediaSession accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -577,7 +597,7 @@ ViewCommon.accessibilityRole accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -597,7 +617,7 @@ ViewCommon.accessibilityState accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -617,7 +637,7 @@ ViewCommon.accessibilityValue accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -637,7 +657,7 @@ ViewCommon.accessible alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -657,7 +677,7 @@ ViewCommon.alignSelf android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -675,7 +695,7 @@ ViewCommon.android androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -695,7 +715,7 @@ ViewCommon.androidDynamicElevationOffset androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -715,7 +735,7 @@ ViewCommon.androidElevation androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -731,7 +751,7 @@ ViewCommon.androidOverflowEdge automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -749,7 +769,7 @@ ViewCommon.automationText background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -769,7 +789,7 @@ ViewCommon.background backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -789,7 +809,7 @@ ViewCommon.backgroundColor backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -809,7 +829,7 @@ ViewCommon.backgroundImage bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -829,7 +849,7 @@ ViewCommon.bindingContext borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -849,7 +869,7 @@ ViewCommon.borderBottomColor borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -869,7 +889,7 @@ ViewCommon.borderBottomLeftRadius borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -889,7 +909,7 @@ ViewCommon.borderBottomRightRadius borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -909,7 +929,7 @@ ViewCommon.borderBottomWidth borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -929,7 +949,7 @@ ViewCommon.borderColor borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -949,7 +969,7 @@ ViewCommon.borderLeftColor borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -973,7 +993,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -993,7 +1013,7 @@ ViewCommon.borderRadius borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -1013,7 +1033,7 @@ ViewCommon.borderRightColor borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -1033,7 +1053,7 @@ ViewCommon.borderRightWidth borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -1053,7 +1073,7 @@ ViewCommon.borderTopColor borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -1073,7 +1093,7 @@ ViewCommon.borderTopLeftRadius borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -1093,7 +1113,7 @@ ViewCommon.borderTopRightRadius borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -1117,7 +1137,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -1137,7 +1157,7 @@ ViewCommon.borderWidth boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1157,7 +1177,7 @@ ViewCommon.boxShadow className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1177,7 +1197,7 @@ ViewCommon.className col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1197,7 +1217,7 @@ ViewCommon.col color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1217,7 +1237,7 @@ ViewCommon.color colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1237,7 +1257,7 @@ ViewCommon.colSpan column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1257,7 +1277,7 @@ ViewCommon.column columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1275,7 +1295,7 @@ ViewCommon.columnSpan cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Overrides @@ -1291,7 +1311,7 @@ ViewCommon.cssClasses cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Overrides @@ -1307,7 +1327,7 @@ ViewCommon.cssPseudoClasses cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1326,7 +1346,7 @@ ViewCommon.cssType defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1346,7 +1366,7 @@ ViewCommon.defaultVisualState direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1366,7 +1386,7 @@ ViewCommon.direction dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1384,7 +1404,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1400,7 +1420,7 @@ ViewCommon.domNode effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1416,7 +1436,7 @@ ViewCommon.effectiveBorderBottomWidth effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1432,7 +1452,7 @@ ViewCommon.effectiveBorderLeftWidth effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1448,7 +1468,7 @@ ViewCommon.effectiveBorderRightWidth effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1458,13 +1478,29 @@ ViewCommon.effectiveBorderTopWidth *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +ViewCommon.effectiveColumnGap +``` + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1480,7 +1516,7 @@ ViewCommon.effectiveHeight effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1496,7 +1532,7 @@ ViewCommon.effectiveLeft effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1512,7 +1548,7 @@ ViewCommon.effectiveMarginBottom effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1528,7 +1564,7 @@ ViewCommon.effectiveMarginLeft effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1544,7 +1580,7 @@ ViewCommon.effectiveMarginRight effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1554,13 +1590,45 @@ ViewCommon.effectiveMarginTop *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +ViewCommon.effectiveMaxHeight +``` + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +ViewCommon.effectiveMaxWidth +``` + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1576,7 +1644,7 @@ ViewCommon.effectiveMinHeight effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1586,13 +1654,29 @@ ViewCommon.effectiveMinWidth *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +```ts +ViewCommon.effectiveRowGap +``` + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1608,7 +1692,7 @@ ViewCommon.effectiveTop effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1624,7 +1708,7 @@ ViewCommon.effectiveWidth flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1644,7 +1728,7 @@ ViewCommon.flex flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1664,7 +1748,7 @@ ViewCommon.flexFlow flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1684,7 +1768,7 @@ ViewCommon.flexGrow flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1704,7 +1788,7 @@ ViewCommon.flexShrink flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1724,7 +1808,7 @@ ViewCommon.flexWrapBefore height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1744,7 +1828,7 @@ ViewCommon.height hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1764,7 +1848,7 @@ ViewCommon.hidden horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1784,7 +1868,7 @@ ViewCommon.horizontalAlignment id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1804,7 +1888,7 @@ ViewCommon.id ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1822,7 +1906,7 @@ ViewCommon.ignoreTouchAnimation ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1840,7 +1924,7 @@ ViewCommon.ios iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1860,7 +1944,7 @@ ViewCommon.iosAccessibilityAdjustsFontSize iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1880,7 +1964,7 @@ ViewCommon.iosAccessibilityMaxFontScale iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1900,7 +1984,7 @@ ViewCommon.iosAccessibilityMinFontScale iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1920,7 +2004,7 @@ ViewCommon.iosGlassEffect iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1940,7 +2024,7 @@ ViewCommon.iosIgnoreSafeArea iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1960,7 +2044,7 @@ ViewCommon.iosOverflowSafeArea iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1980,7 +2064,7 @@ ViewCommon.iosOverflowSafeAreaEnabled isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -2000,7 +2084,7 @@ ViewCommon.isCollapsed isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -2020,7 +2104,7 @@ ViewCommon.isEnabled isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -2038,7 +2122,7 @@ ViewCommon.isLayoutValid isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -2058,7 +2142,7 @@ ViewCommon.isUserInteractionEnabled left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -2083,7 +2167,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -2103,7 +2187,7 @@ ViewCommon.margin marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -2123,7 +2207,7 @@ ViewCommon.marginBottom marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -2143,7 +2227,7 @@ ViewCommon.marginLeft marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -2163,7 +2247,7 @@ ViewCommon.marginRight marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -2177,63 +2261,84 @@ ViewCommon.marginTop *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Overrides ```ts -ViewCommon.minHeight +ViewCommon.maxHeight ``` *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Overrides ```ts -ViewCommon.minWidth +ViewCommon.maxWidth ``` *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum height the view may grow to. -#### Inherited from +#### Ns Property + +#### Overrides ```ts -ViewCommon.mIsRootView +ViewCommon.minHeight +``` + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Overrides + +```ts +ViewCommon.minWidth ``` *** @@ -2244,7 +2349,7 @@ ViewCommon.mIsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2262,7 +2367,7 @@ ViewCommon.modal optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2274,7 +2379,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2292,7 +2397,7 @@ ViewCommon.nativeViewProtected opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2312,7 +2417,7 @@ ViewCommon.opacity order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2332,7 +2437,7 @@ ViewCommon.order originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2352,7 +2457,7 @@ ViewCommon.originX originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2372,7 +2477,7 @@ ViewCommon.originY parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2390,7 +2495,7 @@ ViewCommon.parent perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2411,7 +2516,7 @@ ViewCommon.perspective recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2425,7 +2530,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2445,7 +2550,7 @@ ViewCommon.reusable rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2465,7 +2570,7 @@ ViewCommon.rotate rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2485,7 +2590,7 @@ ViewCommon.rotateX rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2505,7 +2610,7 @@ ViewCommon.rotateY row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2525,7 +2630,7 @@ ViewCommon.row rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2545,7 +2650,7 @@ ViewCommon.rowSpan scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2565,7 +2670,7 @@ ViewCommon.scaleX scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2585,7 +2690,7 @@ ViewCommon.scaleY sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2605,7 +2710,7 @@ ViewCommon.sharedTransitionIgnore sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2625,7 +2730,7 @@ ViewCommon.sharedTransitionTag statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2654,7 +2759,7 @@ ViewCommon.statusBarStyle testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2672,7 +2777,7 @@ ViewCommon.testID top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2694,7 +2799,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2712,7 +2817,7 @@ ViewCommon.touchAnimation touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2730,7 +2835,7 @@ ViewCommon.touchDelay transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2748,7 +2853,7 @@ ViewCommon.transitionId translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2768,7 +2873,7 @@ ViewCommon.translateX translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2788,7 +2893,7 @@ ViewCommon.translateY verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2808,7 +2913,7 @@ ViewCommon.verticalAlignment viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2826,7 +2931,7 @@ ViewCommon.viewController visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2846,7 +2951,7 @@ ViewCommon.visibility visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2866,7 +2971,7 @@ ViewCommon.visionHoverStyle visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2886,7 +2991,7 @@ ViewCommon.visionIgnoreHoverStyle width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2906,7 +3011,7 @@ ViewCommon.width static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2928,7 +3033,7 @@ ViewCommon.accessibilityBlurEvent static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2950,7 +3055,7 @@ ViewCommon.accessibilityFocusChangedEvent static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2972,7 +3077,7 @@ ViewCommon.accessibilityFocusEvent static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2988,7 +3093,7 @@ ViewCommon.accessibilityPerformEscapeEvent static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -3004,13 +3109,37 @@ ViewCommon.androidOverflowInsetEvent *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Overrides + +```ts +ViewCommon.closedModallyEvent +``` + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -3032,7 +3161,7 @@ ViewCommon.createdEvent static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -3054,7 +3183,7 @@ ViewCommon.disposeNativeViewEvent static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -3076,7 +3205,7 @@ ViewCommon.layoutChangedEvent static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -3098,7 +3227,7 @@ ViewCommon.loadedEvent static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -3120,7 +3249,7 @@ ViewCommon.propertyChangeEvent static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -3142,7 +3271,7 @@ ViewCommon.showingModallyEvent static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3164,7 +3293,7 @@ ViewCommon.shownModallyEvent static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3188,7 +3317,7 @@ ViewCommon.unloadedEvent get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3200,7 +3329,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3228,7 +3357,7 @@ ViewCommon.backgroundPosition get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3240,7 +3369,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3268,7 +3397,7 @@ ViewCommon.backgroundRepeat get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3280,7 +3409,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3308,7 +3437,7 @@ ViewCommon.backgroundSize get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3320,7 +3449,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3348,7 +3477,7 @@ ViewCommon.class get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3360,7 +3489,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3388,7 +3517,7 @@ ViewCommon.effectivePaddingBottom get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3400,7 +3529,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3428,7 +3557,7 @@ ViewCommon.effectivePaddingLeft get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3440,7 +3569,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3468,7 +3597,7 @@ ViewCommon.effectivePaddingRight get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3480,7 +3609,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3508,7 +3637,7 @@ ViewCommon.effectivePaddingTop get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3530,7 +3659,7 @@ ViewCommon.isLoaded get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3542,7 +3671,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3570,7 +3699,7 @@ ViewCommon.nativeView get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3594,7 +3723,7 @@ ViewCommon.page get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3608,7 +3737,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3636,7 +3765,7 @@ ViewCommon.parentNode get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3650,7 +3779,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3680,7 +3809,7 @@ ViewCommon.style get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3692,7 +3821,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3720,7 +3849,7 @@ ViewCommon.textTransform get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3744,7 +3873,7 @@ ViewCommon.typeName get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3766,7 +3895,7 @@ ViewCommon.visualState _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3793,7 +3922,7 @@ ViewCommon._addView _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3822,7 +3951,7 @@ ViewCommon._addViewCore _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3858,7 +3987,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3894,7 +4023,7 @@ ViewCommon._applyGlassEffect _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3926,7 +4055,7 @@ ViewCommon._applyXmlAttribute _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3960,7 +4089,7 @@ ViewCommon._batchUpdate _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3986,7 +4115,7 @@ ViewCommon._childIndexToNativeChildIndex _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -4012,7 +4141,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -4042,7 +4171,7 @@ ViewCommon._createPropertyChangeData _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4064,7 +4193,7 @@ ViewCommon._dialogClosed _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -4090,7 +4219,7 @@ ViewCommon._eachLayoutView _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -4116,7 +4245,7 @@ ViewCommon._emit _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -4130,13 +4259,37 @@ ViewCommon._getNativeViewsCount *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Overrides + +```ts +ViewCommon._getRootModalHost +``` + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -4159,7 +4312,7 @@ ViewCommon._getRootModalViews _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -4190,7 +4343,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -4218,7 +4371,7 @@ ViewCommon._handleLivesync _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4246,7 +4399,7 @@ ViewCommon._hasAncestorView protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4273,7 +4426,7 @@ ViewCommon._hideNativeModalView _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4299,7 +4452,7 @@ ViewCommon._inheritStyles _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4325,7 +4478,7 @@ ViewCommon._inheritStyleScope _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4348,7 +4501,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4376,7 +4529,7 @@ ViewCommon._observe _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4398,7 +4551,7 @@ ViewCommon._onAttachedToWindow _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4420,7 +4573,7 @@ ViewCommon._onDetachedFromWindow _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4442,7 +4595,7 @@ ViewCommon._onRootViewReset optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4458,7 +4611,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4484,7 +4637,7 @@ ViewCommon._parentChanged protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4504,7 +4657,7 @@ ViewCommon._raiseLayoutChangedEvent protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4524,7 +4677,7 @@ ViewCommon._raiseShowingModallyEvent protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4544,7 +4697,7 @@ ViewCommon._raiseShownModallyEvent _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4572,7 +4725,7 @@ ViewCommon._removeView _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4600,7 +4753,7 @@ ViewCommon._removeViewCore _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4628,7 +4781,7 @@ ViewCommon._removeViewFromNativeVisualTree _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4654,7 +4807,7 @@ ViewCommon._resumeNativeUpdates _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4680,7 +4833,7 @@ ViewCommon._setDefaultPaddings _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4709,7 +4862,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4740,7 +4893,7 @@ ViewCommon._setupUI _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4769,7 +4922,7 @@ ViewCommon._setValue _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4792,7 +4945,7 @@ ViewCommon._shouldDelayLayout protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4819,7 +4972,7 @@ ViewCommon._showNativeModalView _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4845,7 +4998,7 @@ ViewCommon._suspendNativeUpdates _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4877,7 +5030,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4907,7 +5060,7 @@ ViewCommon._updateStyleScope accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4935,7 +5088,7 @@ ViewCommon.accessibilityAnnouncement accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4961,7 +5114,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4992,7 +5145,7 @@ ViewCommon.addEventListener protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5022,7 +5175,7 @@ ViewCommon.addPseudoClass animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -5050,7 +5203,7 @@ ViewCommon.animate bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5077,7 +5230,7 @@ ViewCommon.bind callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5097,7 +5250,7 @@ ViewCommon.callLoaded callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5117,7 +5270,7 @@ ViewCommon.callUnloaded closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -5145,7 +5298,7 @@ ViewCommon.closeModal createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -5173,7 +5326,7 @@ ViewCommon.createAnimation createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -5196,7 +5349,7 @@ ViewCommon.createNativeView protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5226,7 +5379,7 @@ ViewCommon.deletePseudoClass destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5258,7 +5411,7 @@ ViewCommon.destroyNode disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5280,7 +5433,7 @@ ViewCommon.disposeNativeView eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5308,7 +5461,7 @@ ViewCommon.eachChild eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5336,7 +5489,7 @@ ViewCommon.eachChildView ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5360,7 +5513,7 @@ ViewCommon.ensureDomNode focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5383,7 +5536,7 @@ ViewCommon.focus get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5411,7 +5564,7 @@ ViewCommon.get getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5433,7 +5586,7 @@ ViewCommon.getActualSize getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5455,7 +5608,7 @@ ViewCommon.getClosestWindow getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5475,7 +5628,7 @@ ViewCommon.getEffectivePaddingShorthand getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5501,7 +5654,7 @@ ViewCommon.getGestureObservers getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5523,7 +5676,7 @@ ViewCommon.getLocationInWindow getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5545,7 +5698,7 @@ ViewCommon.getLocationOnScreen getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5573,7 +5726,7 @@ ViewCommon.getLocationRelativeTo getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5595,7 +5748,7 @@ ViewCommon.getMeasuredHeight getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5615,7 +5768,7 @@ ViewCommon.getMeasuredState getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5631,13 +5784,40 @@ ViewCommon.getMeasuredWidth *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Overrides + +```ts +ViewCommon.getNativeWindow +``` + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5659,7 +5839,7 @@ ViewCommon.getSafeAreaInsets getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5693,7 +5873,7 @@ ViewCommon.getViewByDomId getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5727,7 +5907,7 @@ ViewCommon.getViewById optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5743,7 +5923,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5771,7 +5951,7 @@ ViewCommon.hasListeners initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5798,7 +5978,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5836,7 +6016,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5867,7 +6047,7 @@ ViewCommon.layoutNativeView loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5895,7 +6075,7 @@ ViewCommon.loadView measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5925,7 +6105,7 @@ ViewCommon.measure notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5964,7 +6144,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5997,7 +6177,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -6032,7 +6212,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -6063,7 +6243,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -6094,7 +6274,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -6125,7 +6305,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -6157,7 +6337,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6188,7 +6368,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6219,7 +6399,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6249,7 +6429,7 @@ ViewCommon.on onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6274,7 +6454,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6309,7 +6489,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6340,7 +6520,7 @@ ViewCommon.onLayout onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6360,7 +6540,7 @@ ViewCommon.onLoaded onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6390,7 +6570,7 @@ ViewCommon.onMeasure onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6410,7 +6590,7 @@ ViewCommon.onResumeNativeUpdates onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6433,7 +6613,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6463,7 +6643,7 @@ ViewCommon.removeEventListener requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6485,7 +6665,7 @@ ViewCommon.requestLayout resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6507,7 +6687,7 @@ ViewCommon.resetNativeView sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6547,7 +6727,7 @@ ViewCommon.sendAccessibilityEvent set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6576,7 +6756,7 @@ ViewCommon.set setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6603,7 +6783,7 @@ ViewCommon.setAccessibilityIdentifier setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6629,7 +6809,7 @@ ViewCommon.setInlineStyle setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6658,7 +6838,7 @@ ViewCommon.setMeasuredDimension setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6688,7 +6868,7 @@ ViewCommon.setNativeView optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6704,7 +6884,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6733,7 +6913,7 @@ ViewCommon.setProperty showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6761,7 +6941,7 @@ ViewCommon.showModal toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6783,7 +6963,7 @@ ViewCommon.toString unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6809,7 +6989,7 @@ ViewCommon.unbind unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6837,7 +7017,7 @@ ViewCommon.unloadView updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6867,7 +7047,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6901,7 +7081,7 @@ ViewCommon.addEventListener static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6934,7 +7114,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6974,7 +7154,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -7025,7 +7205,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7062,7 +7242,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7099,7 +7279,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7135,7 +7315,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -7172,7 +7352,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/ViewBase.md b/content/api/classes/ViewBase.md index 7bd3d965..d9637aa1 100644 --- a/content/api/classes/ViewBase.md +++ b/content/api/classes/ViewBase.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ## Ns View @@ -30,7 +30,7 @@ ViewBase new ViewBase(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -48,7 +48,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -58,7 +58,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -68,7 +68,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -78,7 +78,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -88,7 +88,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -98,7 +98,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -108,7 +108,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -118,7 +118,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -128,7 +128,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -138,7 +138,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -148,7 +148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -158,7 +158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -168,7 +168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -178,7 +178,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -188,7 +188,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -198,7 +198,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -208,7 +208,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -218,7 +218,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -234,7 +234,7 @@ as well as adding/rmoving the view to/from the visual tree. alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -248,7 +248,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS bindingContext: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -260,7 +260,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -274,7 +274,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -288,7 +288,7 @@ The column for the element. The columns are 0-indexed, so the first column is in colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -302,7 +302,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -316,7 +316,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -328,7 +328,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -338,7 +338,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS readonly cssPseudoClasses: Set; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -348,7 +348,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -362,7 +362,7 @@ Default visual state, defaults to 'normal' dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -376,7 +376,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -386,7 +386,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -396,7 +396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -406,7 +406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -416,7 +416,17 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +*** + +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -426,7 +436,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -436,7 +446,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -446,7 +456,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -456,7 +466,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -466,7 +476,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -476,7 +486,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +*** + +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -486,7 +516,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -496,7 +526,17 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +*** + +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -506,7 +546,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -516,7 +556,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -526,7 +566,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -540,7 +580,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -554,7 +594,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -568,7 +608,7 @@ When true, forces the item to wrap onto a new line. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -582,7 +622,7 @@ Gets or sets the visual state of the view. id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -596,7 +636,7 @@ Gets or sets the id for this view. isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -610,7 +650,7 @@ Readonly property left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -618,28 +658,13 @@ Gets or sets the distance, in pixels, between the left edge of the child and the *** -### mIsRootView - -```ts -mIsRootView: boolean; -``` - -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) - -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView - -*** - ### nativeViewProtected ```ts nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -651,7 +676,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -665,7 +690,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -677,7 +702,7 @@ Gets the parent view. This property is read-only. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) *** @@ -687,7 +712,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -701,7 +726,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -715,7 +740,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -729,7 +754,7 @@ The number of rows for the element to span across. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -743,7 +768,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -757,7 +782,7 @@ Gets or sets the shared transition tag for animated view transitions top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -771,7 +796,7 @@ Gets or sets the distance, in pixels, between the top edge of the child and the viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -783,7 +808,7 @@ returns the native UIViewController. static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -799,7 +824,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -815,7 +840,7 @@ disposeNativeView static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -831,7 +856,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -851,7 +876,7 @@ propertyChange static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -869,7 +894,7 @@ unloaded get android(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -885,7 +910,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -897,7 +922,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -911,6 +936,42 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### cssType + +#### Get Signature + +```ts +get cssType(): string; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +Gets the CSS fully qualified type name used for selector matching. + +##### Returns + +`string` + +#### Set Signature + +```ts +set cssType(value: string): void; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `string` | + +##### Returns + +`void` + +*** + ### effectivePaddingBottom #### Get Signature @@ -919,7 +980,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -931,7 +992,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -953,7 +1014,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -965,7 +1026,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -987,7 +1048,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -999,7 +1060,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1021,7 +1082,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1033,7 +1094,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1055,7 +1116,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get ios(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1071,7 +1132,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1087,7 +1148,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -1099,7 +1160,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1121,7 +1182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -1139,7 +1200,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -1153,7 +1214,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -1175,7 +1236,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -1189,7 +1250,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -1213,7 +1274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -1231,7 +1292,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -1247,7 +1308,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1268,7 +1329,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1291,7 +1352,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -1315,7 +1376,7 @@ Method is intended to be overridden by inheritors and used as "protected". _addVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1335,7 +1396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1361,7 +1422,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -1389,7 +1450,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1412,7 +1473,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -1440,7 +1501,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1456,7 +1517,7 @@ Method is intended to be overridden by inheritors and used as "protected" _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -1480,7 +1541,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _goToVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1504,7 +1565,7 @@ Use View._addVisualState() and View._removeVisualState() instead. _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1524,7 +1585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1544,7 +1605,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -1558,7 +1619,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1574,7 +1635,7 @@ Method is intended to be overridden by inheritors and used as "protected" _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1594,7 +1655,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -1616,7 +1677,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1638,7 +1699,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -1660,7 +1721,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeVisualState(state: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1680,7 +1741,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1700,7 +1761,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1720,7 +1781,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1743,7 +1804,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -1768,7 +1829,7 @@ This method should *not* be overridden by derived views. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -1785,7 +1846,7 @@ Method is intended to be overridden by inheritors and used as "protected" _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1805,7 +1866,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -1832,7 +1893,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -1861,7 +1922,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1885,7 +1946,7 @@ A widget can call this method to add a matching css pseudo class. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1906,7 +1967,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -1920,7 +1981,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -1934,7 +1995,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Closes the current modal view that this page is showing. @@ -1956,7 +2017,7 @@ Closes the current modal view that this page is showing. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -1973,7 +2034,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -1997,7 +2058,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -2023,7 +2084,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -2039,7 +2100,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates over children of type ViewBase. @@ -2061,7 +2122,7 @@ Iterates over children of type ViewBase. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2079,7 +2140,7 @@ Ensures a dom-node for this view. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -2105,7 +2166,7 @@ Gets the value of the specified property. getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2119,7 +2180,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -2147,7 +2208,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -2175,7 +2236,7 @@ Returns the child view with the specified id. hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -2201,7 +2262,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -2217,7 +2278,7 @@ Initializes properties/listeners of the native view. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -2239,7 +2300,7 @@ Load view. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -2276,7 +2337,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -2307,7 +2368,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -2338,7 +2399,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -2369,7 +2430,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -2398,7 +2459,7 @@ remove itself. onLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2412,7 +2473,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2426,7 +2487,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -2443,7 +2504,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -2471,7 +2532,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -2487,7 +2548,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Resets properties/listeners set to the native view. @@ -2503,7 +2564,7 @@ Resets properties/listeners set to the native view. set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -2530,7 +2591,7 @@ Updates the specified property with the provided value. setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2550,7 +2611,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -2574,7 +2635,7 @@ As an example use in item controls where the native parent view will create the setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -2603,7 +2664,7 @@ Updates the specified property with the provided value and raises a property cha showModal(view: ViewBase, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the view passed as parameter as a modal view. @@ -2624,7 +2685,7 @@ Shows the view passed as parameter as a modal view. showModal(moduleName: string, modalOptions?: ShowModalOptions): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Shows the View contained in moduleName as a modal view. @@ -2647,7 +2708,7 @@ Shows the View contained in moduleName as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -2663,7 +2724,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -2683,7 +2744,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -2709,7 +2770,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -2744,7 +2805,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -2779,7 +2840,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -2814,7 +2875,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -2848,7 +2909,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/ViewHelper.md b/content/api/classes/ViewHelper.md index 105330ee..1e6e3dad 100644 --- a/content/api/classes/ViewHelper.md +++ b/content/api/classes/ViewHelper.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view/view-helper/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L3) +Defined in: [ui/core/view/view-helper/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L3) ## Constructors @@ -26,7 +26,7 @@ new ViewHelper(): ViewHelper; static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L33) +Defined in: [ui/core/view/view-helper/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L33) #### Parameters @@ -53,7 +53,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L21) +Defined in: [ui/core/view/view-helper/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L21) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -87,7 +87,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L11) +Defined in: [ui/core/view/view-helper/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L11) Measure a child by taking into account its margins and a given measureSpecs. @@ -133,7 +133,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L31) +Defined in: [ui/core/view/view-helper/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L31) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/VirtualArray.md b/content/api/classes/VirtualArray.md index 3df81ecf..d8b6f08d 100644 --- a/content/api/classes/VirtualArray.md +++ b/content/api/classes/VirtualArray.md @@ -5,7 +5,7 @@ description: Advanced array like class that helps loading items on demand. contributors: false --- -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Advanced array like class that helps loading items on demand. @@ -27,7 +27,7 @@ Advanced array like class that helps loading items on demand. new VirtualArray(length?: number): VirtualArray; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) #### Parameters @@ -51,7 +51,7 @@ Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/Native static changeEvent: string; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) String value used when hooking to change event. @@ -63,7 +63,7 @@ String value used when hooking to change event. static itemsLoadingEvent: string; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) String value used when hooking to itemsLoading event. @@ -75,7 +75,7 @@ String value used when hooking to itemsLoading event. static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -97,7 +97,7 @@ propertyChange get length(): number; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Gets or sets length for the virtual array. @@ -111,7 +111,7 @@ Gets or sets length for the virtual array. set length(value: number): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) ##### Parameters @@ -133,7 +133,7 @@ Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/Native get loadSize(): number; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) ##### Returns @@ -145,7 +145,7 @@ Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/Native set loadSize(value: number): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) ##### Parameters @@ -168,7 +168,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -196,7 +196,7 @@ This method is intended to be overriden by inheritors to provide additional impl _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -224,7 +224,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name. @@ -253,7 +253,7 @@ Adds a listener for the specified event name. get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -279,7 +279,7 @@ Gets the value of the specified property. getItem(index: number): T; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) #### Parameters @@ -299,7 +299,7 @@ Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/Native hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -325,7 +325,7 @@ Checks whether a listener is registered for the specified event name. load(index: number, items: T[]): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Loads items from an array starting at index. @@ -348,7 +348,7 @@ Loads items from an array starting at index. notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -385,7 +385,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -416,7 +416,7 @@ off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes the listener(s) for the specified event name. @@ -449,7 +449,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Adds a listener for the specified event name. @@ -478,7 +478,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Raised when still not loaded items are requested. @@ -509,7 +509,7 @@ on( thisArg?: any): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Raised when a change occurs. @@ -542,7 +542,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -574,7 +574,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Removes listener(s) for the specified event name. @@ -602,7 +602,7 @@ Removes listener(s) for the specified event name. set(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value. @@ -629,7 +629,7 @@ Updates the specified property with the provided value. setItem(index: number, value: T): void; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) #### Parameters @@ -650,7 +650,7 @@ Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/Native setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -681,7 +681,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -716,7 +716,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -751,7 +751,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -786,7 +786,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -820,7 +820,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. diff --git a/content/api/classes/WebView.md b/content/api/classes/WebView.md index dae17928..169e6d27 100644 --- a/content/api/classes/WebView.md +++ b/content/api/classes/WebView.md @@ -5,7 +5,7 @@ description: Represents a standard WebView widget. contributors: false --- -Defined in: [ui/web-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L24) +Defined in: [ui/web-view/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L24) Represents a standard WebView widget. @@ -23,7 +23,7 @@ Represents a standard WebView widget. new WebView(): WebView; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -41,7 +41,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -57,7 +57,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -99,7 +99,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -113,7 +113,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -127,7 +127,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -141,7 +141,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -155,7 +155,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -169,7 +169,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -183,7 +183,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -197,7 +197,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -211,7 +211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -225,7 +225,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -233,13 +233,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](View.md).[`_nativeWindow`](View.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -253,7 +271,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -267,7 +285,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -281,7 +299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -295,7 +313,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -309,7 +327,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -329,7 +347,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -347,7 +365,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -365,7 +383,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -385,7 +403,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -401,7 +419,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -419,7 +437,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -438,7 +456,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -456,7 +474,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -474,7 +492,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -492,7 +510,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -510,7 +528,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -528,7 +546,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -546,7 +564,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -564,7 +582,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/web-view/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L42) +Defined in: [ui/web-view/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L42) Gets the native [android widget](http://developer.android.com/reference/android/webkit/WebView.html) that represents the user interface for this component. Valid only when running on Android OS. @@ -580,7 +598,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -598,7 +616,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -616,7 +634,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -630,7 +648,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -646,7 +664,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -664,7 +682,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -682,7 +700,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -700,7 +718,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -718,7 +736,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -736,7 +754,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -754,7 +772,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -772,7 +790,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -790,7 +808,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -808,7 +826,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -826,7 +844,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -848,7 +866,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -866,7 +884,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -884,7 +902,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -902,7 +920,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -920,7 +938,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -938,7 +956,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -956,7 +974,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -978,7 +996,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -996,7 +1014,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1014,7 +1032,7 @@ Gets or sets the box shadow of the view. canGoBack: boolean; ``` -Defined in: [ui/web-view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L59) +Defined in: [ui/web-view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L59) Gets a value indicating whether the WebView can navigate back. @@ -1026,7 +1044,7 @@ Gets a value indicating whether the WebView can navigate back. canGoForward: boolean; ``` -Defined in: [ui/web-view/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L64) +Defined in: [ui/web-view/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L64) Gets a value indicating whether the WebView can navigate forward. @@ -1038,7 +1056,7 @@ Gets a value indicating whether the WebView can navigate forward. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1056,7 +1074,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1074,7 +1092,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1092,7 +1110,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1110,7 +1128,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1128,7 +1146,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1144,7 +1162,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1158,7 +1176,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1172,7 +1190,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1189,7 +1207,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1207,7 +1225,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1225,7 +1243,7 @@ Gets or sets the layout direction of the view. disableZoom: boolean; ``` -Defined in: [ui/web-view/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L71) +Defined in: [ui/web-view/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L71) Disable scrolling in the WebView @@ -1239,7 +1257,7 @@ Disable scrolling in the WebView dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1257,7 +1275,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1271,7 +1289,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1285,7 +1303,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1299,7 +1317,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1313,7 +1331,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1321,13 +1339,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveColumnGap`](View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1341,7 +1373,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1355,7 +1387,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1369,7 +1401,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1383,7 +1415,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1397,7 +1429,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1405,13 +1437,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxHeight`](View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveMaxWidth`](View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1425,7 +1485,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1433,13 +1493,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](View.md).[`effectiveRowGap`](View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1453,7 +1527,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1467,7 +1541,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1485,7 +1559,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1503,7 +1577,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1521,7 +1595,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1539,7 +1613,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1557,7 +1631,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1575,7 +1649,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1593,7 +1667,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1611,7 +1685,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1629,7 +1703,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1645,7 +1719,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/web-view/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L47) +Defined in: [ui/web-view/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L47) Gets the native [WKWebView](https://developer.apple.com/documentation/webkit/wkwebview/) that represents the user interface for this component. Valid only when running on iOS. @@ -1661,7 +1735,7 @@ Gets the native [WKWebView](https://developer.apple.com/documentation/webkit/wkw iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1679,7 +1753,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1697,7 +1771,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1715,7 +1789,7 @@ Gets or sets the minimum accessibility font scale. iosAllowInlineMediaPlayback: boolean; ``` -Defined in: [ui/web-view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L79) +Defined in: [ui/web-view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L79) Enables inline media playback on iOS. By default, webview forces iPhone into fullscreen media playback. @@ -1730,7 +1804,7 @@ By default, webview forces iPhone into fullscreen media playback. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1748,7 +1822,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1766,7 +1840,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1784,7 +1858,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1802,7 +1876,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1820,7 +1894,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1838,7 +1912,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1854,7 +1928,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1872,7 +1946,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1895,7 +1969,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1913,7 +1987,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1931,7 +2005,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1949,7 +2023,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1967,7 +2041,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1979,58 +2053,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minHeight`](View.md#minheight) +[`View`](View.md).[`maxHeight`](View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](View.md).[`minWidth`](View.md#minwidth) +[`View`](View.md).[`maxWidth`](View.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`View`](View.md).[`mIsRootView`](View.md#misrootview) +[`View`](View.md).[`minHeight`](View.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](View.md).[`minWidth`](View.md#minwidth) *** @@ -2040,7 +2133,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2056,7 +2149,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2072,7 +2165,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2088,7 +2181,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2106,7 +2199,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2124,7 +2217,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2142,7 +2235,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2160,7 +2253,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2176,7 +2269,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2195,7 +2288,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2209,7 +2302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2227,7 +2320,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2245,7 +2338,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2263,7 +2356,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2281,7 +2374,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2299,7 +2392,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2317,7 +2410,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2335,7 +2428,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2353,7 +2446,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2371,7 +2464,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2389,7 +2482,7 @@ Gets or sets the shared transition tag for animated view transitions src: string; ``` -Defined in: [ui/web-view/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L54) +Defined in: [ui/web-view/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L54) Gets or sets the url, local file path or HTML string. @@ -2403,7 +2496,7 @@ Gets or sets the url, local file path or HTML string. statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2430,7 +2523,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2446,7 +2539,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2466,7 +2559,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2482,7 +2575,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2498,7 +2591,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2514,7 +2607,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2532,7 +2625,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2550,7 +2643,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2568,7 +2661,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2584,7 +2677,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2602,7 +2695,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2620,7 +2713,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2638,7 +2731,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2656,7 +2749,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2676,7 +2769,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2696,7 +2789,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2716,7 +2809,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2730,7 +2823,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2744,13 +2837,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`View`](View.md).[`closedModallyEvent`](View.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2770,7 +2885,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2790,7 +2905,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2810,7 +2925,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2830,7 +2945,7 @@ loaded static loadFinishedEvent: string; ``` -Defined in: [ui/web-view/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L37) +Defined in: [ui/web-view/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L37) String value used when hooking to loadFinished event. @@ -2846,7 +2961,7 @@ loadFinished static loadStartedEvent: string; ``` -Defined in: [ui/web-view/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L30) +Defined in: [ui/web-view/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L30) String value used when hooking to loadStarted event. @@ -2862,7 +2977,7 @@ loadStarted static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2882,7 +2997,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2902,7 +3017,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -2922,7 +3037,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -2944,7 +3059,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2956,7 +3071,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2982,7 +3097,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2994,7 +3109,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3020,7 +3135,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3032,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3058,7 +3173,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3070,7 +3185,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3096,7 +3211,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3108,7 +3223,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3134,7 +3249,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3146,7 +3261,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3172,7 +3287,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3184,7 +3299,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3210,7 +3325,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3222,7 +3337,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3248,7 +3363,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3268,7 +3383,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3280,7 +3395,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3306,7 +3421,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3328,7 +3443,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3342,7 +3457,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3368,7 +3483,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3382,7 +3497,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3410,7 +3525,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3422,7 +3537,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3448,7 +3563,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3470,7 +3585,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3490,7 +3605,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3515,7 +3630,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3542,7 +3657,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3576,7 +3691,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3610,7 +3725,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3640,7 +3755,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3672,7 +3787,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3696,7 +3811,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3720,7 +3835,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3748,7 +3863,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3768,7 +3883,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3792,7 +3907,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3816,7 +3931,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3828,13 +3943,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`View`](View.md).[`_getRootModalHost`](View.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3855,7 +3992,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3884,7 +4021,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3910,7 +4047,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3936,7 +4073,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3961,7 +4098,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3985,7 +4122,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4009,7 +4146,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4030,7 +4167,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4056,7 +4193,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4076,7 +4213,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4096,7 +4233,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4116,7 +4253,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4136,7 +4273,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4160,7 +4297,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4178,7 +4315,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4196,7 +4333,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4214,7 +4351,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4240,7 +4377,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4266,7 +4403,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4292,7 +4429,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4316,7 +4453,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4340,7 +4477,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4367,7 +4504,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4396,7 +4533,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4423,7 +4560,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4444,7 +4581,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4469,7 +4606,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4493,7 +4630,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4523,7 +4660,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4551,7 +4688,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4577,7 +4714,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4601,7 +4738,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4630,7 +4767,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4658,7 +4795,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4684,7 +4821,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4709,7 +4846,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4727,7 +4864,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4745,7 +4882,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4771,7 +4908,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4797,7 +4934,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4818,7 +4955,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4846,7 +4983,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4876,7 +5013,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4896,7 +5033,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4922,7 +5059,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4948,7 +5085,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4970,7 +5107,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4991,7 +5128,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5017,7 +5154,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5037,7 +5174,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5057,7 +5194,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5075,7 +5212,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5099,7 +5236,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5119,7 +5256,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5139,7 +5276,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5165,7 +5302,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5185,7 +5322,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5203,7 +5340,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5217,13 +5354,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`View`](View.md).[`getNativeWindow`](View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5243,7 +5405,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5275,7 +5437,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5307,7 +5469,7 @@ Returns the child view with the specified id. goBack(): any; ``` -Defined in: [ui/web-view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L89) +Defined in: [ui/web-view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L89) Navigates back. @@ -5323,7 +5485,7 @@ Navigates back. goForward(): any; ``` -Defined in: [ui/web-view/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L94) +Defined in: [ui/web-view/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L94) Navigates forward. @@ -5339,7 +5501,7 @@ Navigates forward. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5359,7 +5521,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5385,7 +5547,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5410,7 +5572,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5446,7 +5608,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5475,7 +5637,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5501,7 +5663,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5529,7 +5691,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5566,7 +5728,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5597,7 +5759,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5630,7 +5792,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/web-view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L111) +Defined in: [ui/web-view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L111) Adds a listener for the specified event name. @@ -5659,7 +5821,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/web-view/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L116) +Defined in: [ui/web-view/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L116) Raised when a loadFinished event occurs. @@ -5688,7 +5850,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/web-view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L121) +Defined in: [ui/web-view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L121) Raised when a loadStarted event occurs. @@ -5716,7 +5878,7 @@ Raised when a loadStarted event occurs. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5739,7 +5901,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5772,7 +5934,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5801,7 +5963,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5819,7 +5981,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5847,7 +6009,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5865,7 +6027,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5883,7 +6045,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reload(): any; ``` -Defined in: [ui/web-view/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L99) +Defined in: [ui/web-view/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L99) Reloads the current url. @@ -5902,7 +6064,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5930,7 +6092,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5950,7 +6112,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5970,7 +6132,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6008,7 +6170,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6035,7 +6197,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6060,7 +6222,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6084,7 +6246,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6111,7 +6273,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6139,7 +6301,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6159,7 +6321,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6186,7 +6348,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6212,7 +6374,7 @@ Shows the view passed as parameter as a modal view. stopLoading(): void; ``` -Defined in: [ui/web-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L84) +Defined in: [ui/web-view/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L84) Stops loading the current content (if any). @@ -6228,7 +6390,7 @@ Stops loading the current content (if any). toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6248,7 +6410,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6272,7 +6434,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6298,7 +6460,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6326,7 +6488,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6358,7 +6520,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6389,7 +6551,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6427,7 +6589,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6476,7 +6638,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6511,7 +6673,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6546,7 +6708,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6580,7 +6742,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6615,7 +6777,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/WindowBase.md b/content/api/classes/WindowBase.md new file mode 100644 index 00000000..cb8965ff --- /dev/null +++ b/content/api/classes/WindowBase.md @@ -0,0 +1,3518 @@ +--- +title: WindowBase +titleTemplate: :title - API / NativeScript +description: Cross-platform base for any window surface. Carries identity, role, state, lifecycle events and the native accessors. Surfaces that host a NativeScript view ... +contributors: false +--- + +Defined in: [native-window/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L35) + +Cross-platform base for any window surface. + +Carries identity, role, state, lifecycle events and the native accessors. +Surfaces that host a NativeScript view tree are [NativeWindow](NativeWindow.md) instances. + +## Extends + +- [`Observable`](Observable.md) + +## Extended by + +- [`NativeWindow`](NativeWindow.md) + +## Constructors + +### Constructor + +```ts +new WindowBase(): WindowBase; +``` + +#### Returns + +`WindowBase` + +#### Inherited from + +[`Observable`](Observable.md).[`constructor`](Observable.md#constructor) + +## Properties + +### android? + +```ts +readonly optional android?: { + activity: AppCompatActivity; +}; +``` + +Defined in: [native-window/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L71) + +The Android surface backing this window, or `undefined` when not running on Android +or when the activity is already gone. + +#### activity + +```ts +readonly activity: AppCompatActivity; +``` + +*** + +### id + +```ts +readonly id: string; +``` + +Defined in: [native-window/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L41) + +Stable identifier of this window, unique for the lifetime of the JS context. +Survives a detach/re-attach, so it can be used to correlate a window across +an iOS scene reconnect or an Android activity recreation. + +*** + +### ios? + +```ts +readonly optional ios?: { + scene?: UIWindowScene; + uiWindow: UIWindow; +}; +``` + +Defined in: [native-window/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L65) + +The iOS surface backing this window, or `undefined` when not running on iOS. +`scene` is absent for apps still on the pre-scene (window-only) lifecycle. + +#### scene? + +```ts +readonly optional scene?: UIWindowScene; +``` + +#### uiWindow + +```ts +readonly uiWindow: UIWindow; +``` + +*** + +### isPrimary + +```ts +readonly isPrimary: boolean; +``` + +Defined in: [native-window/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L59) + +Whether this is the application's primary window. + +At most one window is primary at a time. When the primary window closes another +attached window is promoted and `primaryWindowChanged` is raised on the Application. + +*** + +### role + +```ts +readonly role: WindowRole; +``` + +Defined in: [native-window/index.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L46) + +The purpose this window surface serves. + +*** + +### state + +```ts +readonly state: WindowState; +``` + +Defined in: [native-window/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L51) + +Where this window currently sits in its lifecycle. + +*** + +### propertyChangeEvent + +```ts +static propertyChangeEvent: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +String value used when hooking to propertyChange event. + +#### Ns Event + +propertyChange + +#### Inherited from + +[`Observable`](Observable.md).[`propertyChangeEvent`](Observable.md#propertychangeevent) + +## Methods + +### \_createPropertyChangeData() + +```ts +_createPropertyChangeData( + propertyName: string, + value: any, + oldValue?: any): PropertyChangeData; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +This method is intended to be overriden by inheritors to provide additional implementation. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `propertyName` | `string` | +| `value` | `any` | +| `oldValue?` | `any` | + +#### Returns + +[`PropertyChangeData`](../interfaces/PropertyChangeData.md) + +#### Inherited from + +[`Observable`](Observable.md).[`_createPropertyChangeData`](Observable.md#createpropertychangedata) + +*** + +### \_emit() + +```ts +_emit(eventName: string): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`_emit`](Observable.md#emit) + +*** + +### addEventListener() + +```ts +addEventListener( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Adds a listener for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | Name of the event to attach to. | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | A function to be called when some of the specified event(s) is raised. | +| `thisArg?` | `any` | An optional parameter which when set will be used as "this" in callback method call. | +| `once?` | `boolean` | An optional parameter which when set will cause the event listener to fire once. | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`addEventListener`](Observable.md#addeventlistener) + +*** + +### close() + +```ts +abstract close(): void; +``` + +Defined in: [native-window/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L79) + +Closes this window. + +Ends the window session: the native surface is dismissed, `close` is raised and the +window is dropped from the Application registry. + +#### Returns + +`void` + +*** + +### get() + +```ts +get(name: string): any; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Gets the value of the specified property. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | + +#### Returns + +`any` + +#### Inherited from + +[`Observable`](Observable.md).[`get`](Observable.md#get) + +*** + +### hasListeners() + +```ts +hasListeners(eventName: string): boolean; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Checks whether a listener is registered for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | The name of the event to check for. | + +#### Returns + +`boolean` + +#### Inherited from + +[`Observable`](Observable.md).[`hasListeners`](Observable.md#haslisteners) + +*** + +### notify() + +```ts +notify(data: T): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Notify this Observable instance with some data. This causes all event +handlers on the Observable instance to be called, as well as any 'global' +event handlers set on the instance's class. + +#### Type Parameters + +| Type Parameter | +| ------ | +| `T` *extends* `Optional`\<[`EventData`](../interfaces/EventData.md), `"object"`\> | + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `data` | `T` | an object that satisfies the EventData interface, though with an optional 'object' property. If left undefined, the 'object' property will implicitly be set as this Observable instance. | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`notify`](Observable.md#notify) + +*** + +### notifyPropertyChange() + +```ts +notifyPropertyChange( + name: string, + value: any, + oldValue?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Notifies all the registered listeners for the property change event. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | +| `oldValue?` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`notifyPropertyChange`](Observable.md#notifypropertychange) + +*** + +### off() + +#### Call Signature + +```ts +off( + event: "activate", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L218) + +Removes the listener(s) for the specified event name. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `event` | `"activate"` | - | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | An optional specific event listener to remove (if omitted, all event listeners by this name will be removed). | +| `thisArg?` | `any` | An optional parameter which, when set, will be used to refine search of the correct event listener to be removed. | + +##### Returns + +`void` + +##### Overrides + +[`Observable`](Observable.md).[`off`](Observable.md#off) + +#### Call Signature + +```ts +off( + event: "deactivate", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L219) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "background", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:220](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L220) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "foreground", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:221](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L221) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "attached", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L222) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "detached", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:223](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L223) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "close", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:224](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L224) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "displayed", + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L225) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "orientationChanged", + callback?: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:226](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L226) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback?` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "systemAppearanceChanged", + callback?: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:227](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L227) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback?` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "layoutDirectionChanged", + callback?: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:228](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L228) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback?` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityCreated", + callback?: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L229) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback?` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityDestroyed", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:230](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L230) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityStarted", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:231](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L231) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityPaused", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L232) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityResumed", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:233](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L233) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityStopped", + callback?: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:234](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L234) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback?` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "saveActivityState", + callback?: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:235](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L235) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback?` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityResult", + callback?: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L236) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback?` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityBackPressed", + callback?: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:237](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L237) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback?` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityNewIntent", + callback?: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:238](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L238) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback?` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "activityRequestPermissions", + callback?: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L239) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback?` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneWillConnect", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:240](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L240) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneDidActivate", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:241](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L241) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneWillResignActive", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:242](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L242) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneWillEnterForeground", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L243) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneDidEnterBackground", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L244) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneDidDisconnect", + callback?: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:245](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L245) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback?` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneOpenURLContexts", + callback?: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L246) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback?` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "sceneContinueUserActivity", + callback?: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:247](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L247) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback?` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + event: "scenePerformActionForShortcutItem", + callback?: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:248](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L248) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback?` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +#### Call Signature + +```ts +off( + eventName: string, + callback?: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:254](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L254) + +Removes a listener for the specified event name. Omitting the callback removes every +listener registered for that event on this window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.off +``` + +*** + +### on() + +#### Call Signature + +```ts +on( + event: "activate", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L84) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activate"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +[`Observable`](Observable.md).[`on`](Observable.md#on) + +#### Call Signature + +```ts +on( + event: "deactivate", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L89) + +Raised when the window loses focus. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "background", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L94) + +Raised when the window enters the background. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "foreground", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L99) + +Raised when the window enters the foreground. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "attached", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L105) + +Raised when a native surface is bound to the window - both on the first connect and +on every re-attach after a `detached`. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "detached", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L115) + +Raised when the native surface goes away while the window session stays alive +(iOS scene disconnect, Android activity recreation). + +The window stays registered on the Application and keeps its listeners, so the same +instance is handed back when a surface re-attaches and handlers registered before the +detach keep working afterwards. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "close", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L125) + +Raised when the window session ends for good. + +Fires exactly once per window. Listeners stay registered for the whole teardown, so a +handler added at any earlier point still observes it; immediately after it is +dispatched the framework drops every listener on the instance, so nothing registered +on a window outlives the window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "displayed", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L130) + +Raised after the window content has been displayed for the first time. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "orientationChanged", + callback: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L135) + +Raised when the orientation of this window changes. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "systemAppearanceChanged", + callback: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L140) + +Raised when the system appearance of this window changes between light and dark. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "layoutDirectionChanged", + callback: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L145) + +Raised when the layout direction of this window changes between ltr and rtl. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityCreated", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:147](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L147) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityDestroyed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L148) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityStarted", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L149) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityPaused", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:150](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L150) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityResumed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:151](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L151) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityStopped", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L152) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "saveActivityState", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:153](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L153) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityResult", + callback: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L154) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityBackPressed", + callback: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L155) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityNewIntent", + callback: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:156](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L156) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "activityRequestPermissions", + callback: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L157) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneWillConnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:158](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L158) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneDidActivate", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L159) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneWillResignActive", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:160](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L160) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneWillEnterForeground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:161](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L161) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneDidEnterBackground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L162) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneDidDisconnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:163](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L163) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L164) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:165](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L165) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L166) + +Raised when the window becomes the active/focused window. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +#### Call Signature + +```ts +on( + eventName: string, + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:178](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L178) + +Adds a listener for the specified event name. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | The name of the event. | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | The event listener to add. Will be called when an event of the given name is raised. | +| `thisArg?` | `any` | An optional parameter which, when set, will be bound as the `this` context when the callback is called. Falsy values will be not be bound. | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.on +``` + +*** + +### once() + +#### Call Signature + +```ts +once( + event: "activate", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L180) + +Adds a listener for the specified event name, which, once fired, will +remove itself. + +##### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `event` | `"activate"` | - | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | The event listener to add. Will be called when an event of the given name is raised. | +| `thisArg?` | `any` | An optional parameter which, when set, will be bound as the `this` context when the callback is called. Falsy values will be not be bound. | + +##### Returns + +`void` + +##### Overrides + +[`Observable`](Observable.md).[`once`](Observable.md#once) + +#### Call Signature + +```ts +once( + event: "deactivate", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:181](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L181) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"deactivate"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "background", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:182](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L182) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"background"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "foreground", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L183) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"foreground"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "attached", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:184](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L184) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"attached"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "detached", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:185](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L185) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"detached"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "close", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:186](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L186) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"close"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "displayed", + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L187) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"displayed"` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "orientationChanged", + callback: (data: WindowOrientationChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:188](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L188) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"orientationChanged"` | +| `callback` | (`data`: [`WindowOrientationChangedEventData`](../interfaces/WindowOrientationChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "systemAppearanceChanged", + callback: (data: WindowSystemAppearanceChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L189) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"systemAppearanceChanged"` | +| `callback` | (`data`: [`WindowSystemAppearanceChangedEventData`](../interfaces/WindowSystemAppearanceChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "layoutDirectionChanged", + callback: (data: WindowLayoutDirectionChangedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L190) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"layoutDirectionChanged"` | +| `callback` | (`data`: [`WindowLayoutDirectionChangedEventData`](../interfaces/WindowLayoutDirectionChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityCreated", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:191](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L191) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityCreated"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityDestroyed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L192) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityDestroyed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityStarted", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:193](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L193) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStarted"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityPaused", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L194) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityPaused"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityResumed", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:195](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L195) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResumed"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityStopped", + callback: (args: AndroidActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:196](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L196) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityStopped"` | +| `callback` | (`args`: [`AndroidActivityEventData`](../interfaces/AndroidActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "saveActivityState", + callback: (args: AndroidActivityBundleEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L197) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"saveActivityState"` | +| `callback` | (`args`: [`AndroidActivityBundleEventData`](../interfaces/AndroidActivityBundleEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityResult", + callback: (args: AndroidActivityResultEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L198) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityResult"` | +| `callback` | (`args`: [`AndroidActivityResultEventData`](../interfaces/AndroidActivityResultEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityBackPressed", + callback: (args: AndroidActivityBackPressedEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:199](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L199) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityBackPressed"` | +| `callback` | (`args`: [`AndroidActivityBackPressedEventData`](../interfaces/AndroidActivityBackPressedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityNewIntent", + callback: (args: AndroidActivityNewIntentEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:200](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L200) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityNewIntent"` | +| `callback` | (`args`: [`AndroidActivityNewIntentEventData`](../interfaces/AndroidActivityNewIntentEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "activityRequestPermissions", + callback: (args: AndroidActivityRequestPermissionsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L201) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"activityRequestPermissions"` | +| `callback` | (`args`: [`AndroidActivityRequestPermissionsEventData`](../interfaces/AndroidActivityRequestPermissionsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneWillConnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:202](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L202) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillConnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneDidActivate", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:203](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L203) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidActivate"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneWillResignActive", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L204) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillResignActive"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneWillEnterForeground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:205](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L205) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneWillEnterForeground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneDidEnterBackground", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:206](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L206) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidEnterBackground"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneDidDisconnect", + callback: (args: SceneEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:207](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L207) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneDidDisconnect"` | +| `callback` | (`args`: [`SceneEventData`](../interfaces/SceneEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L208) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:209](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L209) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:210](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L210) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +#### Call Signature + +```ts +once( + eventName: string, + callback: (data: WindowBaseEventData) => void, + thisArg?: any): void; +``` + +Defined in: [native-window/index.d.ts:216](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L216) + +Adds a listener for the specified event name that is removed as soon as it is raised +once. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`WindowBaseEventData`](../interfaces/WindowBaseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +##### Overrides + +```ts +Observable.once +``` + +*** + +### removeEventListener() + +```ts +removeEventListener( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Removes listener(s) for the specified event name. + +#### Parameters + +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `eventName` | `string` | Name of the event to attach to. | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | An optional parameter pointing to a specific listener. If not defined, all listeners for the event names will be removed. | +| `thisArg?` | `any` | An optional parameter which when set will be used to refine search of the correct callback which will be removed as event listener. | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`removeEventListener`](Observable.md#removeeventlistener) + +*** + +### set() + +```ts +set(name: string, value: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Updates the specified property with the provided value. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`set`](Observable.md#set) + +*** + +### setProperty() + +```ts +setProperty(name: string, value: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `name` | `string` | +| `value` | `any` | + +#### Returns + +`void` + +#### Inherited from + +[`Observable`](Observable.md).[`setProperty`](Observable.md#setproperty) + +*** + +### ~~addEventListener()~~ + +```ts +static addEventListener( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | +| `once?` | `boolean` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`Observable`](Observable.md).[`addEventListener`](Observable.md#addeventlistener-1) + +*** + +### ~~off()~~ + +```ts +static off( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`Observable`](Observable.md).[`off`](Observable.md#off-1) + +*** + +### ~~on()~~ + +```ts +static on( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any, + once?: boolean): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | +| `once?` | `boolean` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`Observable`](Observable.md).[`on`](Observable.md#on-1) + +*** + +### ~~once()~~ + +```ts +static once( + eventName: string, + callback: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`Observable`](Observable.md).[`once`](Observable.md#once-1) + +*** + +### ~~removeEventListener()~~ + +```ts +static removeEventListener( + eventName: string, + callback?: (data: EventData) => void, + thisArg?: any): void; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +Please avoid using the static event-handling APIs as they will be removed +in future. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `eventName` | `string` | +| `callback?` | (`data`: [`EventData`](../interfaces/EventData.md)) => `void` | +| `thisArg?` | `any` | + +#### Returns + +`void` + +#### Deprecated + +#### Inherited from + +[`Observable`](Observable.md).[`removeEventListener`](Observable.md#removeeventlistener-1) diff --git a/content/api/classes/WrapLayout.md b/content/api/classes/WrapLayout.md index 4b965618..9171fed0 100644 --- a/content/api/classes/WrapLayout.md +++ b/content/api/classes/WrapLayout.md @@ -5,7 +5,7 @@ description: WrapLayout position children in rows or columns depending on orient contributors: false --- -Defined in: [ui/layouts/wrap-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L12) +Defined in: [ui/layouts/wrap-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L12) WrapLayout position children in rows or columns depending on orientation property until space is filled and then wraps them on new row or column. @@ -26,7 +26,7 @@ WrapLayout new WrapLayout(): WrapLayout; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -44,7 +44,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -60,7 +60,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -74,7 +74,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -102,7 +102,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -116,7 +116,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -130,7 +130,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -158,7 +158,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -172,7 +172,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -186,7 +186,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -200,7 +200,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -214,7 +214,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -228,7 +228,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -236,13 +236,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_nativeWindow`](LayoutBase.md#nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -256,7 +274,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -270,7 +288,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -284,7 +302,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -298,7 +316,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -312,7 +330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -332,7 +350,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -350,7 +368,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -368,7 +386,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -388,7 +406,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -404,7 +422,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -422,7 +440,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -441,7 +459,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -459,7 +477,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -477,7 +495,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -495,7 +513,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -513,7 +531,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -531,7 +549,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -549,7 +567,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -567,7 +585,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -583,7 +601,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -601,7 +619,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -619,7 +637,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -633,7 +651,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -649,7 +667,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -667,7 +685,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -685,7 +703,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -703,7 +721,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -721,7 +739,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -739,7 +757,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -757,7 +775,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -775,7 +793,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -793,7 +811,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -811,7 +829,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -829,7 +847,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -851,7 +869,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -869,7 +887,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -887,7 +905,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -905,7 +923,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -923,7 +941,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -941,7 +959,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -959,7 +977,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -981,7 +999,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -999,7 +1017,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -1017,7 +1035,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1035,7 +1053,7 @@ Gets or sets the CSS class name for this view. clipToBounds: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L106) +Defined in: [ui/layouts/layout-base.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L106) Gets or sets a value indicating whether to clip the content of this layout. @@ -1053,7 +1071,7 @@ Gets or sets a value indicating whether to clip the content of this layout. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1071,7 +1089,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1089,7 +1107,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1107,7 +1125,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1125,7 +1143,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1141,7 +1159,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1155,7 +1173,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1169,7 +1187,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1186,7 +1204,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1204,7 +1222,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1222,7 +1240,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1240,7 +1258,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1254,7 +1272,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1268,7 +1286,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1282,7 +1300,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1296,7 +1314,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1304,13 +1322,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveColumnGap`](LayoutBase.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1324,7 +1356,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1338,7 +1370,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1352,7 +1384,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1366,7 +1398,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1380,7 +1412,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1388,13 +1420,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxHeight`](LayoutBase.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveMaxWidth`](LayoutBase.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1408,7 +1468,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1416,13 +1476,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`effectiveRowGap`](LayoutBase.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1436,7 +1510,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1450,7 +1524,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1468,7 +1542,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1486,7 +1560,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1504,7 +1578,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1522,7 +1596,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1540,7 +1614,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1558,7 +1632,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1576,7 +1650,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1594,7 +1668,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1612,7 +1686,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1628,7 +1702,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1644,7 +1718,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1662,7 +1736,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1680,7 +1754,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1698,7 +1772,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1716,7 +1790,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1734,7 +1808,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:1130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1130) +Defined in: [ui/core/view/index.d.ts:1187](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1187) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true @@ -1752,7 +1826,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1770,7 +1844,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1788,7 +1862,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1806,7 +1880,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1822,7 +1896,7 @@ Gets if layout is valid. This is a read-only property. isPassThroughParentEnabled: boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L115) +Defined in: [ui/layouts/layout-base.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L115) Gets or sets a value indicating whether touch event should pass through to a parent view of the layout container in case an interactive child view did not handle it. @@ -1842,7 +1916,7 @@ Default value of this property is false. This does not affect the appearance of isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1860,7 +1934,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi itemHeight: LengthType; ``` -Defined in: [ui/layouts/wrap-layout/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L35) +Defined in: [ui/layouts/wrap-layout/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L35) Gets or sets the height used to measure and layout each child. Default value is Number.NaN which does not restrict children. @@ -1875,7 +1949,7 @@ Default value is Number.NaN which does not restrict children. itemWidth: LengthType; ``` -Defined in: [ui/layouts/wrap-layout/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L27) +Defined in: [ui/layouts/wrap-layout/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L27) Gets or sets the width used to measure and layout each child. Default value is Number.NaN which does not restrict children. @@ -1890,7 +1964,7 @@ Default value is Number.NaN which does not restrict children. left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1913,7 +1987,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1931,7 +2005,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1949,7 +2023,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1967,7 +2041,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1985,7 +2059,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1997,58 +2071,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) +[`LayoutBase`](LayoutBase.md).[`maxHeight`](LayoutBase.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) +[`LayoutBase`](LayoutBase.md).[`maxWidth`](LayoutBase.md#maxwidth) *** -### mIsRootView +### minHeight ```ts -mIsRootView: boolean; +minHeight: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +#### Ns Property #### Inherited from -[`LayoutBase`](LayoutBase.md).[`mIsRootView`](LayoutBase.md#misrootview) +[`LayoutBase`](LayoutBase.md).[`minHeight`](LayoutBase.md#minheight) + +*** + +### minWidth + +```ts +minWidth: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) + +Gets or sets the minimum width the view may grow to. + +#### Ns Property + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`minWidth`](LayoutBase.md#minwidth) *** @@ -2058,7 +2151,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -2074,7 +2167,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2090,7 +2183,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2106,7 +2199,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2124,7 +2217,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2142,7 +2235,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a orientation: OrientationType; ``` -Defined in: [ui/layouts/wrap-layout/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L19) +Defined in: [ui/layouts/wrap-layout/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/wrap-layout/index.d.ts#L19) Gets or sets the flow direction. Default value is horizontal. If orientation is horizontal items are arranged in rows, else items are arranged in columns. @@ -2157,7 +2250,7 @@ If orientation is horizontal items are arranged in rows, else items are arranged originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2175,7 +2268,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2197,7 +2290,7 @@ padding: | LengthPxUnit; ``` -Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L71) +Defined in: [ui/layouts/layout-base.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L71) Gets or sets padding style property. @@ -2215,7 +2308,7 @@ Gets or sets padding style property. paddingBottom: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L78) +Defined in: [ui/layouts/layout-base.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L78) Specify the bottom padding of this layout. @@ -2233,7 +2326,7 @@ Specify the bottom padding of this layout. paddingLeft: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L85) +Defined in: [ui/layouts/layout-base.d.ts:85](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L85) Specify the left padding of this layout. @@ -2251,7 +2344,7 @@ Specify the left padding of this layout. paddingRight: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L92) +Defined in: [ui/layouts/layout-base.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L92) Specify the right padding of this layout. @@ -2269,7 +2362,7 @@ Specify the right padding of this layout. paddingTop: LengthType; ``` -Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L99) +Defined in: [ui/layouts/layout-base.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L99) Specify the top padding of this layout. @@ -2287,7 +2380,7 @@ Specify the top padding of this layout. parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2303,7 +2396,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2322,7 +2415,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2336,7 +2429,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2354,7 +2447,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2372,7 +2465,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2390,7 +2483,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2408,7 +2501,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2426,7 +2519,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2444,7 +2537,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2462,7 +2555,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2480,7 +2573,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2498,7 +2591,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2516,7 +2609,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2543,7 +2636,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2559,7 +2652,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2579,7 +2672,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2595,7 +2688,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2611,7 +2704,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2627,7 +2720,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2645,7 +2738,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2663,7 +2756,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2681,7 +2774,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2697,7 +2790,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2715,7 +2808,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2733,7 +2826,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2751,7 +2844,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2769,7 +2862,7 @@ Gets or sets the desired width of the view. static accessibilityBlurEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L79) +Defined in: [ui/core/view/index.d.ts:89](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L89) String value used when hooking to accessibilityBlur event. @@ -2789,7 +2882,7 @@ accessibilityBlur static accessibilityFocusChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L93) +Defined in: [ui/core/view/index.d.ts:103](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L103) String value used when hooking to accessibilityFocusChanged event. @@ -2809,7 +2902,7 @@ accessibilityFocusChanged static accessibilityFocusEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:86](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L86) +Defined in: [ui/core/view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L96) String value used when hooking to accessibilityFocus event. @@ -2829,7 +2922,7 @@ accessibilityFocus static accessibilityPerformEscapeEvent: string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -2843,7 +2936,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native static androidOverflowInsetEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L100) +Defined in: [ui/core/view/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L110) String value used when hooking to androidOverflowInset event. @@ -2857,13 +2950,35 @@ androidOverflowInset *** +### closedModallyEvent + +```ts +static closedModallyEvent: string; +``` + +Defined in: [ui/core/view/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L82) + +String value used when hooking to closedModally event. Fired on the +modal view once its native dismissal has fully completed (after the +close callback and UI teardown). + +#### Ns Event + +closedModally + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`closedModallyEvent`](LayoutBase.md#closedmodallyevent) + +*** + ### createdEvent ```ts static createdEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to creation event @@ -2883,7 +2998,7 @@ created static disposeNativeViewEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to disposeNativeView event @@ -2903,7 +3018,7 @@ disposeNativeView static layoutChangedEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L59) +Defined in: [ui/core/view/index.d.ts:60](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L60) String value used when hooking to layoutChanged event. @@ -2923,7 +3038,7 @@ layoutChanged static loadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to loaded event. @@ -2943,7 +3058,7 @@ loaded static propertyChangeEvent: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) String value used when hooking to propertyChange event. @@ -2963,7 +3078,7 @@ propertyChange static showingModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L65) +Defined in: [ui/core/view/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L66) String value used when hooking to showingModally event. @@ -2983,7 +3098,7 @@ showingModally static shownModallyEvent: string; ``` -Defined in: [ui/core/view/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L72) +Defined in: [ui/core/view/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L73) String value used when hooking to shownModally event. @@ -3003,7 +3118,7 @@ shownModally static unloadedEvent: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) String value used when hooking to unloaded event. @@ -3025,7 +3140,7 @@ unloaded get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3037,7 +3152,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3063,7 +3178,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3075,7 +3190,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3101,7 +3216,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3113,7 +3228,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3139,7 +3254,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3151,7 +3266,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3177,7 +3292,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3189,7 +3304,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3215,7 +3330,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3227,7 +3342,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3253,7 +3368,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3265,7 +3380,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3291,7 +3406,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3303,7 +3418,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3329,7 +3444,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3349,7 +3464,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -3361,7 +3476,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3387,7 +3502,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -3409,7 +3524,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -3423,7 +3538,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3449,7 +3564,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3463,7 +3578,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3491,7 +3606,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3503,7 +3618,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3529,7 +3644,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3551,7 +3666,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3571,7 +3686,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3596,7 +3711,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3623,7 +3738,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3657,7 +3772,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3691,7 +3806,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3721,7 +3836,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3753,7 +3868,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3777,7 +3892,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3801,7 +3916,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3829,7 +3944,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3849,7 +3964,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3873,7 +3988,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3897,7 +4012,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3909,13 +4024,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](ViewBase.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`_getRootModalHost`](LayoutBase.md#getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3936,7 +4073,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3965,7 +4102,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3991,7 +4128,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -4017,7 +4154,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4042,7 +4179,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4066,7 +4203,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4090,7 +4227,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4111,7 +4248,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4137,7 +4274,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -4157,7 +4294,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -4177,7 +4314,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4197,7 +4334,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -4217,7 +4354,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4241,7 +4378,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4259,7 +4396,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4277,7 +4414,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -4295,7 +4432,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _registerLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L53) +Defined in: [ui/layouts/layout-base.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L53) INTERNAL. Used by the layout system. @@ -4321,7 +4458,7 @@ INTERNAL. Used by the layout system. _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -4347,7 +4484,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4373,7 +4510,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -4399,7 +4536,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4423,7 +4560,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4447,7 +4584,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4474,7 +4611,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4503,7 +4640,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4530,7 +4667,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4551,7 +4688,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4576,7 +4713,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4600,7 +4737,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4627,7 +4764,7 @@ This method should *not* be overridden by derived views. _unregisterLayoutChild(child: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L58) +Defined in: [ui/layouts/layout-base.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L58) INTERNAL. Used by the layout system. @@ -4656,7 +4793,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4684,7 +4821,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4710,7 +4847,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4730,7 +4867,7 @@ Announce screen changed addChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L30) +Defined in: [ui/layouts/layout-base.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L30) Adds the view to children array. @@ -4760,7 +4897,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4789,7 +4926,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4817,7 +4954,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4843,7 +4980,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4868,7 +5005,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4886,7 +5023,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4904,7 +5041,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4930,7 +5067,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4956,7 +5093,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4977,7 +5114,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5005,7 +5142,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -5035,7 +5172,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -5055,7 +5192,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -5081,7 +5218,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -5107,7 +5244,7 @@ Iterates over children of type View. eachLayoutChild(callback: (child: View, isLast: boolean) => void): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L64) +Defined in: [ui/layouts/layout-base.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L64) Calls the callback for each child that should be laid out. @@ -5133,7 +5270,7 @@ Calls the callback for each child that should be laid out. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5155,7 +5292,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -5176,7 +5313,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -5202,7 +5339,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -5222,7 +5359,7 @@ Returns the actual size of the view in device-independent pixels. getChildAt(index: number): View; ``` -Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L18) +Defined in: [ui/layouts/layout-base.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L18) Returns the view at the specified position. @@ -5248,7 +5385,7 @@ Returns the view at the specified position. getChildIndex(child: View): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L24) +Defined in: [ui/layouts/layout-base.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L24) Returns the position of the child view @@ -5274,7 +5411,7 @@ Returns the position of the child view getChildrenCount(): number; ``` -Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L12) +Defined in: [ui/layouts/layout-base.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L12) Returns the number of children in this Layout. @@ -5294,7 +5431,7 @@ Returns the number of children in this Layout. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -5314,7 +5451,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5332,7 +5469,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -5356,7 +5493,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -5376,7 +5513,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -5396,7 +5533,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -5422,7 +5559,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -5442,7 +5579,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -5460,7 +5597,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -5474,13 +5611,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`LayoutBase`](LayoutBase.md).[`getNativeWindow`](LayoutBase.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -5500,7 +5662,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -5532,7 +5694,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -5564,7 +5726,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5584,7 +5746,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5610,7 +5772,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5630,7 +5792,7 @@ Initializes properties/listeners of the native view. insertChild(child: View, atIndex: number): boolean; ``` -Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L37) +Defined in: [ui/layouts/layout-base.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L37) Inserts the view to children array at the specified index. @@ -5662,7 +5824,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5698,7 +5860,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5727,7 +5889,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5753,7 +5915,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5781,7 +5943,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5818,7 +5980,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5849,7 +6011,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5882,7 +6044,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5911,7 +6073,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5940,7 +6102,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5969,7 +6131,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5999,7 +6161,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -6028,7 +6190,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -6057,7 +6219,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -6085,7 +6247,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -6108,7 +6270,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -6141,7 +6303,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -6170,7 +6332,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -6188,7 +6350,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -6216,7 +6378,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6234,7 +6396,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -6252,7 +6414,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS removeChild(view: View): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L43) +Defined in: [ui/layouts/layout-base.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L43) Removes the specified view from the children array. @@ -6278,7 +6440,7 @@ Removes the specified view from the children array. removeChildren(): void; ``` -Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/layout-base.d.ts#L48) +Defined in: [ui/layouts/layout-base.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/layout-base.d.ts#L48) Removes all views in this layout. @@ -6301,7 +6463,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -6329,7 +6491,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -6349,7 +6511,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -6369,7 +6531,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -6407,7 +6569,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -6434,7 +6596,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6459,7 +6621,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6483,7 +6645,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -6510,7 +6672,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -6538,7 +6700,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -6558,7 +6720,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -6585,7 +6747,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -6611,7 +6773,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -6631,7 +6793,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -6655,7 +6817,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6681,7 +6843,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -6709,7 +6871,7 @@ static addEventListener( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6741,7 +6903,7 @@ in future. static combineMeasuredStates(curState: number, newState: any): number; ``` -Defined in: [ui/core/view/index.d.ts:781](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L781) +Defined in: [ui/core/view/index.d.ts:807](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L807) #### Parameters @@ -6772,7 +6934,7 @@ static layoutChild( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:769](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L769) +Defined in: [ui/core/view/index.d.ts:795](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L795) Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds. @@ -6810,7 +6972,7 @@ static measureChild( }; ``` -Defined in: [ui/core/view/index.d.ts:759](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L759) +Defined in: [ui/core/view/index.d.ts:785](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L785) Measure a child by taking into account its margins and a given measureSpecs. @@ -6859,7 +7021,7 @@ static off( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6894,7 +7056,7 @@ static on( once?: boolean): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6929,7 +7091,7 @@ static once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6963,7 +7125,7 @@ static removeEventListener( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Please avoid using the static event-handling APIs as they will be removed in future. @@ -6998,7 +7160,7 @@ static resolveSizeAndState( childMeasuredState: number): number; ``` -Defined in: [ui/core/view/index.d.ts:779](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L779) +Defined in: [ui/core/view/index.d.ts:805](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L805) Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size diff --git a/content/api/classes/WrappedValue.md b/content/api/classes/WrappedValue.md index 7996a2e9..0ddc6928 100644 --- a/content/api/classes/WrappedValue.md +++ b/content/api/classes/WrappedValue.md @@ -5,7 +5,7 @@ description: Helper class that is used to fire property change even when real ob contributors: false --- -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Helper class that is used to fire property change even when real object is the same. By default property change will not be fired for a same object. @@ -19,7 +19,7 @@ By wrapping object into a WrappedValue instance `same object restriction` will b new WrappedValue(wrapped: any): WrappedValue; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Creates an instance of WrappedValue object. @@ -41,7 +41,7 @@ Creates an instance of WrappedValue object. wrapped: any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Property which holds the real value. @@ -53,7 +53,7 @@ Property which holds the real value. static unwrap(value: any): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the real value of previously wrappedValue. @@ -75,7 +75,7 @@ Gets the real value of previously wrappedValue. static wrap(value: any): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Returns an instance of WrappedValue. The actual instance is get from a WrappedValues pool. diff --git a/content/api/classes/XmlParser.md b/content/api/classes/XmlParser.md index 3450aa76..c02cbae0 100644 --- a/content/api/classes/XmlParser.md +++ b/content/api/classes/XmlParser.md @@ -5,7 +5,7 @@ description: A simple non-validating SAX parser based on https://github.com/vfla contributors: false --- -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) A simple non-validating SAX parser based on https://github.com/vflash/easysax version 0.1.14 @@ -20,7 +20,7 @@ new XmlParser( processNamespaces?: boolean): XmlParser; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Creates a new instance of the XmlParser class. @@ -46,7 +46,7 @@ Creates a new instance of the XmlParser class. get angularSyntax(): boolean; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) ##### Returns @@ -58,7 +58,7 @@ Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0 set angularSyntax(value: boolean): void; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) ##### Parameters @@ -78,7 +78,7 @@ Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0 parse(xmlString: string): void; ``` -Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/xml/index.ts) +Defined in: [xml/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/xml/index.ts) Parses the supplied xml string. diff --git a/content/api/classes/iOSApplication.md b/content/api/classes/iOSApplication.md index a50270b2..15377111 100644 --- a/content/api/classes/iOSApplication.md +++ b/content/api/classes/iOSApplication.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [application/application.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L152) +Defined in: [application/application.d.ts:175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L175) ## Extends @@ -12,19 +12,17 @@ Defined in: [application/application.d.ts:152](https://github.com/NativeScript/N ## Properties -### autoSystemAppearanceChanged +### \_windows ```ts -autoSystemAppearanceChanged: boolean; +protected _windows: NativeWindow[]; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -Boolean to enable/disable systemAppearanceChanged +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`autoSystemAppearanceChanged`](ApplicationCommon.md#autosystemappearancechanged) +[`ApplicationCommon`](ApplicationCommon.md).[`_windows`](ApplicationCommon.md#windows) *** @@ -34,7 +32,7 @@ Boolean to enable/disable systemAppearanceChanged readonly backgroundEvent: "background" = "background"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -48,7 +46,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly cssChangedEvent: "cssChanged" = "cssChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -62,7 +60,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly discardedErrorEvent: "discardedError" = "discardedError"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -76,7 +74,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly displayedEvent: "displayed" = "displayed"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -90,7 +88,10 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly exitEvent: "exit" = "exit"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +On Android, raised when the last window closes; the process may stay alive. +On iOS, raised when the process itself terminates. #### Inherited from @@ -104,7 +105,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly fontScaleChangedEvent: "fontScaleChanged" = "fontScaleChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -118,7 +119,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly foregroundEvent: "foreground" = "foreground"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -132,7 +133,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ hasListeners: (eventName: string) => boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -156,7 +157,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly initRootViewEvent: "initRootView" = "initRootView"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -164,13 +165,17 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### launchEvent +### ~~launchEvent~~ ```ts readonly launchEvent: "launch" = "launch"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Deprecated + +Use the 'ready' event for application initialization and Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire before the first window's content is created, and its 'root' property is still honored, for backwards compatibility. It never fires for additional windows. In a scene-based app it fires with the first window's content, so a background launch that connects no scene does not raise it. #### Inherited from @@ -184,7 +189,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly layoutDirectionChangedEvent: "layoutDirectionChanged" = "layoutDirectionChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -198,7 +203,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly livesyncEvent: "livesync" = "livesync"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -212,7 +217,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly loadAppCssEvent: "loadAppCss" = "loadAppCss"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -226,7 +231,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ readonly lowMemoryEvent: "lowMemory" = "lowMemory"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -240,7 +245,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected mainEntry: NavigationEntry; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from @@ -254,7 +259,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ notify: (eventData: T) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -284,7 +289,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -307,11 +312,26 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### on ```ts -on: { +on: IOSApplicationOn; +``` + +Defined in: [application/application.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L176) + +#### Overrides + +[`ApplicationCommon`](ApplicationCommon.md).[`on`](ApplicationCommon.md#on) + +*** + +### once + +```ts +once: { (eventNames: string, callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -323,10 +343,16 @@ on: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -420,6 +446,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -501,6 +550,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -675,42 +727,12 @@ between ltr and rtl. `void` -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`on`](ApplicationCommon.md#on) - -*** - -### once - -```ts -once: { - (eventNames: string, callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; - (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; - (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "exit", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "lowMemory", callback: (args: ApplicationEventData) => void, thisArg?: any): void; - (event: "uncaughtError", callback: (args: UnhandledErrorEventData) => void, thisArg?: any): void; - (event: "discardedError", callback: (args: DiscardedErrorEventData) => void, thisArg?: any): void; - (event: "orientationChanged", callback: (args: OrientationChangedEventData) => void, thisArg?: any): void; - (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; - (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; - (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; -}; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - #### Call Signature ```ts ( - eventNames: string, - callback: (args: ApplicationEventData) => void, + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, thisArg?: any): void; ``` @@ -718,8 +740,8 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ | Parameter | Type | | ------ | ------ | -| `eventNames` | `string` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns @@ -730,19 +752,17 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ```ts ( - event: "cssChanged", - callback: (args: CssChangedEventData) => void, + event: "windowClose", + callback: (args: WindowCloseEventData) => void, thisArg?: any): void; ``` -This event is raised when application css is changed. - ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"cssChanged"` | -| `callback` | (`args`: [`CssChangedEventData`](../interfaces/CssChangedEventData.md)) => `void` | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns @@ -753,19 +773,17 @@ This event is raised when application css is changed. ```ts ( - event: "livesync", - callback: (args: ApplicationEventData) => void, + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; ``` -Event raised then livesync operation is performed. - ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"livesync"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns @@ -776,19 +794,17 @@ Event raised then livesync operation is performed. ```ts ( - event: "launch", - callback: (args: LaunchEventData) => void, + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; ``` -This event is raised on application launchEvent. - ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"launch"` | -| `callback` | (`args`: [`LaunchEventData`](../interfaces/LaunchEventData.md)) => `void` | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns @@ -799,22 +815,17 @@ This event is raised on application launchEvent. ```ts ( - event: "displayed", - callback: (args: ApplicationEventData) => void, + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; ``` -**`Experimental`** - -This event is raised after the application has performed most of its startup actions. -Its intent is to be suitable for measuring app startup times. - ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"displayed"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns @@ -825,346 +836,255 @@ Its intent is to be suitable for measuring app startup times. ```ts ( - event: "suspend", - callback: (args: ApplicationEventData) => void, + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; ``` -This event is raised when the Application is suspended. - ##### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"suspend"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | | `thisArg?` | `any` | ##### Returns `void` -#### Call Signature +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`once`](ApplicationCommon.md#once) + +*** + +### onSceneConfiguration ```ts -( - event: "resume", - callback: (args: ApplicationEventData) => void, - thisArg?: any): void; +onSceneConfiguration: (application: UIApplication, connectingSceneSession: UISceneSession, options: UISceneConnectionOptions) => any; ``` -This event is raised when the Application is resumed after it has been suspended. +Defined in: [application/application.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L358) -##### Parameters +Register a callback to intercept scene configuration. + +Called for every new scene session. Return a `UISceneConfiguration` to handle +the scene yourself (e.g. CarPlay, external display), or return `null`/`undefined` +to let NativeScript handle it with the default SceneDelegate. + +NativeScript only auto-manages `UIWindowSceneSessionRoleApplication` scenes. +All other scene roles are ignored unless you provide a configuration here. + +#### Parameters | Parameter | Type | | ------ | ------ | -| `event` | `"resume"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | -| `thisArg?` | `any` | +| `application` | `UIApplication` | +| `connectingSceneSession` | `UISceneSession` | +| `options` | `UISceneConnectionOptions` | -##### Returns +#### Returns -`void` +`any` -#### Call Signature +#### Example ```ts -( - event: "exit", - callback: (args: ApplicationEventData) => void, - thisArg?: any): void; +Application.ios.onSceneConfiguration = (app, session, options) => { + if (session.role === CPTemplateApplicationSceneSessionRoleApplication) { + const config = UISceneConfiguration.configurationWithNameSessionRole('CarPlay', session.role); + config.delegateClass = MyCarPlaySceneDelegate; + return config; + } + return null; +}; ``` -This event is raised when the Application is about to exit. +*** -##### Parameters +### orientationChangedEvent -| Parameter | Type | -| ------ | ------ | -| `event` | `"exit"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | -| `thisArg?` | `any` | +```ts +readonly orientationChangedEvent: "orientationChanged" = "orientationChanged"; +``` -##### Returns +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -`void` +#### Inherited from -#### Call Signature +[`ApplicationCommon`](ApplicationCommon.md).[`orientationChangedEvent`](ApplicationCommon.md#orientationchangedevent) + +*** + +### primaryWindowChangedEvent ```ts -( - event: "lowMemory", - callback: (args: ApplicationEventData) => void, - thisArg?: any): void; +readonly primaryWindowChangedEvent: "primaryWindowChanged"; ``` -This event is raised when there is low memory on the target device. - -##### Parameters +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -| Parameter | Type | -| ------ | ------ | -| `event` | `"lowMemory"` | -| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | -| `thisArg?` | `any` | +#### Inherited from -##### Returns +[`ApplicationCommon`](ApplicationCommon.md).[`primaryWindowChangedEvent`](ApplicationCommon.md#primarywindowchangedevent) -`void` +*** -#### Call Signature +### readyEvent ```ts -( - event: "uncaughtError", - callback: (args: UnhandledErrorEventData) => void, - thisArg?: any): void; +readonly readyEvent: "ready" = "ready"; ``` -This event is raised when an uncaught error occurs while the application is running. +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -##### Parameters +Raised once per JS context, as soon as the context is initialized. It is never deferred, +so it also fires on a background launch where no window is created. -| Parameter | Type | -| ------ | ------ | -| `event` | `"uncaughtError"` | -| `callback` | (`args`: [`UnhandledErrorEventData`](../interfaces/UnhandledErrorEventData.md)) => `void` | -| `thisArg?` | `any` | +Guaranteed ordering: `ready` -\> `windowOpen` -\> raw connect/create events -\> content +resolution (the legacy `launch` bridge runs here, for the first window only) -\> +`contentLoaded` -\> `activate`/`displayed`. -##### Returns +#### Inherited from -`void` +[`ApplicationCommon`](ApplicationCommon.md).[`readyEvent`](ApplicationCommon.md#readyevent) -#### Call Signature +*** + +### resumeEvent ```ts -( - event: "discardedError", - callback: (args: DiscardedErrorEventData) => void, - thisArg?: any): void; +readonly resumeEvent: "resume" = "resume"; ``` -This event is raised when an discarded error occurs while the application is running. - -##### Parameters +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -| Parameter | Type | -| ------ | ------ | -| `event` | `"discardedError"` | -| `callback` | (`args`: [`DiscardedErrorEventData`](../interfaces/DiscardedErrorEventData.md)) => `void` | -| `thisArg?` | `any` | +#### Inherited from -##### Returns +[`ApplicationCommon`](ApplicationCommon.md).[`resumeEvent`](ApplicationCommon.md#resumeevent) -`void` +*** -#### Call Signature +### sceneDelegate ```ts -( - event: "orientationChanged", - callback: (args: OrientationChangedEventData) => void, - thisArg?: any): void; +sceneDelegate: UIWindowSceneDelegate; ``` -This event is raised when the orientation of the application changes. - -##### Parameters - -| Parameter | Type | -| ------ | ------ | -| `event` | `"orientationChanged"` | -| `callback` | (`args`: [`OrientationChangedEventData`](../interfaces/OrientationChangedEventData.md)) => `void` | -| `thisArg?` | `any` | +Defined in: [application/application.d.ts:334](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L334) -##### Returns +The scene delegate for the application. +Get the current one or set a custom one. -`void` +*** -#### Call Signature +### ~~shouldDelayLaunchEvent~~ ```ts -( - event: "systemAppearanceChanged", - callback: (args: SystemAppearanceChangedEventData) => void, - thisArg?: any): void; +shouldDelayLaunchEvent: boolean; ``` -This event is raised when the operating system appearance changes -between light and dark theme (for Android); -between light and dark mode (for iOS) and vice versa. +Defined in: [application/application.d.ts:370](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L370) -##### Parameters +Delays the 'launch' event, and with it the creation of the first window's content, until the +app first becomes active, instead of raising it while the app finishes launching. -| Parameter | Type | -| ------ | ------ | -| `event` | `"systemAppearanceChanged"` | -| `callback` | (`args`: [`SystemAppearanceChangedEventData`](../interfaces/SystemAppearanceChangedEventData.md)) => `void` | -| `thisArg?` | `any` | +Applies to non-scene apps only. It has no effect in a scene-based app, where each window's +content is resolved as its scene connects. -##### Returns +#### Deprecated -`void` +Use the 'ready' event for application initialization, and +Application.setWindowContentResolver() to provide window UI. -#### Call Signature +*** + +### started ```ts -( - event: "layoutDirectionChanged", - callback: (args: LayoutDirectionChangedEventData) => void, - thisArg?: any): void; -``` - -This event is raised when the operating system layout direction changes -between ltr and rtl. - -##### Parameters - -| Parameter | Type | -| ------ | ------ | -| `event` | `"layoutDirectionChanged"` | -| `callback` | (`args`: [`LayoutDirectionChangedEventData`](../interfaces/LayoutDirectionChangedEventData.md)) => `void` | -| `thisArg?` | `any` | - -##### Returns - -`void` - -#### Call Signature - -```ts -( - event: "fontScaleChanged", - callback: (args: FontScaleChangedEventData) => void, - thisArg?: any): void; +started: boolean; ``` -##### Parameters - -| Parameter | Type | -| ------ | ------ | -| `event` | `"fontScaleChanged"` | -| `callback` | (`args`: [`FontScaleChangedEventData`](../interfaces/FontScaleChangedEventData.md)) => `void` | -| `thisArg?` | `any` | - -##### Returns - -`void` +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`once`](ApplicationCommon.md#once) +[`ApplicationCommon`](ApplicationCommon.md).[`started`](ApplicationCommon.md#started) *** -### orientationChangedEvent +### suspendEvent ```ts -readonly orientationChangedEvent: "orientationChanged" = "orientationChanged"; +readonly suspendEvent: "suspend" = "suspend"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) -#### Inherited from - -[`ApplicationCommon`](ApplicationCommon.md).[`orientationChangedEvent`](ApplicationCommon.md#orientationchangedevent) - -*** - -### resumeEvent - -```ts -readonly resumeEvent: "resume" = "resume"; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Reflects whole-app state: with multiple windows it is raised once the app itself is +no longer in the foreground, not when an individual window backgrounds. Listen on a +NativeWindow for per-window state. #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`resumeEvent`](ApplicationCommon.md#resumeevent) - -*** - -### sceneDelegate - -```ts -sceneDelegate: UIWindowSceneDelegate; -``` - -Defined in: [application/application.d.ts:267](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L267) - -The scene delegate for the application. -Get the current one or set a custom one. - -*** - -### shouldDelayLaunchEvent - -```ts -shouldDelayLaunchEvent: boolean; -``` - -Defined in: [application/application.d.ts:273](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L273) - -Flag to be set when the launch event should be delayed until the application has become active. -This is useful when you want to process notifications or data in the background without creating the UI. +[`ApplicationCommon`](ApplicationCommon.md).[`suspendEvent`](ApplicationCommon.md#suspendevent) *** -### started +### systemAppearanceChangedEvent ```ts -started: boolean; +readonly systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`started`](ApplicationCommon.md#started) +[`ApplicationCommon`](ApplicationCommon.md).[`systemAppearanceChangedEvent`](ApplicationCommon.md#systemappearancechangedevent) *** -### suspendEvent +### uncaughtErrorEvent ```ts -readonly suspendEvent: "suspend" = "suspend"; +readonly uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`suspendEvent`](ApplicationCommon.md#suspendevent) +[`ApplicationCommon`](ApplicationCommon.md).[`uncaughtErrorEvent`](ApplicationCommon.md#uncaughterrorevent) *** -### systemAppearanceChangedEvent +### windowCloseEvent ```ts -readonly systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; +readonly windowCloseEvent: "windowClose"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`systemAppearanceChangedEvent`](ApplicationCommon.md#systemappearancechangedevent) +[`ApplicationCommon`](ApplicationCommon.md).[`windowCloseEvent`](ApplicationCommon.md#windowcloseevent) *** -### uncaughtErrorEvent +### windowOpenEvent ```ts -readonly uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; +readonly windowOpenEvent: "windowOpen"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`uncaughtErrorEvent`](ApplicationCommon.md#uncaughterrorevent) +[`ApplicationCommon`](ApplicationCommon.md).[`windowOpenEvent`](ApplicationCommon.md#windowopenevent) *** @@ -1174,7 +1094,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ static hasListeners: (eventName: string) => boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -1202,7 +1122,7 @@ Use `Application.android.hasListeners()` instead. static notify: (eventData: T) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Type Parameters @@ -1236,7 +1156,7 @@ Use `Application.android.notify()` instead. static off: (eventNames: string, callback?: any, thisArg?: any) => void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -1268,6 +1188,7 @@ static on: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1279,10 +1200,16 @@ static on: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1376,6 +1303,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1457,6 +1407,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -1631,6 +1584,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + #### Deprecated Use `Application.android.on()` instead. @@ -1649,6 +1728,7 @@ static once: { (event: "cssChanged", callback: (args: CssChangedEventData) => void, thisArg?: any): void; (event: "livesync", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "launch", callback: (args: LaunchEventData) => void, thisArg?: any): void; + (event: "ready", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "displayed", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "suspend", callback: (args: ApplicationEventData) => void, thisArg?: any): void; (event: "resume", callback: (args: ApplicationEventData) => void, thisArg?: any): void; @@ -1660,10 +1740,16 @@ static once: { (event: "systemAppearanceChanged", callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void; (event: "layoutDirectionChanged", callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void; (event: "fontScaleChanged", callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void; + (event: "windowOpen", callback: (args: WindowOpenEventData) => void, thisArg?: any): void; + (event: "windowClose", callback: (args: WindowCloseEventData) => void, thisArg?: any): void; + (event: "primaryWindowChanged", callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void; + (event: "sceneOpenURLContexts", callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void; + (event: "sceneContinueUserActivity", callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void; + (event: "scenePerformActionForShortcutItem", callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void; }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Call Signature @@ -1757,6 +1843,29 @@ This event is raised on application launchEvent. #### Call Signature +```ts +( + event: "ready", + callback: (args: ApplicationEventData) => void, + thisArg?: any): void; +``` + +This event is raised once the JS context is initialized. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"ready"` | +| `callback` | (`args`: [`ApplicationEventData`](../interfaces/ApplicationEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + ```ts ( event: "displayed", @@ -1838,6 +1947,9 @@ This event is raised when the Application is resumed after it has been suspended This event is raised when the Application is about to exit. +On Android it is raised when the last window closes; the process may stay alive. +On iOS it is raised when the process itself terminates. + ##### Parameters | Parameter | Type | @@ -2012,6 +2124,132 @@ between ltr and rtl. `void` +#### Call Signature + +```ts +( + event: "windowOpen", + callback: (args: WindowOpenEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowOpen"` | +| `callback` | (`args`: [`WindowOpenEventData`](../interfaces/WindowOpenEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "windowClose", + callback: (args: WindowCloseEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"windowClose"` | +| `callback` | (`args`: [`WindowCloseEventData`](../interfaces/WindowCloseEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "primaryWindowChanged", + callback: (args: PrimaryWindowChangedEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"primaryWindowChanged"` | +| `callback` | (`args`: [`PrimaryWindowChangedEventData`](../interfaces/PrimaryWindowChangedEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneOpenURLContexts", + callback: (args: SceneOpenURLContextsEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneOpenURLContexts"` | +| `callback` | (`args`: [`SceneOpenURLContextsEventData`](../interfaces/SceneOpenURLContextsEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "sceneContinueUserActivity", + callback: (args: SceneContinueUserActivityEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"sceneContinueUserActivity"` | +| `callback` | (`args`: [`SceneContinueUserActivityEventData`](../interfaces/SceneContinueUserActivityEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + +#### Call Signature + +```ts +( + event: "scenePerformActionForShortcutItem", + callback: (args: ScenePerformActionForShortcutItemEventData) => void, + thisArg?: any): void; +``` + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `event` | `"scenePerformActionForShortcutItem"` | +| `callback` | (`args`: [`ScenePerformActionForShortcutItemEventData`](../interfaces/ScenePerformActionForShortcutItemEventData.md)) => `void` | +| `thisArg?` | `any` | + +##### Returns + +`void` + #### Deprecated Use `Application.android.once()` instead. @@ -2022,6 +2260,31 @@ Use `Application.android.once()` instead. ## Accessors +### activeWindow + +#### Get Signature + +```ts +get activeWindow(): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the NativeWindow the user is currently interacting with - the one that activated most +recently and is still attached. Falls back to the primary window while no window holds +activation, which is the case before the first window activates and on a platform that +never raises `activate`. + +##### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`activeWindow`](ApplicationCommon.md#activewindow) + +*** + ### android #### Get Signature @@ -2030,7 +2293,7 @@ Use `Application.android.once()` instead. get android(): AndroidApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2040,25 +2303,65 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ [`ApplicationCommon`](ApplicationCommon.md).[`android`](ApplicationCommon.md#android) -*** +*** + +### AndroidApplication + +#### Get Signature + +```ts +get AndroidApplication(): AndroidApplication; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Returns + +[`AndroidApplication`](AndroidApplication.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`AndroidApplication`](ApplicationCommon.md#androidapplication) + +*** + +### autoSystemAppearanceChanged + +#### Get Signature + +```ts +get autoSystemAppearanceChanged(): boolean; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Boolean to enable/disable systemAppearanceChanged + +##### Returns -### AndroidApplication +`boolean` -#### Get Signature +#### Set Signature ```ts -get AndroidApplication(): AndroidApplication; +set autoSystemAppearanceChanged(value: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `boolean` | ##### Returns -[`AndroidApplication`](AndroidApplication.md) +`void` #### Inherited from -[`ApplicationCommon`](ApplicationCommon.md).[`AndroidApplication`](ApplicationCommon.md#androidapplication) +[`ApplicationCommon`](ApplicationCommon.md).[`autoSystemAppearanceChanged`](ApplicationCommon.md#autosystemappearancechanged) *** @@ -2070,7 +2373,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get delegate(): any; ``` -Defined in: [application/application.d.ts:171](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L171) +Defined in: [application/application.d.ts:196](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L196) The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class. @@ -2084,7 +2387,7 @@ The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentatio set delegate(value: any): void; ``` -Defined in: [application/application.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L176) +Defined in: [application/application.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L201) Sets a custom [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class. @@ -2108,7 +2411,7 @@ Sets a custom [UIApplicationDelegate](https://developer.apple.com/library/ios/do get inBackground(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2128,7 +2431,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get ios(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2148,7 +2451,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get iOSApplication(): iOSApplication; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2168,7 +2471,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get nativeApp(): UIApplication; ``` -Defined in: [application/application.d.ts:161](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L161) +Defined in: [application/application.d.ts:186](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L186) The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html). @@ -2178,6 +2481,28 @@ The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/ *** +### primaryWindow + +#### Get Signature + +```ts +get primaryWindow(): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the primary NativeWindow. + +##### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`primaryWindow`](ApplicationCommon.md#primarywindow) + +*** + ### rootController #### Get Signature @@ -2186,7 +2511,7 @@ The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/ get rootController(): UIViewController; ``` -Defined in: [application/application.d.ts:156](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L156) +Defined in: [application/application.d.ts:181](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L181) The root view controller for the application. @@ -2204,7 +2529,7 @@ The root view controller for the application. get suspended(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ##### Returns @@ -2224,7 +2549,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ get window(): UIWindow; ``` -Defined in: [application/application.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L166) +Defined in: [application/application.d.ts:191](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L191) The key window. @@ -2234,13 +2559,67 @@ The key window. ## Methods +### \_onPrimaryWindowPromoted() + +```ts +protected _onPrimaryWindowPromoted(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window takes over the primary +role, before `primaryWindowChanged` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`_onPrimaryWindowPromoted`](ApplicationCommon.md#onprimarywindowpromoted) + +*** + +### \_onWindowRegistered() + +```ts +protected _onWindowRegistered(nativeWindow: NativeWindow): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Hook for platform-specific bookkeeping right after a window joins the registry, +before `windowOpen` is raised. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `nativeWindow` | [`NativeWindow`](NativeWindow.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`_onWindowRegistered`](ApplicationCommon.md#onwindowregistered) + +*** + ### addCss() ```ts addCss(cssText: string, attributeScoped?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2265,7 +2644,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ addDelegateHandler(methodName: T, handler: any): void; ``` -Defined in: [application/application.d.ts:184](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L184) +Defined in: [application/application.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L244) Adds a delegate handler for the specified delegate method name. This method does not replace an existing handler, but rather adds the new handler to the existing chain of handlers. @@ -2295,7 +2674,7 @@ but rather adds the new handler to the existing chain of handlers. addNotificationObserver(notificationName: string, onReceiveCallback: (notification: NSNotification) => void): NotificationObserver; ``` -Defined in: [application/application.d.ts:192](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L192) +Defined in: [application/application.d.ts:252](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L252) Adds an observer to the default notification center for the specified notification. For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:' @@ -2323,7 +2702,7 @@ applyCssClass( skipCssUpdate?: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Applies the the `newCssClass` to the `rootView` and removes all other css classes from `cssClasses` previously applied to the `rootView`. @@ -2353,7 +2732,7 @@ previously applied to the `rootView`. closeWindow(target?: any): void; ``` -Defined in: [application/application.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L229) +Defined in: [application/application.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L291) Closes a secondary window/scene. If no target is provided, attempts to close a non-primary active scene. @@ -2362,7 +2741,7 @@ If no target is provided, attempts to close a non-primary active scene. | Parameter | Type | Description | | ------ | ------ | ------ | -| `target?` | `any` | Optional target to resolve the scene to close. Can be a View, UIWindow, UIWindowScene, or a string scene identifier. | +| `target?` | `any` | Optional target to resolve the window to close. Can be a NativeWindow, a View, a UIWindow, a UIWindowScene, or a string scene identifier. | #### Returns @@ -2379,7 +2758,7 @@ createRootView( additionalLanchEventData?: any): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2399,13 +2778,88 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### getAllScenes() +### defaultDiscardSceneSessions() + +```ts +defaultDiscardSceneSessions(application: UIApplication, sceneSessions: NSSet): void; +``` + +Defined in: [application/application.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L236) + +NativeScript's default implementation of the `UIApplicationDelegate` +`applicationDidDiscardSceneSessions` method, which retires the windows belonging +to the discarded sessions. + +It is installed automatically on the application delegate class unless that class +already implements the method, in which case forward to it from there so window +bookkeeping stays correct. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `application` | `UIApplication` | +| `sceneSessions` | `NSSet`\<`UISceneSession`\> | + +#### Returns + +`void` + +*** + +### defaultSceneConfiguration() + +```ts +defaultSceneConfiguration( + application: UIApplication, + connectingSceneSession: UISceneSession, + options: UISceneConnectionOptions): UISceneConfiguration; +``` + +Defined in: [application/application.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L225) + +NativeScript's default implementation of the `UIApplicationDelegate` +`applicationConfigurationForConnectingSceneSessionOptions` method. + +It is installed automatically on the application delegate class unless that class +already implements the method. A delegate that does implement it can handle the +scenes it cares about and forward the rest here: + +```ts +applicationConfigurationForConnectingSceneSessionOptions(app, session, options) { + if (session.role === myCustomRole) { + return myConfig; + } + return Application.ios.defaultSceneConfiguration(app, session, options); +} +``` + +`onSceneConfiguration` is consulted first. Scenes with the +`UIWindowSceneSessionRoleApplication` role then get a configuration backed by +NativeScript's SceneDelegate; every other role gets a bare configuration that +NativeScript does not manage. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `application` | `UIApplication` | +| `connectingSceneSession` | `UISceneSession` | +| `options` | `UISceneConnectionOptions` | + +#### Returns + +`UISceneConfiguration` + +*** + +### ~~getAllScenes()~~ ```ts getAllScenes(): UIScene[]; ``` -Defined in: [application/application.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L239) +Defined in: [application/application.d.ts:303](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L303) Gets all scenes for the application. @@ -2413,15 +2867,19 @@ Gets all scenes for the application. `UIScene`[] +#### Deprecated + +Use `getWindows()` instead. + *** -### getAllWindows() +### ~~getAllWindows()~~ ```ts getAllWindows(): UIWindow[]; ``` -Defined in: [application/application.d.ts:234](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L234) +Defined in: [application/application.d.ts:297](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L297) Gets all windows for the application. @@ -2429,6 +2887,10 @@ Gets all windows for the application. `UIWindow`[] +#### Deprecated + +Use `getWindows()` instead. + *** ### getCssFileName() @@ -2437,7 +2899,7 @@ Gets all windows for the application. getCssFileName(): string; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Gets css file name for the application. @@ -2457,7 +2919,7 @@ Gets css file name for the application. protected getLayoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2475,7 +2937,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ getMainEntry(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2495,7 +2957,7 @@ The main entry of the application getNativeApplication(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2513,7 +2975,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected getOrientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2525,29 +2987,33 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### getPrimaryScene() +### ~~getPrimaryScene()~~ ```ts -getPrimaryScene(): UIWindowScene; +getPrimaryScene(): any; ``` -Defined in: [application/application.d.ts:254](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L254) +Defined in: [application/application.d.ts:321](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L321) Gets the primary scene for the application. #### Returns -`UIWindowScene` +`any` + +#### Deprecated + +Use `primaryWindow?.ios?.scene` instead. *** -### getPrimaryWindow() +### ~~getPrimaryWindow()~~ ```ts getPrimaryWindow(): UIWindow; ``` -Defined in: [application/application.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L249) +Defined in: [application/application.d.ts:315](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L315) Gets the primary window for the application. @@ -2555,6 +3021,10 @@ Gets the primary window for the application. `UIWindow` +#### Deprecated + +Use `primaryWindow?.ios?.uiWindow` instead. + *** ### getResources() @@ -2563,7 +3033,7 @@ Gets the primary window for the application. getResources(): any; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Get application level static resources. @@ -2583,7 +3053,7 @@ Get application level static resources. getRootView(): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2601,7 +3071,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected getSystemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2613,13 +3083,149 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** -### getWindowScenes() +### getWindowById() + +```ts +getWindowById(id: string): NativeWindow; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get a registered NativeWindow by its id. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `id` | `string` | + +#### Returns + +[`NativeWindow`](NativeWindow.md) + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`getWindowById`](ApplicationCommon.md#getwindowbyid) + +*** + +### getWindowContentResolver() + +```ts +getWindowContentResolver(): WindowContentResolver; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +#### Returns + +[`WindowContentResolver`](../type-aliases/WindowContentResolver.md) + +The callback currently supplying window content, if any. + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`getWindowContentResolver`](ApplicationCommon.md#getwindowcontentresolver) + +*** + +### getWindows() + +#### Call Signature + +```ts +getWindows(role: "all"): WindowBase[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role` | `"all"` | + +##### Returns + +[`WindowBase`](WindowBase.md)[] + +##### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) + +#### Call Signature + +```ts +getWindows(role?: + | WindowRole + | WindowRole[]): NativeWindow[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role?` | \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | + +##### Returns + +[`NativeWindow`](NativeWindow.md)[] + +##### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) + +#### Call Signature + +```ts +getWindows(role?: + | "all" + | WindowRole + | WindowRole[]): WindowBase[]; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Get the active windows, filtered by role. + +Defaults to the view-carrying app windows (`application` and `embedded`). +Pass `'all'` to include every registered surface, including ones that carry no view tree. + +##### Parameters + +| Parameter | Type | +| ------ | ------ | +| `role?` | \| `"all"` \| [`WindowRole`](../type-aliases/WindowRole.md) \| [`WindowRole`](../type-aliases/WindowRole.md)[] | + +##### Returns + +[`WindowBase`](WindowBase.md)[] + +##### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`getWindows`](ApplicationCommon.md#getwindows) + +*** + +### ~~getWindowScenes()~~ ```ts getWindowScenes(): UIWindowScene[]; ``` -Defined in: [application/application.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L244) +Defined in: [application/application.d.ts:309](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L309) Gets all window scenes for the application. @@ -2627,6 +3233,10 @@ Gets all window scenes for the application. `UIWindowScene`[] +#### Deprecated + +Use `getWindows()` instead. + *** ### hasLaunched() @@ -2635,7 +3245,7 @@ Gets all window scenes for the application. hasLaunched(): boolean; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns @@ -2650,16 +3260,17 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### initRootView() ```ts -initRootView(rootView: View): void; +initRootView(rootView: View, window?: NativeWindow): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters -| Parameter | Type | -| ------ | ------ | -| `rootView` | [`View`](View.md) | +| Parameter | Type | Description | +| ------ | ------ | ------ | +| `rootView` | [`View`](View.md) | - | +| `window?` | [`NativeWindow`](NativeWindow.md) | the window the root view belongs to. Supplies the window-scoped CSS classes; without it they come from the primary window. | #### Returns @@ -2677,7 +3288,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ isUsingSceneLifecycle(): boolean; ``` -Defined in: [application/application.d.ts:216](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L216) +Defined in: [application/application.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L276) Checks if the application is using the scene lifecycle. @@ -2687,18 +3298,22 @@ Checks if the application is using the scene lifecycle. *** -### layoutDirection() +### ~~layoutDirection()~~ ```ts layoutDirection(): LayoutDirectionType; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns [`LayoutDirectionType`](../namespaces/CoreTypes/type-aliases/LayoutDirectionType.md) +#### Deprecated + +Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`layoutDirection`](ApplicationCommon.md#layoutdirection) @@ -2711,7 +3326,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ layoutDirectionChanged(rootView: View, newLayoutDirection: LayoutDirectionType): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Updates root view classes including those of modals @@ -2738,7 +3353,7 @@ Updates root view classes including those of modals loadAppCss(): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Loads immediately the app.css. By default the app.css file is loaded shortly after "loaded". @@ -2761,7 +3376,7 @@ as the CSS does not depend on runtime APIs, and loadAppCss will be called explic protected notifyLaunch(additionalLanchEventData?: any): View; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2782,37 +3397,45 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ ### openWindow() ```ts -openWindow(data: Record): void; +openWindow(options?: WindowOpenOptions): void; ``` -Defined in: [application/application.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L222) +Defined in: [application/application.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L284) -Opens a new window with the specified data. +Opens a new window (scene). #### Parameters | Parameter | Type | Description | | ------ | ------ | ------ | -| `data` | `Record`\<`any`, `any`\> | The data to pass to the new window. | +| `options?` | [`WindowOpenOptions`](../interfaces/WindowOpenOptions.md) | Options for the new window. `options.data` is serialized into the activating scene's `NSUserActivity.userInfo`. | #### Returns `void` +#### Overrides + +[`ApplicationCommon`](ApplicationCommon.md).[`openWindow`](ApplicationCommon.md#openwindow) + *** -### orientation() +### ~~orientation()~~ ```ts orientation(): "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"portrait"` \| `"landscape"` \| `"unknown"` +#### Deprecated + +Use Application.primaryWindow?.orientation() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`orientation`](ApplicationCommon.md#orientation) @@ -2825,7 +3448,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ orientationChanged(rootView: View, newOrientation: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2850,7 +3473,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ removeNotificationObserver(observer: any, notificationName: string): any; ``` -Defined in: [application/application.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L201) +Defined in: [application/application.d.ts:261](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L261) Removes the observer for the specified notification from the default notification center. For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:' @@ -2874,7 +3497,7 @@ For more information, please visit 'https://developer.apple.com/library/mac/docu resetRootView(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2898,7 +3521,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ run(entry?: string | NavigationEntry): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2922,7 +3545,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setAutoSystemAppearanceChanged(value: boolean): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) enable/disable systemAppearanceChanged @@ -2948,7 +3571,7 @@ enable/disable systemAppearanceChanged setCssFileName(cssFileName: string): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Sets css file name for the application. @@ -2974,7 +3597,7 @@ Sets css file name for the application. setInBackground(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -2999,7 +3622,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setLayoutDirection(value: LayoutDirectionType): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3027,7 +3650,7 @@ setMaxRefreshRate(options?: { }): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) iOS Only Dynamically change the preferred frame rate @@ -3065,7 +3688,7 @@ To use, ensure your Info.plist has: protected setOrientation(value: "portrait" | "landscape" | "unknown"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3089,7 +3712,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ setResources(res: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Set application level static resources. @@ -3115,7 +3738,7 @@ Set application level static resources. setSuspended(value: boolean, additonalData?: any): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3140,7 +3763,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ protected setSystemAppearance(value: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Parameters @@ -3158,13 +3781,40 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ *** +### setWindowContentResolver() + +```ts +setWindowContentResolver(resolver: WindowContentResolver): void; +``` + +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) + +Sets the callback that supplies the UI for windows that need content. +Pass `null` to remove a previously set resolver. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `resolver` | [`WindowContentResolver`](../type-aliases/WindowContentResolver.md) | + +#### Returns + +`void` + +#### Inherited from + +[`ApplicationCommon`](ApplicationCommon.md).[`setWindowContentResolver`](ApplicationCommon.md#setwindowcontentresolver) + +*** + ### setWindowRootView() ```ts setWindowRootView(window: UIWindow, view: View): void; ``` -Defined in: [application/application.d.ts:261](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L261) +Defined in: [application/application.d.ts:328](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L328) Sets the root view for a specific window. @@ -3173,7 +3823,7 @@ Sets the root view for a specific window. | Parameter | Type | Description | | ------ | ------ | ------ | | `window` | `UIWindow` | The window to set the root view for. | -| `view` | `View` | The view to set as the root view. | +| `view` | [`View`](View.md) | The view to set as the root view. | #### Returns @@ -3187,7 +3837,7 @@ Sets the root view for a specific window. supportsMultipleScenes(): boolean; ``` -Defined in: [application/application.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L211) +Defined in: [application/application.d.ts:271](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L271) Checks if the application supports multiple scenes. @@ -3203,7 +3853,7 @@ Checks if the application supports multiple scenes. supportsScenes(): boolean; ``` -Defined in: [application/application.d.ts:206](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L206) +Defined in: [application/application.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L266) Checks if the application supports scenes. @@ -3213,18 +3863,22 @@ Checks if the application supports scenes. *** -### systemAppearance() +### ~~systemAppearance()~~ ```ts systemAppearance(): "dark" | "light"; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) #### Returns `"dark"` \| `"light"` +#### Deprecated + +Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window. + #### Inherited from [`ApplicationCommon`](ApplicationCommon.md).[`systemAppearance`](ApplicationCommon.md#systemappearance) @@ -3237,7 +3891,7 @@ Defined in: [application/application-common.ts](https://github.com/NativeScript/ systemAppearanceChanged(rootView: View, newSystemAppearance: "dark" | "light"): void; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) Updates root view classes including those of modals diff --git a/content/api/enumerations/AccessibilityLiveRegion.md b/content/api/enumerations/AccessibilityLiveRegion.md index ddc57e70..0c3dbe8b 100644 --- a/content/api/enumerations/AccessibilityLiveRegion.md +++ b/content/api/enumerations/AccessibilityLiveRegion.md @@ -4,12 +4,12 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) +Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `Assertive` | `"assertive"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `None` | `"none"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Polite` | `"polite"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | +| `Assertive` | `"assertive"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `None` | `"none"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Polite` | `"polite"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | diff --git a/content/api/enumerations/AccessibilityRole.md b/content/api/enumerations/AccessibilityRole.md index c33e6324..5fdf9142 100644 --- a/content/api/enumerations/AccessibilityRole.md +++ b/content/api/enumerations/AccessibilityRole.md @@ -4,27 +4,27 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) +Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) ## Enumeration Members | Enumeration Member | Value | Description | Defined in | | ------ | ------ | ------ | ------ | -| `Adjustable` | `"adjustable"` | The element allows continuous adjustment through a range of values. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Button` | `"button"` | The element should be treated as a button. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Checkbox` | `"checkbox"` | The element behaves like a Checkbox | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Header` | `"header"` | The element is a header that divides content into sections, such as the title of a navigation bar. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Image` | `"image"` | The element should be treated as an image. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `ImageButton` | `"imageButton"` | The element should be treated as a image button. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `KeyboardKey` | `"keyboardKey"` | The element behaves as a keyboard key. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Link` | `"link"` | The element should be treated as a link. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `None` | `"none"` | The element has no traits. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `PlaysSound` | `"plays"` | The element plays its own sound when activated. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `ProgressBar` | `"progressBar"` | The element behaves like a ProgressBar | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `RadioButton` | `"radioButton"` | The element behaves like a RadioButton | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Search` | `"search"` | The element should be treated as a search field. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `SpinButton` | `"spinButton"` | The element behaves like a SpinButton | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `StartsMediaSession` | `"startsMedia"` | The element starts a media session when it is activated. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `StaticText` | `"text"` | The element should be treated as static text that cannot change. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Summary` | `"summary"` | The element provides summary information when the application starts. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Switch` | `"switch"` | The element behaves like a switch | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | +| `Adjustable` | `"adjustable"` | The element allows continuous adjustment through a range of values. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Button` | `"button"` | The element should be treated as a button. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Checkbox` | `"checkbox"` | The element behaves like a Checkbox | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Header` | `"header"` | The element is a header that divides content into sections, such as the title of a navigation bar. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Image` | `"image"` | The element should be treated as an image. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `ImageButton` | `"imageButton"` | The element should be treated as a image button. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `KeyboardKey` | `"keyboardKey"` | The element behaves as a keyboard key. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Link` | `"link"` | The element should be treated as a link. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `None` | `"none"` | The element has no traits. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `PlaysSound` | `"plays"` | The element plays its own sound when activated. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `ProgressBar` | `"progressBar"` | The element behaves like a ProgressBar | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `RadioButton` | `"radioButton"` | The element behaves like a RadioButton | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Search` | `"search"` | The element should be treated as a search field. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `SpinButton` | `"spinButton"` | The element behaves like a SpinButton | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `StartsMediaSession` | `"startsMedia"` | The element starts a media session when it is activated. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `StaticText` | `"text"` | The element should be treated as static text that cannot change. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Summary` | `"summary"` | The element provides summary information when the application starts. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Switch` | `"switch"` | The element behaves like a switch | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | diff --git a/content/api/enumerations/AccessibilityState.md b/content/api/enumerations/AccessibilityState.md index 88b9e021..9f5d8399 100644 --- a/content/api/enumerations/AccessibilityState.md +++ b/content/api/enumerations/AccessibilityState.md @@ -4,13 +4,13 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) +Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `Checked` | `"checked"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Disabled` | `"disabled"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Selected` | `"selected"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Unchecked` | `"unchecked"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | +| `Checked` | `"checked"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Disabled` | `"disabled"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Selected` | `"selected"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Unchecked` | `"unchecked"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | diff --git a/content/api/enumerations/AccessibilityTrait.md b/content/api/enumerations/AccessibilityTrait.md index ae5afcf7..d1b724db 100644 --- a/content/api/enumerations/AccessibilityTrait.md +++ b/content/api/enumerations/AccessibilityTrait.md @@ -4,14 +4,14 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) +Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) ## Enumeration Members | Enumeration Member | Value | Description | Defined in | | ------ | ------ | ------ | ------ | -| `AllowsDirectInteraction` | `"allowsDirectInteraction"` | The element allows direct touch interaction for VoiceOver users. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `CausesPageTurn` | `"pageTurn"` | The element should cause an automatic page turn when VoiceOver finishes reading the text within it. Note: Requires custom view with accessibilityScroll(...) | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `NotEnabled` | `"disabled"` | The element is not enabled and does not respond to user interaction. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Selected` | `"selected"` | The element is currently selected. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `UpdatesFrequently` | `"frequentUpdates"` | The element frequently updates its label or value. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | +| `AllowsDirectInteraction` | `"allowsDirectInteraction"` | The element allows direct touch interaction for VoiceOver users. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `CausesPageTurn` | `"pageTurn"` | The element should cause an automatic page turn when VoiceOver finishes reading the text within it. Note: Requires custom view with accessibilityScroll(...) | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `NotEnabled` | `"disabled"` | The element is not enabled and does not respond to user interaction. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Selected` | `"selected"` | The element is currently selected. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `UpdatesFrequently` | `"frequentUpdates"` | The element frequently updates its label or value. | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | diff --git a/content/api/enumerations/AndroidDirectory.md b/content/api/enumerations/AndroidDirectory.md index 332d595a..cfd8ccc5 100644 --- a/content/api/enumerations/AndroidDirectory.md +++ b/content/api/enumerations/AndroidDirectory.md @@ -4,21 +4,21 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [file-system/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L3) +Defined in: [file-system/index.d.ts:3](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L3) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `ALARMS` | `number` | [file-system/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L4) | -| `AUDIOBOOKS` | `number` | [file-system/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L5) | -| `DCIM` | `number` | [file-system/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L6) | -| `DOCUMENTS` | `number` | [file-system/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L7) | -| `DOWNLOADS` | `number` | [file-system/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L8) | -| `MOVIES` | `number` | [file-system/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L9) | -| `MUSIC` | `number` | [file-system/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L10) | -| `NOTIFICATIONS` | `number` | [file-system/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L11) | -| `PICTURES` | `number` | [file-system/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L12) | -| `PODCASTS` | `number` | [file-system/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L13) | -| `RINGTONES` | `number` | [file-system/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L14) | -| `SCREENSHOTS` | `number` | [file-system/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L15) | +| `ALARMS` | `number` | [file-system/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L4) | +| `AUDIOBOOKS` | `number` | [file-system/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L5) | +| `DCIM` | `number` | [file-system/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L6) | +| `DOCUMENTS` | `number` | [file-system/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L7) | +| `DOWNLOADS` | `number` | [file-system/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L8) | +| `MOVIES` | `number` | [file-system/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L9) | +| `MUSIC` | `number` | [file-system/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L10) | +| `NOTIFICATIONS` | `number` | [file-system/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L11) | +| `PICTURES` | `number` | [file-system/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L12) | +| `PODCASTS` | `number` | [file-system/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L13) | +| `RINGTONES` | `number` | [file-system/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L14) | +| `SCREENSHOTS` | `number` | [file-system/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L15) | diff --git a/content/api/enumerations/CacheMode.md b/content/api/enumerations/CacheMode.md index 484f72d8..7a930f44 100644 --- a/content/api/enumerations/CacheMode.md +++ b/content/api/enumerations/CacheMode.md @@ -4,12 +4,12 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/background.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background.d.ts#L11) +Defined in: [ui/styling/background.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background.d.ts#L11) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `diskAndMemory` | `number` | [ui/styling/background.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background.d.ts#L14) | -| `memory` | `number` | [ui/styling/background.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background.d.ts#L13) | -| `none` | `number` | [ui/styling/background.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/background.d.ts#L12) | +| `diskAndMemory` | `number` | [ui/styling/background.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background.d.ts#L14) | +| `memory` | `number` | [ui/styling/background.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background.d.ts#L13) | +| `none` | `number` | [ui/styling/background.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/background.d.ts#L12) | diff --git a/content/api/enumerations/FontScaleCategory.md b/content/api/enumerations/FontScaleCategory.md index 961f4450..12165e5e 100644 --- a/content/api/enumerations/FontScaleCategory.md +++ b/content/api/enumerations/FontScaleCategory.md @@ -4,12 +4,12 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) +Defined in: [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `ExtraLarge` | `"extra-large"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `ExtraSmall` | `"extra-small"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | -| `Medium` | `"medium"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/accessibility/accessibility-common.ts) | +| `ExtraLarge` | `"extra-large"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `ExtraSmall` | `"extra-small"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | +| `Medium` | `"medium"` | [accessibility/accessibility-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/accessibility/accessibility-common.ts) | diff --git a/content/api/enumerations/GestureEvents.md b/content/api/enumerations/GestureEvents.md index 7e1b9c92..0e47656c 100644 --- a/content/api/enumerations/GestureEvents.md +++ b/content/api/enumerations/GestureEvents.md @@ -4,12 +4,12 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `gestureAttached` | `"gestureAttached"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `touchDown` | `"touchDown"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `touchUp` | `"touchUp"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | +| `gestureAttached` | `"gestureAttached"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `touchDown` | `"touchDown"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `touchUp` | `"touchUp"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | diff --git a/content/api/enumerations/GestureStateTypes.md b/content/api/enumerations/GestureStateTypes.md index 98afe1a3..513f096b 100644 --- a/content/api/enumerations/GestureStateTypes.md +++ b/content/api/enumerations/GestureStateTypes.md @@ -4,13 +4,13 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `began` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `cancelled` | `0` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `changed` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `ended` | `3` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | +| `began` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `cancelled` | `0` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `changed` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `ended` | `3` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | diff --git a/content/api/enumerations/GestureTypes.md b/content/api/enumerations/GestureTypes.md index b7915168..f2fbf8c0 100644 --- a/content/api/enumerations/GestureTypes.md +++ b/content/api/enumerations/GestureTypes.md @@ -4,17 +4,17 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `doubleTap` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `longPress` | `64` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `pan` | `8` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `pinch` | `4` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `rotation` | `32` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `swipe` | `16` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `tap` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `touch` | `128` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | +| `doubleTap` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `longPress` | `64` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `pan` | `8` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `pinch` | `4` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `rotation` | `32` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `swipe` | `16` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `tap` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `touch` | `128` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | diff --git a/content/api/enumerations/HttpResponseEncoding.md b/content/api/enumerations/HttpResponseEncoding.md index 945eafe8..93080779 100644 --- a/content/api/enumerations/HttpResponseEncoding.md +++ b/content/api/enumerations/HttpResponseEncoding.md @@ -4,11 +4,11 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `GBK` | `1` | [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) | -| `UTF8` | `0` | [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) | +| `GBK` | `1` | [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) | +| `UTF8` | `0` | [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) | diff --git a/content/api/enumerations/ImageSymbolEffects.md b/content/api/enumerations/ImageSymbolEffects.md index 5201eb15..f04c0107 100644 --- a/content/api/enumerations/ImageSymbolEffects.md +++ b/content/api/enumerations/ImageSymbolEffects.md @@ -4,38 +4,38 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) +Defined in: [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `Appear` | `"appear"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `AppearDown` | `"appearDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `AppearUp` | `"appearUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Bounce` | `"bounce"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `BounceDown` | `"bounceDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `BounceUp` | `"bounceUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Breathe` | `"breathe"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `BreathePlain` | `"breathePlain"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `BreathePulse` | `"breathePulse"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Disappear` | `"disappear"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `DisappearDown` | `"disappearDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `DisappearUp` | `"disappearUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Pulse` | `"pulse"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Rotate` | `"rotate"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `RotateClockwise` | `"rotateClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `RotateCounterClockwise` | `"rotateCounterClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Scale` | `"scale"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `ScaleDown` | `"scaleDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `ScaleUp` | `"scaleUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `VariableColor` | `"variableColor"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `Wiggle` | `"wiggle"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleBackward` | `"wiggleBackward"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleClockwise` | `"wiggleClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleCounterClockwise` | `"wiggleCounterClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleDown` | `"wiggleDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleForward` | `"wiggleForward"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleLeft` | `"wiggleLeft"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleRight` | `"wiggleRight"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | -| `WiggleUp` | `"wiggleUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Appear` | `"appear"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `AppearDown` | `"appearDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `AppearUp` | `"appearUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Bounce` | `"bounce"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `BounceDown` | `"bounceDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `BounceUp` | `"bounceUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Breathe` | `"breathe"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `BreathePlain` | `"breathePlain"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `BreathePulse` | `"breathePulse"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Disappear` | `"disappear"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `DisappearDown` | `"disappearDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `DisappearUp` | `"disappearUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Pulse` | `"pulse"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Rotate` | `"rotate"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `RotateClockwise` | `"rotateClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `RotateCounterClockwise` | `"rotateCounterClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Scale` | `"scale"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `ScaleDown` | `"scaleDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `ScaleUp` | `"scaleUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `VariableColor` | `"variableColor"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `Wiggle` | `"wiggle"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleBackward` | `"wiggleBackward"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleClockwise` | `"wiggleClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleCounterClockwise` | `"wiggleCounterClockwise"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleDown` | `"wiggleDown"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleForward` | `"wiggleForward"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleLeft` | `"wiggleLeft"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleRight` | `"wiggleRight"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | +| `WiggleUp` | `"wiggleUp"` | [ui/image/symbol-effects-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image/symbol-effects-common.ts) | diff --git a/content/api/enumerations/NavigationType.md b/content/api/enumerations/NavigationType.md index d0a368aa..035b2659 100644 --- a/content/api/enumerations/NavigationType.md +++ b/content/api/enumerations/NavigationType.md @@ -4,12 +4,12 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `back` | `0` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) | -| `forward` | `1` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) | -| `replace` | `2` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) | +| `back` | `0` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) | +| `forward` | `1` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) | +| `replace` | `2` | [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) | diff --git a/content/api/enumerations/SharedTransitionAnimationType.md b/content/api/enumerations/SharedTransitionAnimationType.md index 70f2ae68..6a54f876 100644 --- a/content/api/enumerations/SharedTransitionAnimationType.md +++ b/content/api/enumerations/SharedTransitionAnimationType.md @@ -4,11 +4,11 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `dismiss` | `1` | [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) | -| `present` | `0` | [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) | +| `dismiss` | `1` | [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) | +| `present` | `0` | [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) | diff --git a/content/api/enumerations/SwipeDirection.md b/content/api/enumerations/SwipeDirection.md index 679cea0d..5b561b62 100644 --- a/content/api/enumerations/SwipeDirection.md +++ b/content/api/enumerations/SwipeDirection.md @@ -4,13 +4,13 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `down` | `8` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `left` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `right` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `up` | `4` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | +| `down` | `8` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `left` | `2` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `right` | `1` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `up` | `4` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | diff --git a/content/api/enumerations/TouchAction.md b/content/api/enumerations/TouchAction.md index e0596857..ff177135 100644 --- a/content/api/enumerations/TouchAction.md +++ b/content/api/enumerations/TouchAction.md @@ -4,13 +4,13 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) ## Enumeration Members | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `cancel` | `"cancel"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `down` | `"down"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `move` | `"move"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | -| `up` | `"up"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) | +| `cancel` | `"cancel"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `down` | `"down"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `move` | `"move"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | +| `up` | `"up"` | [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) | diff --git a/content/api/enumerations/WritingToolsAllowedInput.md b/content/api/enumerations/WritingToolsAllowedInput.md index 24825a53..801ae644 100644 --- a/content/api/enumerations/WritingToolsAllowedInput.md +++ b/content/api/enumerations/WritingToolsAllowedInput.md @@ -5,7 +5,7 @@ description: (iOS Only) Allowed input for Apple Intelligence Writing Tools contributors: false --- -Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) +Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) (iOS Only) Allowed input for Apple Intelligence Writing Tools @@ -17,8 +17,8 @@ Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/N | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `Default` | `0` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `List` | `1` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `PlainText` | `2` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `RichText` | `3` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `Table` | `4` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | +| `Default` | `0` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `List` | `1` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `PlainText` | `2` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `RichText` | `3` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `Table` | `4` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | diff --git a/content/api/enumerations/WritingToolsBehavior.md b/content/api/enumerations/WritingToolsBehavior.md index 8e5db5be..269eb090 100644 --- a/content/api/enumerations/WritingToolsBehavior.md +++ b/content/api/enumerations/WritingToolsBehavior.md @@ -5,7 +5,7 @@ description: (iOS Only) Behavior for Apple Intelligence Writing Tools contributors: false --- -Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) +Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) (iOS Only) Behavior for Apple Intelligence Writing Tools @@ -17,7 +17,7 @@ Defined in: [ui/text-view/text-view-common.ts](https://github.com/NativeScript/N | Enumeration Member | Value | Defined in | | ------ | ------ | ------ | -| `Complete` | `0` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `Default` | `1` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `Limited` | `2` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | -| `None` | `3` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-view/text-view-common.ts) | +| `Complete` | `0` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `Default` | `1` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `Limited` | `2` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | +| `None` | `3` | [ui/text-view/text-view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-view/text-view-common.ts) | diff --git a/content/api/functions/CSSType.md b/content/api/functions/CSSType.md index abed2793..d8238c4a 100644 --- a/content/api/functions/CSSType.md +++ b/content/api/functions/CSSType.md @@ -8,7 +8,7 @@ contributors: false function CSSType(type: string): ClassDecorator; ``` -Defined in: [ui/core/view/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L37) +Defined in: [ui/core/view/index.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L38) Specifies the type name for the instances of this View class, that is used when matching CSS type selectors. diff --git a/content/api/functions/PseudoClassHandler.md b/content/api/functions/PseudoClassHandler.md index cbd27a15..4d76a73c 100644 --- a/content/api/functions/PseudoClassHandler.md +++ b/content/api/functions/PseudoClassHandler.md @@ -8,7 +8,7 @@ contributors: false function PseudoClassHandler(...pseudoClasses: string[]): MethodDecorator; ``` -Defined in: [ui/core/view/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L21) +Defined in: [ui/core/view/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L22) ## Parameters diff --git a/content/api/functions/action.md b/content/api/functions/action.md index 9d5ca795..5850bc75 100644 --- a/content/api/functions/action.md +++ b/content/api/functions/action.md @@ -13,7 +13,7 @@ function action( actions: string[]): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L129) +Defined in: [ui/dialogs/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L129) The action() method displays a action box that prompts the visitor to choose some action. @@ -35,7 +35,7 @@ The action() method displays a action box that prompts the visitor to choose som function action(options: ActionOptions): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L135) +Defined in: [ui/dialogs/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L135) The action() method displays a action box that prompts the visitor to choose some action. diff --git a/content/api/functions/addTaggedAdditionalCSS.md b/content/api/functions/addTaggedAdditionalCSS.md index a176c5fb..dcc88cb3 100644 --- a/content/api/functions/addTaggedAdditionalCSS.md +++ b/content/api/functions/addTaggedAdditionalCSS.md @@ -8,7 +8,7 @@ contributors: false function addTaggedAdditionalCSS(cssText: string, tag?: string | number): boolean; ``` -Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-scope.ts) +Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-scope.ts) ## Parameters diff --git a/content/api/functions/addWeakEventListener.md b/content/api/functions/addWeakEventListener.md index 182d5416..6b228478 100644 --- a/content/api/functions/addWeakEventListener.md +++ b/content/api/functions/addWeakEventListener.md @@ -12,7 +12,7 @@ function addWeakEventListener( target: any): void; ``` -Defined in: [ui/core/weak-event-listener/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/weak-event-listener/index.d.ts#L10) +Defined in: [ui/core/weak-event-listener/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/weak-event-listener/index.d.ts#L10) Attaches a WeakEventListener. diff --git a/content/api/functions/alert.md b/content/api/functions/alert.md index df07e770..2e197e13 100644 --- a/content/api/functions/alert.md +++ b/content/api/functions/alert.md @@ -10,7 +10,7 @@ contributors: false function alert(message: string | number | boolean): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L66) +Defined in: [ui/dialogs/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L66) The alert() method displays an alert box with a specified message. @@ -30,7 +30,7 @@ The alert() method displays an alert box with a specified message. function alert(options: AlertOptions): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L72) +Defined in: [ui/dialogs/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L72) The alert() method displays an alert box with a specified message. diff --git a/content/api/functions/animationTimingFunctionConverter.md b/content/api/functions/animationTimingFunctionConverter.md index f080dd2b..e5959123 100644 --- a/content/api/functions/animationTimingFunctionConverter.md +++ b/content/api/functions/animationTimingFunctionConverter.md @@ -8,7 +8,7 @@ contributors: false function animationTimingFunctionConverter(value: string): any; ``` -Defined in: [ui/styling/converters.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/converters.ts) +Defined in: [ui/styling/converters.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/converters.ts) ## Parameters diff --git a/content/api/functions/booleanConverter.md b/content/api/functions/booleanConverter.md index 34a7d6bc..7e573aee 100644 --- a/content/api/functions/booleanConverter.md +++ b/content/api/functions/booleanConverter.md @@ -8,7 +8,7 @@ contributors: false function booleanConverter(v: string | boolean): boolean; ``` -Defined in: [ui/core/view-base/utils.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/utils.ts) +Defined in: [ui/core/view-base/utils.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/utils.ts) ## Parameters diff --git a/content/api/functions/confirm.md b/content/api/functions/confirm.md index d18b2534..c04954aa 100644 --- a/content/api/functions/confirm.md +++ b/content/api/functions/confirm.md @@ -10,7 +10,7 @@ contributors: false function confirm(message: string): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L78) +Defined in: [ui/dialogs/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L78) The confirm() method displays a dialog box with a specified message. @@ -30,7 +30,7 @@ The confirm() method displays a dialog box with a specified message. function confirm(options: ConfirmOptions): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L84) +Defined in: [ui/dialogs/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L84) The confirm() method displays a dialog box with a specified message. diff --git a/content/api/functions/eachDescendant.md b/content/api/functions/eachDescendant.md index 5c53c571..f185da1d 100644 --- a/content/api/functions/eachDescendant.md +++ b/content/api/functions/eachDescendant.md @@ -8,7 +8,7 @@ contributors: false function eachDescendant(view: ViewBase, callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Iterates through all child views (via visual tree) and executes a function. diff --git a/content/api/functions/fromObject.md b/content/api/functions/fromObject.md index 33f42bee..86eb1a1c 100644 --- a/content/api/functions/fromObject.md +++ b/content/api/functions/fromObject.md @@ -8,7 +8,7 @@ contributors: false function fromObject(source: any): Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Creates an Observable instance and sets its properties according to the supplied JavaScript object. param obj - A JavaScript object used to initialize nativescript Observable instance. diff --git a/content/api/functions/fromObjectRecursive.md b/content/api/functions/fromObjectRecursive.md index 0b6a51be..d53ca667 100644 --- a/content/api/functions/fromObjectRecursive.md +++ b/content/api/functions/fromObjectRecursive.md @@ -8,7 +8,7 @@ contributors: false function fromObjectRecursive(source: any): Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Creates an Observable instance and sets its properties according to the supplied JavaScript object. This function will create new Observable for each nested object (expect arrays and functions) from supplied JavaScript object. diff --git a/content/api/functions/getAncestor.md b/content/api/functions/getAncestor.md index dec55b9a..2fdfad61 100644 --- a/content/api/functions/getAncestor.md +++ b/content/api/functions/getAncestor.md @@ -8,7 +8,7 @@ contributors: false function getAncestor(view: T, criterion: string | (() => any)): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets an ancestor from a given type. diff --git a/content/api/functions/getAndroidAccessibilityManager.md b/content/api/functions/getAndroidAccessibilityManager.md index f84aea09..25a0d6d1 100644 --- a/content/api/functions/getAndroidAccessibilityManager.md +++ b/content/api/functions/getAndroidAccessibilityManager.md @@ -8,7 +8,7 @@ contributors: false function getAndroidAccessibilityManager(): any; ``` -Defined in: [application/application.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L278) +Defined in: [application/application.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L375) ## Returns diff --git a/content/api/functions/getCurrentFontScale.md b/content/api/functions/getCurrentFontScale.md index 9e098dfe..b96653a1 100644 --- a/content/api/functions/getCurrentFontScale.md +++ b/content/api/functions/getCurrentFontScale.md @@ -8,7 +8,7 @@ contributors: false function getCurrentFontScale(): number; ``` -Defined in: [application/application.d.ts:277](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L277) +Defined in: [application/application.d.ts:374](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L374) ## Returns diff --git a/content/api/functions/getCurrentPage.md b/content/api/functions/getCurrentPage.md index 6fa60e6c..903a53ab 100644 --- a/content/api/functions/getCurrentPage.md +++ b/content/api/functions/getCurrentPage.md @@ -8,7 +8,7 @@ contributors: false function getCurrentPage(): Page; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) ## Returns diff --git a/content/api/functions/getFileAccess.md b/content/api/functions/getFileAccess.md index d7e25bf8..a9be86dd 100644 --- a/content/api/functions/getFileAccess.md +++ b/content/api/functions/getFileAccess.md @@ -8,7 +8,7 @@ contributors: false function getFileAccess(): FileSystemAccess; ``` -Defined in: [file-system/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L22) +Defined in: [file-system/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L22) Returns FileSystemAccess, a shared singleton utility class to provide methods to access and work with the file system. This is used under the hood of all the file system apis in @nativescript/core and provided as a lower level convenience if needed. diff --git a/content/api/functions/getLastFocusedViewOnPage.md b/content/api/functions/getLastFocusedViewOnPage.md index fca6d788..54d86c23 100644 --- a/content/api/functions/getLastFocusedViewOnPage.md +++ b/content/api/functions/getLastFocusedViewOnPage.md @@ -5,10 +5,10 @@ contributors: false --- ```ts -function getLastFocusedViewOnPage(page: Page): any; +function getLastFocusedViewOnPage(page: Page): View; ``` -Defined in: [application/application.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L298) +Defined in: [application/application.d.ts:395](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L395) Find the last view focused on a page. @@ -16,8 +16,8 @@ Find the last view focused on a page. | Parameter | Type | | ------ | ------ | -| `page` | `Page` | +| `page` | [`Page`](../classes/Page.md) | ## Returns -`any` +[`View`](../classes/View.md) diff --git a/content/api/functions/getNativeApp.md b/content/api/functions/getNativeApp.md index 56688856..04d6be33 100644 --- a/content/api/functions/getNativeApp.md +++ b/content/api/functions/getNativeApp.md @@ -8,7 +8,7 @@ contributors: false function getNativeApp(): T; ``` -Defined in: [application/helpers-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/helpers-common.ts) +Defined in: [application/helpers-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/helpers-common.ts) Get the current application instance. diff --git a/content/api/functions/getRootLayout.md b/content/api/functions/getRootLayout.md index 8aa79b44..1f0a2e1b 100644 --- a/content/api/functions/getRootLayout.md +++ b/content/api/functions/getRootLayout.md @@ -8,7 +8,7 @@ contributors: false function getRootLayout(): RootLayout; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L18) +Defined in: [ui/layouts/root-layout/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L18) ## Returns diff --git a/content/api/functions/getRootLayoutById.md b/content/api/functions/getRootLayoutById.md index 75ec0c0d..b6ff7f03 100644 --- a/content/api/functions/getRootLayoutById.md +++ b/content/api/functions/getRootLayoutById.md @@ -8,7 +8,7 @@ contributors: false function getRootLayoutById(id: string): RootLayout; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L19) +Defined in: [ui/layouts/root-layout/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L19) ## Parameters diff --git a/content/api/functions/getTransformedText.md b/content/api/functions/getTransformedText.md index 9eeac4f9..92450183 100644 --- a/content/api/functions/getTransformedText.md +++ b/content/api/functions/getTransformedText.md @@ -8,7 +8,7 @@ contributors: false function getTransformedText(text: string, textTransform: TextTransformType): string; ``` -Defined in: [ui/text-base/index.d.ts:233](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L233) +Defined in: [ui/text-base/index.d.ts:233](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L233) ## Parameters diff --git a/content/api/functions/getViewById.md b/content/api/functions/getViewById.md index 6a4c461c..ff8954fd 100644 --- a/content/api/functions/getViewById.md +++ b/content/api/functions/getViewById.md @@ -8,7 +8,7 @@ contributors: false function getViewById(view: ViewBase, id: string): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets a child view by id. diff --git a/content/api/functions/hasPaddingSetNativeOverrides.md b/content/api/functions/hasPaddingSetNativeOverrides.md new file mode 100644 index 00000000..2ba8b55b --- /dev/null +++ b/content/api/functions/hasPaddingSetNativeOverrides.md @@ -0,0 +1,27 @@ +--- +title: _hasPaddingSetNativeOverrides +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +function _hasPaddingSetNativeOverrides(view: unknown, coreProto: object): boolean; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) + +Whether a subclass overrides any of the per-side [padding*Property.setNative] +handlers `coreProto` defines. An override owns padding application - the +consolidated paddingInternal write must stand down, or it would apply padding +around handlers designed to intercept it. + +## Parameters + +| Parameter | Type | +| ------ | ------ | +| `view` | `unknown` | +| `coreProto` | `object` | + +## Returns + +`boolean` diff --git a/content/api/functions/initializeSdkVersionClass.md b/content/api/functions/initializeSdkVersionClass.md deleted file mode 100644 index b3122707..00000000 --- a/content/api/functions/initializeSdkVersionClass.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: initializeSdkVersionClass -titleTemplate: :title - API / NativeScript -contributors: false ---- - -```ts -function initializeSdkVersionClass(rootView: View): void; -``` - -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) - -## Parameters - -| Parameter | Type | -| ------ | ------ | -| `rootView` | [`View`](../classes/View.md) | - -## Returns - -`void` diff --git a/content/api/functions/isAccessibilityServiceEnabled.md b/content/api/functions/isAccessibilityServiceEnabled.md index c497cf49..164be417 100644 --- a/content/api/functions/isAccessibilityServiceEnabled.md +++ b/content/api/functions/isAccessibilityServiceEnabled.md @@ -8,7 +8,7 @@ contributors: false function isAccessibilityServiceEnabled(): boolean; ``` -Defined in: [application/application.d.ts:293](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L293) +Defined in: [application/application.d.ts:390](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L390) Is Android TalkBack or iOS VoiceOver enabled? diff --git a/content/api/functions/isEmbedded.md b/content/api/functions/isEmbedded.md index 6182548e..cb61a5f2 100644 --- a/content/api/functions/isEmbedded.md +++ b/content/api/functions/isEmbedded.md @@ -8,7 +8,7 @@ contributors: false function isEmbedded(): boolean; ``` -Defined in: [ui/embedding/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/embedding/index.d.ts#L6) +Defined in: [ui/embedding/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/embedding/index.d.ts#L6) Whether the app is embedded into a host project or standalone project diff --git a/content/api/functions/login.md b/content/api/functions/login.md index ccf258b4..054e3a23 100644 --- a/content/api/functions/login.md +++ b/content/api/functions/login.md @@ -15,7 +15,7 @@ function login( password?: string): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L107) +Defined in: [ui/dialogs/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L107) The login() method displays a login dialog box that prompts the visitor for user name and password. @@ -42,7 +42,7 @@ function login( passwordHint?: string): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L115) +Defined in: [ui/dialogs/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L115) The login() method displays a login dialog box that prompts the visitor for user name and password. @@ -64,7 +64,7 @@ The login() method displays a login dialog box that prompts the visitor for user function login(options: LoginOptions): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L121) +Defined in: [ui/dialogs/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L121) The login() method displays a login dialog box that prompts the visitor for user name and password. diff --git a/content/api/functions/makeParser.md b/content/api/functions/makeParser.md index 7ab53382..1fb289be 100644 --- a/content/api/functions/makeParser.md +++ b/content/api/functions/makeParser.md @@ -8,7 +8,7 @@ contributors: false function makeParser(isValid: (value: any) => boolean, allowNumbers?: boolean): (value: any) => T; ``` -Defined in: [core-types/validators.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/validators.ts) +Defined in: [core-types/validators.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/validators.ts) ## Type Parameters diff --git a/content/api/functions/makeValidator.md b/content/api/functions/makeValidator.md index 2181024d..f52fe44c 100644 --- a/content/api/functions/makeValidator.md +++ b/content/api/functions/makeValidator.md @@ -8,7 +8,7 @@ contributors: false function makeValidator(...values: T[]): (value: any) => value is T; ``` -Defined in: [core-types/validators.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/validators.ts) +Defined in: [core-types/validators.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/validators.ts) ## Type Parameters diff --git a/content/api/functions/parseCSSShadow.md b/content/api/functions/parseCSSShadow.md index 19206012..755b90ca 100644 --- a/content/api/functions/parseCSSShadow.md +++ b/content/api/functions/parseCSSShadow.md @@ -8,7 +8,7 @@ contributors: false function parseCSSShadow(value: string): ShadowCSSValues; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) Parse a string into ShadowCSSValues Supports any valid css box/text shadow combination. diff --git a/content/api/functions/parseCSSStroke.md b/content/api/functions/parseCSSStroke.md index e05f2f62..ba15bae8 100644 --- a/content/api/functions/parseCSSStroke.md +++ b/content/api/functions/parseCSSStroke.md @@ -8,7 +8,7 @@ contributors: false function parseCSSStroke(value: string): StrokeCSSValues; ``` -Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-stroke.ts) +Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-stroke.ts) Parse a string into StrokeCSSValues https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-stroke diff --git a/content/api/functions/parseKeyframeDeclarations.md b/content/api/functions/parseKeyframeDeclarations.md index f3c5c526..49d2e98f 100644 --- a/content/api/functions/parseKeyframeDeclarations.md +++ b/content/api/functions/parseKeyframeDeclarations.md @@ -8,7 +8,7 @@ contributors: false function parseKeyframeDeclarations(unparsedKeyframeDeclarations: KeyframeDeclaration[]): KeyframeDeclaration[]; ``` -Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-animation-parser.ts) +Defined in: [ui/styling/css-animation-parser.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-animation-parser.ts) ## Parameters diff --git a/content/api/functions/profile.md b/content/api/functions/profile.md index fec2f3ef..52e1964d 100644 --- a/content/api/functions/profile.md +++ b/content/api/functions/profile.md @@ -10,7 +10,7 @@ contributors: false function profile(name?: string): MethodDecorator; ``` -Defined in: [profiling/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L98) +Defined in: [profiling/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L98) Method decorator factory. It will intercept the method call and start and pause a timer before and after the method call. Works only if profiling is enabled. @@ -31,7 +31,7 @@ Works only if profiling is enabled. function profile(fn: F): F; ``` -Defined in: [profiling/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L105) +Defined in: [profiling/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L105) Function factory. It will intercept the function call and start and pause a timer before and after the function call. Works only if profiling is enabled. Works only if profiling is enabled. @@ -58,7 +58,7 @@ Works only if profiling is enabled. function profile(name: string, fn: F): F; ``` -Defined in: [profiling/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L112) +Defined in: [profiling/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L112) Function factory. It will intercept the function call and start and pause a timer before and after the function call. Works only if profiling is enabled. @@ -88,7 +88,7 @@ function profile( descriptor: TypedPropertyDescriptor): void | TypedPropertyDescriptor; ``` -Defined in: [profiling/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L117) +Defined in: [profiling/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L117) Method decorator. It will intercept the method calls and start and pause a timer before and after the method call. Works only if profiling is enabled. @@ -116,7 +116,7 @@ Method decorator. It will intercept the method calls and start and pause a timer function profile(): any; ``` -Defined in: [profiling/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L118) +Defined in: [profiling/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L118) Method decorator factory. It will intercept the method call and start and pause a timer before and after the method call. Works only if profiling is enabled. diff --git a/content/api/functions/profilingDisable.md b/content/api/functions/profilingDisable.md index ae3e3502..1e6a8183 100644 --- a/content/api/functions/profilingDisable.md +++ b/content/api/functions/profilingDisable.md @@ -8,7 +8,7 @@ contributors: false function profilingDisable(): void; ``` -Defined in: [profiling/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L58) +Defined in: [profiling/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L58) Disables profiling. diff --git a/content/api/functions/profilingDumpProfiles.md b/content/api/functions/profilingDumpProfiles.md index 63c79124..aae36a22 100644 --- a/content/api/functions/profilingDumpProfiles.md +++ b/content/api/functions/profilingDumpProfiles.md @@ -8,7 +8,7 @@ contributors: false function profilingDumpProfiles(): void; ``` -Defined in: [profiling/index.d.ts:123](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L123) +Defined in: [profiling/index.d.ts:123](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L123) Prints the timer for all methods instrumented with profile decorator. diff --git a/content/api/functions/profilingEnable.md b/content/api/functions/profilingEnable.md index f2445110..ea476b28 100644 --- a/content/api/functions/profilingEnable.md +++ b/content/api/functions/profilingEnable.md @@ -8,7 +8,7 @@ contributors: false function profilingEnable(type?: InstrumentationMode): void; ``` -Defined in: [profiling/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L53) +Defined in: [profiling/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L53) Enables profiling. diff --git a/content/api/functions/profilingIsRunning.md b/content/api/functions/profilingIsRunning.md index 37dcb8a4..4fe82dbe 100644 --- a/content/api/functions/profilingIsRunning.md +++ b/content/api/functions/profilingIsRunning.md @@ -8,7 +8,7 @@ contributors: false function profilingIsRunning(name: string): boolean; ``` -Defined in: [profiling/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L91) +Defined in: [profiling/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L91) Returns true if a timer is currently running. diff --git a/content/api/functions/profilingResetProfiles.md b/content/api/functions/profilingResetProfiles.md index b3863cf2..63b89c34 100644 --- a/content/api/functions/profilingResetProfiles.md +++ b/content/api/functions/profilingResetProfiles.md @@ -8,7 +8,7 @@ contributors: false function profilingResetProfiles(): void; ``` -Defined in: [profiling/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L128) +Defined in: [profiling/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L128) Resets the timers for all methods instrumented with profile decorator. diff --git a/content/api/functions/profilingStart.md b/content/api/functions/profilingStart.md index fcff86ff..cf3f6c44 100644 --- a/content/api/functions/profilingStart.md +++ b/content/api/functions/profilingStart.md @@ -8,7 +8,7 @@ contributors: false function profilingStart(name: string): void; ``` -Defined in: [profiling/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L70) +Defined in: [profiling/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L70) Starts a timer with a specific name. Works only if profiling is enabled. diff --git a/content/api/functions/profilingStartCPU.md b/content/api/functions/profilingStartCPU.md index a09736a5..1e5bba7b 100644 --- a/content/api/functions/profilingStartCPU.md +++ b/content/api/functions/profilingStartCPU.md @@ -8,7 +8,7 @@ contributors: false function profilingStartCPU(name: string): void; ``` -Defined in: [profiling/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L134) +Defined in: [profiling/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L134) Starts android cpu profiling. diff --git a/content/api/functions/profilingStop.md b/content/api/functions/profilingStop.md index 277b2900..2a892432 100644 --- a/content/api/functions/profilingStop.md +++ b/content/api/functions/profilingStop.md @@ -8,7 +8,7 @@ contributors: false function profilingStop(name: string): TimerInfo; ``` -Defined in: [profiling/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L78) +Defined in: [profiling/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L78) Pauses a timer with a specific name. This will increase call count and accumulate time. Works only if profiling is enabled. diff --git a/content/api/functions/profilingStopCPU.md b/content/api/functions/profilingStopCPU.md index 958343ae..7adf7952 100644 --- a/content/api/functions/profilingStopCPU.md +++ b/content/api/functions/profilingStopCPU.md @@ -8,7 +8,7 @@ contributors: false function profilingStopCPU(name: string): void; ``` -Defined in: [profiling/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L140) +Defined in: [profiling/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L140) Stops android cpu profiling. diff --git a/content/api/functions/profilingTime.md b/content/api/functions/profilingTime.md index 6c944bc2..8f1b72db 100644 --- a/content/api/functions/profilingTime.md +++ b/content/api/functions/profilingTime.md @@ -8,7 +8,7 @@ contributors: false function profilingTime(): number; ``` -Defined in: [profiling/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L63) +Defined in: [profiling/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L63) Gets accurate system timestamp in ms. diff --git a/content/api/functions/profilingUptime.md b/content/api/functions/profilingUptime.md index 28a8d7e3..0d9060bd 100644 --- a/content/api/functions/profilingUptime.md +++ b/content/api/functions/profilingUptime.md @@ -8,7 +8,7 @@ contributors: false function profilingUptime(): number; ``` -Defined in: [profiling/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L145) +Defined in: [profiling/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L145) Gets the uptime of the current process in milliseconds. diff --git a/content/api/functions/prompt.md b/content/api/functions/prompt.md index 9190132d..e04ec9a5 100644 --- a/content/api/functions/prompt.md +++ b/content/api/functions/prompt.md @@ -10,7 +10,7 @@ contributors: false function prompt(message: string, defaultText?: string): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L91) +Defined in: [ui/dialogs/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L91) The prompt() method displays a dialog box that prompts the visitor for input. @@ -31,7 +31,7 @@ The prompt() method displays a dialog box that prompts the visitor for input. function prompt(options: PromptOptions): Promise; ``` -Defined in: [ui/dialogs/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L97) +Defined in: [ui/dialogs/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L97) The prompt() method displays a dialog box that prompts the visitor for input. diff --git a/content/api/functions/querySelectorAll.md b/content/api/functions/querySelectorAll.md index 36161923..b1d965be 100644 --- a/content/api/functions/querySelectorAll.md +++ b/content/api/functions/querySelectorAll.md @@ -8,7 +8,7 @@ contributors: false function querySelectorAll(view: ViewBase, selector: string): ViewBase[]; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets a child view by selector. diff --git a/content/api/functions/removeTaggedAdditionalCSS.md b/content/api/functions/removeTaggedAdditionalCSS.md index ae8d45f8..92642b6d 100644 --- a/content/api/functions/removeTaggedAdditionalCSS.md +++ b/content/api/functions/removeTaggedAdditionalCSS.md @@ -8,7 +8,7 @@ contributors: false function removeTaggedAdditionalCSS(tag: string | number): boolean; ``` -Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-scope.ts) +Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-scope.ts) ## Parameters diff --git a/content/api/functions/removeWeakEventListener.md b/content/api/functions/removeWeakEventListener.md index 1381ade5..1b3f57fe 100644 --- a/content/api/functions/removeWeakEventListener.md +++ b/content/api/functions/removeWeakEventListener.md @@ -12,7 +12,7 @@ function removeWeakEventListener( target: any): void; ``` -Defined in: [ui/core/weak-event-listener/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/weak-event-listener/index.d.ts#L19) +Defined in: [ui/core/weak-event-listener/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/weak-event-listener/index.d.ts#L19) Removes a WeakEventListener. diff --git a/content/api/functions/resolveAnimationCurve.md b/content/api/functions/resolveAnimationCurve.md index 027cb759..0a8fa3cf 100644 --- a/content/api/functions/resolveAnimationCurve.md +++ b/content/api/functions/resolveAnimationCurve.md @@ -8,7 +8,7 @@ contributors: false function _resolveAnimationCurve(curve: any): any; ``` -Defined in: [ui/animation/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/index.d.ts#L16) +Defined in: [ui/animation/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/index.d.ts#L16) ## Parameters diff --git a/content/api/functions/resolveFileNameFromUrl.md b/content/api/functions/resolveFileNameFromUrl.md index 6f68de69..cd3a8c66 100644 --- a/content/api/functions/resolveFileNameFromUrl.md +++ b/content/api/functions/resolveFileNameFromUrl.md @@ -12,7 +12,7 @@ function resolveFileNameFromUrl( importSource?: string): string; ``` -Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-scope.ts) +Defined in: [ui/styling/style-scope.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-scope.ts) ## Parameters diff --git a/content/api/functions/sendAccessibilityEvent.md b/content/api/functions/sendAccessibilityEvent.md index 962b02e8..e267aeb0 100644 --- a/content/api/functions/sendAccessibilityEvent.md +++ b/content/api/functions/sendAccessibilityEvent.md @@ -11,7 +11,7 @@ function sendAccessibilityEvent( text?: string): void; ``` -Defined in: [application/application.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L288) +Defined in: [application/application.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L385) Android: helper function for triggering accessibility events @@ -19,7 +19,7 @@ Android: helper function for triggering accessibility events | Parameter | Type | | ------ | ------ | -| `View` | `View` | +| `View` | [`View`](../classes/View.md) | | `eventName` | `AndroidAccessibilityEvent` | | `text?` | `string` | diff --git a/content/api/functions/setActivityCallbacks.md b/content/api/functions/setActivityCallbacks.md index d5aa5be8..2128a6f0 100644 --- a/content/api/functions/setActivityCallbacks.md +++ b/content/api/functions/setActivityCallbacks.md @@ -8,7 +8,7 @@ contributors: false function setActivityCallbacks(activity: any): void; ``` -Defined in: [ui/frame/index.d.ts:539](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L539) +Defined in: [ui/frame/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L549) ## Parameters diff --git a/content/api/functions/setNativeApp.md b/content/api/functions/setNativeApp.md index dc7f408d..28977586 100644 --- a/content/api/functions/setNativeApp.md +++ b/content/api/functions/setNativeApp.md @@ -8,7 +8,7 @@ contributors: false function setNativeApp(app: any): void; ``` -Defined in: [application/helpers-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/helpers-common.ts) +Defined in: [application/helpers-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/helpers-common.ts) This is called internally to set the native application instance. You typically do not need to call this directly. diff --git a/content/api/functions/setResolver.md b/content/api/functions/setResolver.md index 18ce7a47..48767b23 100644 --- a/content/api/functions/setResolver.md +++ b/content/api/functions/setResolver.md @@ -8,7 +8,7 @@ contributors: false function _setResolver(resolver: ModuleNameResolverType): void; ``` -Defined in: [module-name-resolver/helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/helpers.ts) +Defined in: [module-name-resolver/helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/helpers.ts) Used to set a global singular instance of ModuleNameResolver diff --git a/content/api/functions/timeConverter.md b/content/api/functions/timeConverter.md index d01fe2e1..f11ea8dc 100644 --- a/content/api/functions/timeConverter.md +++ b/content/api/functions/timeConverter.md @@ -8,7 +8,7 @@ contributors: false function timeConverter(value: string): number; ``` -Defined in: [ui/styling/converters.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/converters.ts) +Defined in: [ui/styling/converters.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/converters.ts) ## Parameters diff --git a/content/api/functions/updateAccessibilityProperties.md b/content/api/functions/updateAccessibilityProperties.md index 09c5f32c..22a706b0 100644 --- a/content/api/functions/updateAccessibilityProperties.md +++ b/content/api/functions/updateAccessibilityProperties.md @@ -8,7 +8,7 @@ contributors: false function updateAccessibilityProperties(view: View): void; ``` -Defined in: [application/application.d.ts:283](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L283) +Defined in: [application/application.d.ts:380](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L380) Update accessibility properties on nativeView @@ -16,7 +16,7 @@ Update accessibility properties on nativeView | Parameter | Type | | ------ | ------ | -| `view` | `View` | +| `view` | [`View`](../classes/View.md) | ## Returns diff --git a/content/api/index.md b/content/api/index.md index 22961e5e..6f575d3e 100644 --- a/content/api/index.md +++ b/content/api/index.md @@ -118,6 +118,7 @@ contributors: false | [ListView](classes/ListView.md) | Represents a view that shows items in a vertically scrolling list. | | [ModalTransition](classes/ModalTransition.md) | - | | [ModuleNameResolver](classes/ModuleNameResolver.md) | - | +| [NativeWindow](classes/NativeWindow.md) | A window surface that hosts a NativeScript view tree. | | [NavigationButton](classes/NavigationButton.md) | Represents the navigation (a.k.a. "back") button. | | [Observable](classes/Observable.md) | Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0, and you have to migrate to the "data/observable" `fromObject({})` or the `fromObjectRecursive({})` functions. | | [ObservableArray](classes/ObservableArray.md) | Advanced array like class used when you want to be notified when a change occurs. | @@ -160,6 +161,7 @@ contributors: false | [ViewHelper](classes/ViewHelper.md) | - | | [VirtualArray](classes/VirtualArray.md) | Advanced array like class that helps loading items on demand. | | [WebView](classes/WebView.md) | Represents a standard WebView widget. | +| [WindowBase](classes/WindowBase.md) | Cross-platform base for any window surface. | | [WrapLayout](classes/WrapLayout.md) | WrapLayout position children in rows or columns depending on orientation property until space is filled and then wraps them on new row or column. | | [WrappedValue](classes/WrappedValue.md) | Helper class that is used to fire property change even when real object is the same. By default property change will not be fired for a same object. By wrapping object into a WrappedValue instance `same object restriction` will be passed. | | [XmlParser](classes/XmlParser.md) | A simple non-validating SAX parser based on https://github.com/vflash/easysax version 0.1.14 | @@ -225,6 +227,7 @@ contributors: false | [LoginResult](interfaces/LoginResult.md) | Provides result data from the login dialog. | | [NativeScriptConfig](interfaces/NativeScriptConfig.md) | IMPORTANT: this is not generated automatically due to this issue: https://github.com/microsoft/TypeScript/issues/36763 the reference path above will get rewritten and break on compilation unless kept here Once issue is resolve we can remove this index.d.ts from repo and go back to auto generation on tsc | | [NativeScriptError](interfaces/NativeScriptError.md) | An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code. | +| [NativeWindowEventData](interfaces/NativeWindowEventData.md) | Base event data for NativeWindow events. | | [NavigatedData](interfaces/NavigatedData.md) | Defines the data for the page navigation events. | | [NavigationContext](interfaces/NavigationContext.md) | Represents a context passed to navigation methods. | | [NavigationData](interfaces/NavigationData.md) | Base event data. | @@ -236,6 +239,7 @@ contributors: false | [PinchGestureEventData](interfaces/PinchGestureEventData.md) | Base event data. | | [PlatformContext](interfaces/PlatformContext.md) | Used with qualifier matchers and module resolution | | [Point3D](interfaces/Point3D.md) | - | +| [PrimaryWindowChangedEventData](interfaces/PrimaryWindowChangedEventData.md) | Event data fired on Application when the primary window changes. | | [PromptOptions](interfaces/PromptOptions.md) | Provides options for the prompt dialog. | | [PromptResult](interfaces/PromptResult.md) | Provides result data from the prompt dialog. | | [PropertyAnimation](interfaces/PropertyAnimation.md) | - | @@ -243,7 +247,10 @@ contributors: false | [PropertyChangeData](interfaces/PropertyChangeData.md) | Data for the "propertyChange" event. | | [RootLayoutOptions](interfaces/RootLayoutOptions.md) | - | | [RotationGestureEventData](interfaces/RotationGestureEventData.md) | Base event data. | +| [SceneContinueUserActivityEventData](interfaces/SceneContinueUserActivityEventData.md) | iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and universal links directed at a scene. | | [SceneEventData](interfaces/SceneEventData.md) | iOS Event data containing information for scene lifecycle events (iOS 13+). | +| [SceneOpenURLContextsEventData](interfaces/SceneOpenURLContextsEventData.md) | iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs. | +| [ScenePerformActionForShortcutItemEventData](interfaces/ScenePerformActionForShortcutItemEventData.md) | iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home screen quick action targets a scene. | | [ScrollEventData](interfaces/ScrollEventData.md) | Base event data. | | [SearchEventData](interfaces/SearchEventData.md) | Event data containing information for the search text change event. | | [SelectedIndexChangedEventData](interfaces/SelectedIndexChangedEventData.md) | Defines the data for the SegmentedBar.selectedIndexChanged event. | @@ -266,6 +273,14 @@ contributors: false | [TraceWriter](interfaces/TraceWriter.md) | An interface used to define a writer used by trace to print (log). | | [UnhandledErrorEventData](interfaces/UnhandledErrorEventData.md) | Event data containing information about unhandled application errors. | | [ViewEntry](interfaces/ViewEntry.md) | Represents an entry to be used to create a view or load it form file | +| [WindowBaseEventData](interfaces/WindowBaseEventData.md) | Base event data for window surface events. | +| [WindowCloseEventData](interfaces/WindowCloseEventData.md) | Event data fired on Application when a window closes. | +| [WindowContentRequest](interfaces/WindowContentRequest.md) | Describes the window asking for content. | +| [WindowLayoutDirectionChangedEventData](interfaces/WindowLayoutDirectionChangedEventData.md) | Event data for the `layoutDirectionChanged` event of a NativeWindow. | +| [WindowOpenEventData](interfaces/WindowOpenEventData.md) | Event data fired on Application when a window opens. | +| [WindowOpenOptions](interfaces/WindowOpenOptions.md) | Options for opening a new window. | +| [WindowOrientationChangedEventData](interfaces/WindowOrientationChangedEventData.md) | Event data for the `orientationChanged` event of a NativeWindow. | +| [WindowSystemAppearanceChangedEventData](interfaces/WindowSystemAppearanceChangedEventData.md) | Event data for the `systemAppearanceChanged` event of a NativeWindow. | ## Type Aliases @@ -297,6 +312,7 @@ contributors: false | [~~LengthPxUnit~~](type-aliases/LengthPxUnit.md) | - | | [~~LengthType~~](type-aliases/LengthType.md) | - | | [ModuleListProvider](type-aliases/ModuleListProvider.md) | - | +| [NativeWindowEventName](type-aliases/NativeWindowEventName.md) | - | | [~~percent~~](type-aliases/percent.md) | - | | [~~PercentLengthType~~](type-aliases/PercentLengthType.md) | - | | [~~px~~](type-aliases/px.md) | - | @@ -314,6 +330,9 @@ contributors: false | [~~VerticalAlignment~~](type-aliases/VerticalAlignment.md) | - | | [VisionHoverOptions](type-aliases/VisionHoverOptions.md) | - | | [WebViewNavigationType](type-aliases/WebViewNavigationType.md) | Represents navigation type | +| [WindowContentResolver](type-aliases/WindowContentResolver.md) | Supplies the UI for a window that needs content. Called once per window that needs it. | +| [WindowRole](type-aliases/WindowRole.md) | The purpose a window surface serves. | +| [WindowState](type-aliases/WindowState.md) | The lifecycle state of a window surface. | ## Variables @@ -350,6 +369,8 @@ contributors: false | [borderTopWidthProperty](variables/borderTopWidthProperty.md) | - | | [clipPathProperty](variables/clipPathProperty.md) | - | | [colorProperty](variables/colorProperty.md) | - | +| [columnGapProperty](variables/columnGapProperty.md) | - | +| [cornerShapeProperty](variables/cornerShapeProperty.md) | - | | [CSSHelper](variables/CSSHelper.md) | - | | [Device](variables/Device.md) | Gets the current device information. | | [Dialogs](variables/Dialogs.md) | Singular rollup for convenience of all dialog methods | @@ -398,9 +419,12 @@ contributors: false | [marginLeftProperty](variables/marginLeftProperty.md) | - | | [marginRightProperty](variables/marginRightProperty.md) | - | | [marginTopProperty](variables/marginTopProperty.md) | - | +| [maxHeightProperty](variables/maxHeightProperty.md) | - | | [maxLengthProperty](variables/maxLengthProperty.md) | - | +| [maxWidthProperty](variables/maxWidthProperty.md) | - | | [minHeightProperty](variables/minHeightProperty.md) | - | | [minWidthProperty](variables/minWidthProperty.md) | - | +| [NativeWindowEvents](variables/NativeWindowEvents.md) | Events emitted by a NativeWindow instance. | | [~~notify~~](variables/notify.md) | - | | [~~off~~](variables/off.md) | - | | [~~on~~](variables/on.md) | - | @@ -421,10 +445,11 @@ contributors: false | [rotateProperty](variables/rotateProperty.md) | - | | [rotateXProperty](variables/rotateXProperty.md) | - | | [rotateYProperty](variables/rotateYProperty.md) | - | +| [rowGapProperty](variables/rowGapProperty.md) | - | | [~~run~~](variables/run.md) | - | | [scaleXProperty](variables/scaleXProperty.md) | - | | [scaleYProperty](variables/scaleYProperty.md) | - | -| [SceneEvents](variables/SceneEvents.md) | - | +| [~~SceneEvents~~](variables/SceneEvents.md) | - | | [~~setAutoSystemAppearanceChanged~~](variables/setAutoSystemAppearanceChanged.md) | - | | [~~setCssFileName~~](variables/setCssFileName.md) | - | | [~~setMaxRefreshRate~~](variables/setMaxRefreshRate.md) | - | @@ -450,12 +475,14 @@ contributors: false | [visibilityProperty](variables/visibilityProperty.md) | - | | [whiteSpaceProperty](variables/whiteSpaceProperty.md) | - | | [widthProperty](variables/widthProperty.md) | - | +| [WindowEvents](variables/WindowEvents.md) | Application-level events related to window management. | | [zIndexProperty](variables/zIndexProperty.md) | - | ## Functions | Function | Description | | ------ | ------ | +| [\_hasPaddingSetNativeOverrides](functions/hasPaddingSetNativeOverrides.md) | Whether a subclass overrides any of the per-side [padding*Property.setNative] handlers `coreProto` defines. An override owns padding application - the consolidated paddingInternal write must stand down, or it would apply padding around handlers designed to intercept it. | | [\_resolveAnimationCurve](functions/resolveAnimationCurve.md) | - | | [\_setResolver](functions/setResolver.md) | Used to set a global singular instance of ModuleNameResolver | | [action](functions/action.md) | The action() method displays a action box that prompts the visitor to choose some action. | @@ -480,7 +507,6 @@ contributors: false | [getRootLayoutById](functions/getRootLayoutById.md) | - | | [getTransformedText](functions/getTransformedText.md) | - | | [getViewById](functions/getViewById.md) | Gets a child view by id. | -| [initializeSdkVersionClass](functions/initializeSdkVersionClass.md) | - | | [isAccessibilityServiceEnabled](functions/isAccessibilityServiceEnabled.md) | Is Android TalkBack or iOS VoiceOver enabled? | | [isEmbedded](functions/isEmbedded.md) | Whether the app is embedded into a host project or standalone project | | [login](functions/login.md) | The login() method displays a login dialog box that prompts the visitor for user name and password. | diff --git a/content/api/interfaces/AccessibilityDecrementEventData.md b/content/api/interfaces/AccessibilityDecrementEventData.md index 22b912fc..54068883 100644 --- a/content/api/interfaces/AccessibilityDecrementEventData.md +++ b/content/api/interfaces/AccessibilityDecrementEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/slider/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L96) +Defined in: [ui/slider/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L96) Base event data. @@ -21,7 +21,7 @@ Base event data. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. object: Slider; ``` -Defined in: [ui/slider/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L97) +Defined in: [ui/slider/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L97) The Observable instance that has raised the event. @@ -53,4 +53,4 @@ The Observable instance that has raised the event. optional value?: number; ``` -Defined in: [ui/slider/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L98) +Defined in: [ui/slider/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L98) diff --git a/content/api/interfaces/AccessibilityIncrementEventData.md b/content/api/interfaces/AccessibilityIncrementEventData.md index 67aa624e..15e576a4 100644 --- a/content/api/interfaces/AccessibilityIncrementEventData.md +++ b/content/api/interfaces/AccessibilityIncrementEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/slider/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L91) +Defined in: [ui/slider/index.d.ts:91](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L91) Base event data. @@ -21,7 +21,7 @@ Base event data. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. object: Slider; ``` -Defined in: [ui/slider/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L92) +Defined in: [ui/slider/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L92) The Observable instance that has raised the event. @@ -53,4 +53,4 @@ The Observable instance that has raised the event. optional value?: number; ``` -Defined in: [ui/slider/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/slider/index.d.ts#L93) +Defined in: [ui/slider/index.d.ts:93](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/slider/index.d.ts#L93) diff --git a/content/api/interfaces/ActionOptions.md b/content/api/interfaces/ActionOptions.md index 83c6d7b6..351d4c04 100644 --- a/content/api/interfaces/ActionOptions.md +++ b/content/api/interfaces/ActionOptions.md @@ -5,7 +5,7 @@ description: Provides options for the dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L155) +Defined in: [ui/dialogs/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L155) Provides options for the dialog. @@ -21,7 +21,7 @@ Provides options for the dialog. optional actions?: string[]; ``` -Defined in: [ui/dialogs/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L174) +Defined in: [ui/dialogs/index.d.ts:174](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L174) Gets or sets the list of available actions. @@ -33,7 +33,7 @@ Gets or sets the list of available actions. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -49,7 +49,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional cancelButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L169) +Defined in: [ui/dialogs/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L169) Gets or sets the Cancel button text. @@ -61,7 +61,7 @@ Gets or sets the Cancel button text. optional destructiveActionsIndexes?: number[]; ``` -Defined in: [ui/dialogs/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L179) +Defined in: [ui/dialogs/index.d.ts:179](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L179) [iOS only] Gets or sets the indexes of destructive actions. @@ -73,7 +73,7 @@ Defined in: [ui/dialogs/index.d.ts:179](https://github.com/NativeScript/NativeSc optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L164) +Defined in: [ui/dialogs/index.d.ts:164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L164) Gets or sets the dialog message. @@ -85,7 +85,7 @@ Gets or sets the dialog message. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -101,6 +101,6 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L159) +Defined in: [ui/dialogs/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L159) Gets or sets the dialog title. diff --git a/content/api/interfaces/AddArrayFromBuilder.md b/content/api/interfaces/AddArrayFromBuilder.md index 4b8aae41..fdcbef5e 100644 --- a/content/api/interfaces/AddArrayFromBuilder.md +++ b/content/api/interfaces/AddArrayFromBuilder.md @@ -5,7 +5,7 @@ description: Defines an interface for adding arrays declared in xml. contributors: false --- -Defined in: [ui/core/view/index.d.ts:1183](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1183) +Defined in: [ui/core/view/index.d.ts:1240](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1240) Defines an interface for adding arrays declared in xml. @@ -17,7 +17,7 @@ Defines an interface for adding arrays declared in xml. _addArrayFromBuilder(name: string, value: any[]): void; ``` -Defined in: [ui/core/view/index.d.ts:1189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1189) +Defined in: [ui/core/view/index.d.ts:1246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1246) A function that is called when an array declaration is found in xml. diff --git a/content/api/interfaces/AddChildFromBuilder.md b/content/api/interfaces/AddChildFromBuilder.md index b6ad9f5f..0c9d3e4d 100644 --- a/content/api/interfaces/AddChildFromBuilder.md +++ b/content/api/interfaces/AddChildFromBuilder.md @@ -5,7 +5,7 @@ description: Defines an interface for adding a child element declared in xml. contributors: false --- -Defined in: [ui/core/view/index.d.ts:1195](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1195) +Defined in: [ui/core/view/index.d.ts:1252](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1252) Defines an interface for adding a child element declared in xml. @@ -17,7 +17,7 @@ Defines an interface for adding a child element declared in xml. _addChildFromBuilder(name: string, value: any): void; ``` -Defined in: [ui/core/view/index.d.ts:1202](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1202) +Defined in: [ui/core/view/index.d.ts:1259](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1259) Called for every child element declared in xml. This method will add a child element (value) to current element. diff --git a/content/api/interfaces/AlertOptions.md b/content/api/interfaces/AlertOptions.md index 27ea42ea..0ff9ea8b 100644 --- a/content/api/interfaces/AlertOptions.md +++ b/content/api/interfaces/AlertOptions.md @@ -5,7 +5,7 @@ description: Provides options for the alert. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:200](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L200) +Defined in: [ui/dialogs/index.d.ts:200](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L200) Provides options for the alert. @@ -25,7 +25,7 @@ Provides options for the alert. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -41,7 +41,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L194) +Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L194) Gets or sets the dialog message. @@ -57,7 +57,7 @@ Gets or sets the dialog message. optional okButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L204) +Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L204) Gets or sets the OK button text. @@ -69,7 +69,7 @@ Gets or sets the OK button text. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -85,7 +85,7 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L189) +Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L189) Gets or sets the dialog title. diff --git a/content/api/interfaces/AndroidActivityBackPressedEventData.md b/content/api/interfaces/AndroidActivityBackPressedEventData.md index 0eabbff4..829b3eda 100644 --- a/content/api/interfaces/AndroidActivityBackPressedEventData.md +++ b/content/api/interfaces/AndroidActivityBackPressedEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity back pressed event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity back pressed event. @@ -21,7 +21,7 @@ Data for the Android activity back pressed event. activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. cancel: boolean; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) In the event handler, set this value to true if you want to cancel the back navigation and do something else instead. @@ -49,7 +49,7 @@ In the event handler, set this value to true if you want to cancel the back navi eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -65,10 +65,26 @@ The name of the event. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. #### Inherited from [`AndroidActivityEventData`](AndroidActivityEventData.md).[`object`](AndroidActivityEventData.md#object) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. + +#### Inherited from + +[`AndroidActivityEventData`](AndroidActivityEventData.md).[`window`](AndroidActivityEventData.md#window) diff --git a/content/api/interfaces/AndroidActivityBundleEventData.md b/content/api/interfaces/AndroidActivityBundleEventData.md index 54133566..ca469cc4 100644 --- a/content/api/interfaces/AndroidActivityBundleEventData.md +++ b/content/api/interfaces/AndroidActivityBundleEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity events with bundle. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity events with bundle. @@ -21,7 +21,7 @@ Data for the Android activity events with bundle. activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. bundle: Bundle; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The bundle. @@ -49,7 +49,7 @@ The bundle. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -65,10 +65,26 @@ The name of the event. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. #### Inherited from [`AndroidActivityEventData`](AndroidActivityEventData.md).[`object`](AndroidActivityEventData.md#object) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. + +#### Inherited from + +[`AndroidActivityEventData`](AndroidActivityEventData.md).[`window`](AndroidActivityEventData.md#window) diff --git a/content/api/interfaces/AndroidActivityCallbacks.md b/content/api/interfaces/AndroidActivityCallbacks.md index dc28ae3d..f8f2ee47 100644 --- a/content/api/interfaces/AndroidActivityCallbacks.md +++ b/content/api/interfaces/AndroidActivityCallbacks.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/frame/index.d.ts:497](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L497) +Defined in: [ui/frame/index.d.ts:507](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L507) ## Methods @@ -14,7 +14,7 @@ Defined in: [ui/frame/index.d.ts:497](https://github.com/NativeScript/NativeScri getRootView(): View; ``` -Defined in: [ui/frame/index.d.ts:498](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L498) +Defined in: [ui/frame/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L508) #### Returns @@ -33,7 +33,7 @@ onActivityResult( superFunc: Function): any; ``` -Defined in: [ui/frame/index.d.ts:509](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L509) +Defined in: [ui/frame/index.d.ts:519](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L519) #### Parameters @@ -57,7 +57,7 @@ Defined in: [ui/frame/index.d.ts:509](https://github.com/NativeScript/NativeScri onBackPressed(activity: any, superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:507](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L507) +Defined in: [ui/frame/index.d.ts:517](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L517) #### Parameters @@ -82,7 +82,7 @@ onCreate( superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L501) +Defined in: [ui/frame/index.d.ts:511](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L511) #### Parameters @@ -105,7 +105,7 @@ Defined in: [ui/frame/index.d.ts:501](https://github.com/NativeScript/NativeScri onDestroy(activity: any, superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L506) +Defined in: [ui/frame/index.d.ts:516](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L516) #### Parameters @@ -130,7 +130,7 @@ onNewIntent( superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:510](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L510) +Defined in: [ui/frame/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L520) #### Parameters @@ -153,7 +153,7 @@ Defined in: [ui/frame/index.d.ts:510](https://github.com/NativeScript/NativeScri onPostResume(activity: any, superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:505](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L505) +Defined in: [ui/frame/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L515) #### Parameters @@ -179,7 +179,7 @@ onRequestPermissionsResult( superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L508) +Defined in: [ui/frame/index.d.ts:518](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L518) #### Parameters @@ -206,7 +206,7 @@ onSaveInstanceState( superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:502](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L502) +Defined in: [ui/frame/index.d.ts:512](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L512) #### Parameters @@ -228,7 +228,7 @@ Defined in: [ui/frame/index.d.ts:502](https://github.com/NativeScript/NativeScri onStart(activity: any, superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:503](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L503) +Defined in: [ui/frame/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L513) #### Parameters @@ -249,7 +249,7 @@ Defined in: [ui/frame/index.d.ts:503](https://github.com/NativeScript/NativeScri onStop(activity: any, superFunc: Function): void; ``` -Defined in: [ui/frame/index.d.ts:504](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L504) +Defined in: [ui/frame/index.d.ts:514](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L514) #### Parameters @@ -267,16 +267,17 @@ Defined in: [ui/frame/index.d.ts:504](https://github.com/NativeScript/NativeScri ### resetActivityContent() ```ts -resetActivityContent(activity: any): void; +resetActivityContent(activity: any, view?: View): void; ``` -Defined in: [ui/frame/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L499) +Defined in: [ui/frame/index.d.ts:509](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L509) #### Parameters | Parameter | Type | | ------ | ------ | | `activity` | `any` | +| `view?` | [`View`](../classes/View.md) | #### Returns diff --git a/content/api/interfaces/AndroidActivityEventData.md b/content/api/interfaces/AndroidActivityEventData.md index 128cde2f..b989fce7 100644 --- a/content/api/interfaces/AndroidActivityEventData.md +++ b/content/api/interfaces/AndroidActivityEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity events. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity events. @@ -25,7 +25,7 @@ Data for the Android activity events. activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -49,6 +49,18 @@ The name of the event. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. diff --git a/content/api/interfaces/AndroidActivityNewIntentEventData.md b/content/api/interfaces/AndroidActivityNewIntentEventData.md index 9784fd8d..7ad0019b 100644 --- a/content/api/interfaces/AndroidActivityNewIntentEventData.md +++ b/content/api/interfaces/AndroidActivityNewIntentEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity newIntent event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity newIntent event. @@ -21,7 +21,7 @@ Data for the Android activity newIntent event. activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. intent: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The intent. @@ -65,10 +65,26 @@ The intent. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. #### Inherited from [`AndroidActivityEventData`](AndroidActivityEventData.md).[`object`](AndroidActivityEventData.md#object) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. + +#### Inherited from + +[`AndroidActivityEventData`](AndroidActivityEventData.md).[`window`](AndroidActivityEventData.md#window) diff --git a/content/api/interfaces/AndroidActivityRequestPermissionsEventData.md b/content/api/interfaces/AndroidActivityRequestPermissionsEventData.md index c9a23ff0..f3dc044c 100644 --- a/content/api/interfaces/AndroidActivityRequestPermissionsEventData.md +++ b/content/api/interfaces/AndroidActivityRequestPermissionsEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity onRequestPermissions callback contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity onRequestPermissions callback @@ -21,7 +21,7 @@ Data for the Android activity onRequestPermissions callback activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. grantResults: number[]; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The Granted. @@ -65,7 +65,7 @@ The Granted. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. @@ -81,7 +81,7 @@ The instance that has raised the event. permissions: string[]; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The Permissions. @@ -93,6 +93,22 @@ The Permissions. requestCode: number; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The request code. + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. + +#### Inherited from + +[`AndroidActivityEventData`](AndroidActivityEventData.md).[`window`](AndroidActivityEventData.md#window) diff --git a/content/api/interfaces/AndroidActivityResultEventData.md b/content/api/interfaces/AndroidActivityResultEventData.md index 591942bf..c267e8da 100644 --- a/content/api/interfaces/AndroidActivityResultEventData.md +++ b/content/api/interfaces/AndroidActivityResultEventData.md @@ -5,7 +5,7 @@ description: Data for the Android activity result event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Data for the Android activity result event. @@ -21,7 +21,7 @@ Data for the Android activity result event. activity: AppCompatActivity; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The activity. @@ -37,7 +37,7 @@ The activity. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. intent: Intent; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The intent. @@ -65,7 +65,7 @@ The intent. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. @@ -81,7 +81,7 @@ The instance that has raised the event. requestCode: number; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The request code. @@ -93,6 +93,22 @@ The request code. resultCode: number; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The result code. + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the activity belongs to, when one is registered for it. + +#### Inherited from + +[`AndroidActivityEventData`](AndroidActivityEventData.md).[`window`](AndroidActivityEventData.md#window) diff --git a/content/api/interfaces/AndroidOverflowInsetData.md b/content/api/interfaces/AndroidOverflowInsetData.md index 6053b6c0..1790b38f 100644 --- a/content/api/interfaces/AndroidOverflowInsetData.md +++ b/content/api/interfaces/AndroidOverflowInsetData.md @@ -5,7 +5,7 @@ description: Defines the data for the androidOverflowInset event. contributors: false --- -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) Defines the data for the androidOverflowInset event. @@ -21,7 +21,7 @@ Defines the data for the androidOverflowInset event. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. optional inset?: Inset; ``` -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) The inset values passed to the view to consume or update. @@ -49,7 +49,7 @@ The inset values passed to the view to consume or update. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/AnimationDefinition.md b/content/api/interfaces/AnimationDefinition.md index 979a2ae9..5ea8f3b6 100644 --- a/content/api/interfaces/AnimationDefinition.md +++ b/content/api/interfaces/AnimationDefinition.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Extended by @@ -18,7 +18,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional backgroundColor?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -28,7 +28,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional curve?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -38,7 +38,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional delay?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -48,7 +48,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional duration?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -58,7 +58,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional height?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -68,7 +68,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional iterations?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -78,7 +78,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional opacity?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -95,7 +95,7 @@ optional rotate?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -110,7 +110,7 @@ optional scale?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -120,7 +120,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional target?: View; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -135,7 +135,7 @@ optional translate?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -145,4 +145,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional width?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/interfaces/AnimationDefinitionInternal.md b/content/api/interfaces/AnimationDefinitionInternal.md index 46b14f83..8cda6b5d 100644 --- a/content/api/interfaces/AnimationDefinitionInternal.md +++ b/content/api/interfaces/AnimationDefinitionInternal.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional backgroundColor?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -32,7 +32,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional curve?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -46,7 +46,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional delay?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional duration?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -74,7 +74,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional height?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional iterations?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -102,7 +102,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional opacity?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -123,7 +123,7 @@ optional rotate?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -142,7 +142,7 @@ optional scale?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional target?: View; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -175,7 +175,7 @@ optional translate?: }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -189,7 +189,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional valueSource?: "animation" | "keyframe"; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -199,7 +199,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional width?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from diff --git a/content/api/interfaces/ApplicationEventData.md b/content/api/interfaces/ApplicationEventData.md index 2464af19..ed1f6a3c 100644 --- a/content/api/interfaces/ApplicationEventData.md +++ b/content/api/interfaces/ApplicationEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for the application events. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for the application events. @@ -30,7 +30,7 @@ Event data containing information for the application events. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -42,7 +42,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -54,7 +54,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -66,6 +66,6 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/BackstackEntry.md b/content/api/interfaces/BackstackEntry.md index 30b52b24..a2d3cf03 100644 --- a/content/api/interfaces/BackstackEntry.md +++ b/content/api/interfaces/BackstackEntry.md @@ -5,7 +5,7 @@ description: Represents an entry in the back stack of a Frame object. contributors: false --- -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) Represents an entry in the back stack of a Frame object. @@ -17,7 +17,7 @@ Represents an entry in the back stack of a Frame object. entry: NavigationEntry; ``` -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) *** @@ -27,4 +27,4 @@ Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/Nativ resolvedPage: Page; ``` -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) diff --git a/content/api/interfaces/BindingOptions.md b/content/api/interfaces/BindingOptions.md index 717b7a1e..2eaeaf14 100644 --- a/content/api/interfaces/BindingOptions.md +++ b/content/api/interfaces/BindingOptions.md @@ -5,7 +5,7 @@ description: The options object used in the Bindable.bind method. contributors: false --- -Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/bindable-types.ts) +Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/bindable-types.ts) The options object used in the Bindable.bind method. @@ -17,7 +17,7 @@ The options object used in the Bindable.bind method. optional expression?: string; ``` -Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/bindable-types.ts) +Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/bindable-types.ts) An expression used for calculations (convertions) based on the value of the property. @@ -29,7 +29,7 @@ An expression used for calculations (convertions) based on the value of the prop sourceProperty: string; ``` -Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/bindable-types.ts) +Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/bindable-types.ts) The property name of the source object (typically the ViewModel) to bind to. @@ -41,7 +41,7 @@ The property name of the source object (typically the ViewModel) to bind to. targetProperty: string; ``` -Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/bindable-types.ts) +Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/bindable-types.ts) The property name of the target object (that is the Bindable instance) to bind the source property to. @@ -53,6 +53,6 @@ The property name of the target object (that is the Bindable instance) to bind t optional twoWay?: boolean; ``` -Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/bindable/bindable-types.ts) +Defined in: [ui/core/bindable/bindable-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/bindable/bindable-types.ts) True to establish a two-way binding, false otherwise. A two-way binding will synchronize both the source and the target property values regardless of which one initiated the change. diff --git a/content/api/interfaces/Cancelable.md b/content/api/interfaces/Cancelable.md index 7e6ce72b..e797b48c 100644 --- a/content/api/interfaces/Cancelable.md +++ b/content/api/interfaces/Cancelable.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Methods @@ -16,7 +16,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N cancel(): void; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ##### Returns @@ -28,7 +28,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N cancel(): void; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ##### Returns diff --git a/content/api/interfaces/CancelableOptions.md b/content/api/interfaces/CancelableOptions.md index b6f88bd7..74f0cd2e 100644 --- a/content/api/interfaces/CancelableOptions.md +++ b/content/api/interfaces/CancelableOptions.md @@ -5,7 +5,7 @@ description: Provides options for the dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L140) +Defined in: [ui/dialogs/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L140) Provides options for the dialog. @@ -22,7 +22,7 @@ Provides options for the dialog. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -34,6 +34,6 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style diff --git a/content/api/interfaces/ChangedData.md b/content/api/interfaces/ChangedData.md index eec83016..c9cef58e 100644 --- a/content/api/interfaces/ChangedData.md +++ b/content/api/interfaces/ChangedData.md @@ -5,7 +5,7 @@ description: Event args for "changed" event. contributors: false --- -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Event args for "changed" event. @@ -27,7 +27,7 @@ Event args for "changed" event. action: string; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Change type. @@ -39,7 +39,7 @@ Change type. addedCount: number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Number of added items. @@ -51,7 +51,7 @@ Number of added items. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -67,7 +67,7 @@ The name of the event. index: number; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Start index. @@ -79,7 +79,7 @@ Start index. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -95,6 +95,6 @@ The Observable instance that has raised the event. removed: T[]; ``` -Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable-array/index.ts) +Defined in: [data/observable-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable-array/index.ts) Removed items. diff --git a/content/api/interfaces/CommonLayoutParams.md b/content/api/interfaces/CommonLayoutParams.md index 9bd9e6b3..a8951765 100644 --- a/content/api/interfaces/CommonLayoutParams.md +++ b/content/api/interfaces/CommonLayoutParams.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc bottomMargin: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -24,7 +24,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc bottomMarginPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -34,7 +34,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc height: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -44,7 +44,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc heightPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -54,7 +54,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -64,7 +64,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc leftMargin: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -74,7 +74,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc leftMarginPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -84,7 +84,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc rightMargin: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -94,7 +94,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc rightMarginPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -104,7 +104,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc topMargin: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -114,7 +114,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc topMarginPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -124,7 +124,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -134,7 +134,7 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc width: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) *** @@ -144,4 +144,4 @@ Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeSc widthPercent: number; ``` -Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style/index.ts) +Defined in: [ui/styling/style/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style/index.ts) diff --git a/content/api/interfaces/ComponentModule.md b/content/api/interfaces/ComponentModule.md index b1910db1..47bb11fb 100644 --- a/content/api/interfaces/ComponentModule.md +++ b/content/api/interfaces/ComponentModule.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/component-builder/index.ts) +Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/component-builder/index.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScr component: View; ``` -Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/component-builder/index.ts) +Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/component-builder/index.ts) *** @@ -24,4 +24,4 @@ Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScr exports: any; ``` -Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/component-builder/index.ts) +Defined in: [ui/builder/component-builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/component-builder/index.ts) diff --git a/content/api/interfaces/ConfirmOptions.md b/content/api/interfaces/ConfirmOptions.md index 512c37ae..f5b9792b 100644 --- a/content/api/interfaces/ConfirmOptions.md +++ b/content/api/interfaces/ConfirmOptions.md @@ -5,7 +5,7 @@ description: Provides options for the confirm dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:210](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L210) +Defined in: [ui/dialogs/index.d.ts:210](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L210) Provides options for the confirm dialog. @@ -26,7 +26,7 @@ Provides options for the confirm dialog. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -42,7 +42,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional cancelButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L214) +Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L214) Gets or sets the Cancel button text. @@ -54,7 +54,7 @@ Gets or sets the Cancel button text. optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L194) +Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L194) Gets or sets the dialog message. @@ -70,7 +70,7 @@ Gets or sets the dialog message. optional neutralButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L219) +Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L219) Gets or sets the neutral button text. @@ -82,7 +82,7 @@ Gets or sets the neutral button text. optional okButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L204) +Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L204) Gets or sets the OK button text. @@ -98,7 +98,7 @@ Gets or sets the OK button text. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -114,7 +114,7 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L189) +Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L189) Gets or sets the dialog title. diff --git a/content/api/interfaces/CreateViewEventData.md b/content/api/interfaces/CreateViewEventData.md index 73857ac3..dc40a9c5 100644 --- a/content/api/interfaces/CreateViewEventData.md +++ b/content/api/interfaces/CreateViewEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for creating a native view that w contributors: false --- -Defined in: [ui/placeholder/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L40) +Defined in: [ui/placeholder/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L40) Event data containing information for creating a native view that will be added to the visual tree. @@ -21,7 +21,7 @@ Event data containing information for creating a native view that will be added optional context?: any; ``` -Defined in: [ui/placeholder/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L49) +Defined in: [ui/placeholder/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L49) An optional context for creating the view. @@ -33,7 +33,7 @@ An optional context for creating the view. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -65,6 +65,6 @@ The Observable instance that has raised the event. view: any; ``` -Defined in: [ui/placeholder/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/placeholder/index.d.ts#L44) +Defined in: [ui/placeholder/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/placeholder/index.d.ts#L44) The native view that should be added to the visual tree. diff --git a/content/api/interfaces/CssChangedEventData.md b/content/api/interfaces/CssChangedEventData.md index 26259afc..b6c69ea5 100644 --- a/content/api/interfaces/CssChangedEventData.md +++ b/content/api/interfaces/CssChangedEventData.md @@ -5,7 +5,7 @@ description: Event data containing information about application css change. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information about application css change. @@ -21,7 +21,7 @@ Event data containing information about application css change. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. optional cssFile?: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -47,7 +47,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr optional cssText?: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -57,7 +57,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -73,7 +73,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -89,7 +89,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/DialogOptions.md b/content/api/interfaces/DialogOptions.md index 43666a8d..51333d26 100644 --- a/content/api/interfaces/DialogOptions.md +++ b/content/api/interfaces/DialogOptions.md @@ -5,7 +5,7 @@ description: Provides options for the dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:185](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L185) +Defined in: [ui/dialogs/index.d.ts:185](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L185) Provides options for the dialog. @@ -25,7 +25,7 @@ Provides options for the dialog. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -41,7 +41,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L194) +Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L194) Gets or sets the dialog message. @@ -53,7 +53,7 @@ Gets or sets the dialog message. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -69,6 +69,6 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L189) +Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L189) Gets or sets the dialog title. diff --git a/content/api/interfaces/DiscardedErrorEventData.md b/content/api/interfaces/DiscardedErrorEventData.md index 0e4515c2..da8a7e55 100644 --- a/content/api/interfaces/DiscardedErrorEventData.md +++ b/content/api/interfaces/DiscardedErrorEventData.md @@ -5,7 +5,7 @@ description: Event data containing information about discarded application error contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information about discarded application errors. @@ -21,7 +21,7 @@ Event data containing information about discarded application errors. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. error: NativeScriptError; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -47,7 +47,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -63,7 +63,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -79,7 +79,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/DownloadError.md b/content/api/interfaces/DownloadError.md index ee3be798..d73a4fe0 100644 --- a/content/api/interfaces/DownloadError.md +++ b/content/api/interfaces/DownloadError.md @@ -5,7 +5,7 @@ description: Provides data for download error. contributors: false --- -Defined in: [ui/image-cache/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L138) +Defined in: [ui/image-cache/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L138) Provides data for download error. @@ -21,7 +21,7 @@ Provides data for download error. error: Error; ``` -Defined in: [ui/image-cache/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L146) +Defined in: [ui/image-cache/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L146) Gets the error. @@ -33,7 +33,7 @@ Gets the error. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. key: string; ``` -Defined in: [ui/image-cache/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L142) +Defined in: [ui/image-cache/index.d.ts:142](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L142) A string indentifier of the cached image. @@ -61,7 +61,7 @@ A string indentifier of the cached image. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/DownloadRequest.md b/content/api/interfaces/DownloadRequest.md index ec51cafc..f1d21f0e 100644 --- a/content/api/interfaces/DownloadRequest.md +++ b/content/api/interfaces/DownloadRequest.md @@ -5,7 +5,7 @@ description: Represents a single download request. contributors: false --- -Defined in: [ui/image-cache/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L7) +Defined in: [ui/image-cache/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L7) Represents a single download request. @@ -17,7 +17,7 @@ Represents a single download request. optional completed?: (image: any, key: string) => void; ``` -Defined in: [ui/image-cache/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L19) +Defined in: [ui/image-cache/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L19) An optional function to be called when the download is complete. @@ -40,7 +40,7 @@ An optional function to be called when the download is complete. optional error?: (key: string) => void; ``` -Defined in: [ui/image-cache/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L23) +Defined in: [ui/image-cache/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L23) An optional function to be called if the download errors. @@ -62,7 +62,7 @@ An optional function to be called if the download errors. key: string; ``` -Defined in: [ui/image-cache/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L15) +Defined in: [ui/image-cache/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L15) The key used to cache the image. @@ -74,6 +74,6 @@ The key used to cache the image. url: string; ``` -Defined in: [ui/image-cache/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L11) +Defined in: [ui/image-cache/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L11) The url of the image. diff --git a/content/api/interfaces/DownloadedData.md b/content/api/interfaces/DownloadedData.md index 0aab4416..e6467933 100644 --- a/content/api/interfaces/DownloadedData.md +++ b/content/api/interfaces/DownloadedData.md @@ -5,7 +5,7 @@ description: Provides data for downloaded event. contributors: false --- -Defined in: [ui/image-cache/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L124) +Defined in: [ui/image-cache/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L124) Provides data for downloaded event. @@ -21,7 +21,7 @@ Provides data for downloaded event. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. image: ImageSource; ``` -Defined in: [ui/image-cache/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L132) +Defined in: [ui/image-cache/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L132) Gets the cached image. @@ -49,7 +49,7 @@ Gets the cached image. key: string; ``` -Defined in: [ui/image-cache/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/image-cache/index.d.ts#L128) +Defined in: [ui/image-cache/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/image-cache/index.d.ts#L128) A string indentifier of the cached image. @@ -61,7 +61,7 @@ A string indentifier of the cached image. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/EventData.md b/content/api/interfaces/EventData.md index f7a143c6..10099aa8 100644 --- a/content/api/interfaces/EventData.md +++ b/content/api/interfaces/EventData.md @@ -5,13 +5,17 @@ description: Base event data. contributors: false --- -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Base event data. ## Extended by - [`LaunchEventData`](LaunchEventData.md) +- [`WindowBaseEventData`](WindowBaseEventData.md) +- [`WindowOpenEventData`](WindowOpenEventData.md) +- [`WindowCloseEventData`](WindowCloseEventData.md) +- [`PrimaryWindowChangedEventData`](PrimaryWindowChangedEventData.md) - [`ChangedData`](ChangedData.md) - [`PropertyChangeData`](PropertyChangeData.md) - [`EventDataValue`](EventDataValue.md) @@ -40,7 +44,7 @@ Base event data. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -52,6 +56,6 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/EventDataValue.md b/content/api/interfaces/EventDataValue.md index b9f007e6..dafbeca8 100644 --- a/content/api/interfaces/EventDataValue.md +++ b/content/api/interfaces/EventDataValue.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -53,4 +53,4 @@ The Observable instance that has raised the event. optional value?: boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) diff --git a/content/api/interfaces/FontScaleChangedEventData.md b/content/api/interfaces/FontScaleChangedEventData.md index f8e2db84..8139b9d6 100644 --- a/content/api/interfaces/FontScaleChangedEventData.md +++ b/content/api/interfaces/FontScaleChangedEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for font scale changed event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for font scale changed event. @@ -21,7 +21,7 @@ Event data containing information for font scale changed event. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -69,7 +69,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. newValue: number; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) New font scale value. @@ -81,7 +81,7 @@ New font scale value. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/GestureEventData.md b/content/api/interfaces/GestureEventData.md index 899aef2b..e2ea82c3 100644 --- a/content/api/interfaces/GestureEventData.md +++ b/content/api/interfaces/GestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -27,7 +27,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -37,7 +37,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -63,7 +63,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -79,7 +79,7 @@ The Observable instance that has raised the event. type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -89,4 +89,4 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) diff --git a/content/api/interfaces/GestureEventDataWithState.md b/content/api/interfaces/GestureEventDataWithState.md index 51ee6e84..c0b7043c 100644 --- a/content/api/interfaces/GestureEventDataWithState.md +++ b/content/api/interfaces/GestureEventDataWithState.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -27,7 +27,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -41,7 +41,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -57,7 +57,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -71,7 +71,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -87,7 +87,7 @@ The Observable instance that has raised the event. state: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -97,7 +97,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -111,7 +111,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from diff --git a/content/api/interfaces/HttpContent.md b/content/api/interfaces/HttpContent.md index 39df6432..f182592a 100644 --- a/content/api/interfaces/HttpContent.md +++ b/content/api/interfaces/HttpContent.md @@ -5,7 +5,7 @@ description: Encapsulates the content of an HttpResponse. contributors: false --- -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Encapsulates the content of an HttpResponse. @@ -21,7 +21,7 @@ Encapsulates the content of an HttpResponse. raw: any; ``` -Defined in: [http/http-request-internal/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-request-internal/index.d.ts#L7) +Defined in: [http/http-request-internal/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-request-internal/index.d.ts#L7) Gets the response body as raw data. @@ -39,7 +39,7 @@ BaseHttpContent.raw requestURL: string; ``` -Defined in: [http/http-request-internal/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-request-internal/index.d.ts#L11) +Defined in: [http/http-request-internal/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-request-internal/index.d.ts#L11) Gets the request options URL. @@ -57,7 +57,7 @@ BaseHttpContent.requestURL toArrayBuffer: () => ArrayBuffer; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as ArrayBuffer @@ -77,7 +77,7 @@ Gets the response body as ArrayBuffer toFile: (destinationFilePath?: string) => File; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as file. @@ -103,7 +103,7 @@ Gets the response body as file. toImage: () => Promise; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as ImageSource. @@ -123,7 +123,7 @@ Gets the response body as ImageSource. toJSON: (encoding?: HttpResponseEncoding) => any; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as JSON object. @@ -149,7 +149,7 @@ Gets the response body as JSON object. toNativeImage: () => Promise; ``` -Defined in: [http/http-request-internal/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-request-internal/index.d.ts#L15) +Defined in: [http/http-request-internal/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-request-internal/index.d.ts#L15) Gets the response native image. @@ -171,7 +171,7 @@ BaseHttpContent.toNativeImage toNativeString: (encoding?: HttpResponseEncoding) => any; ``` -Defined in: [http/http-request-internal/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-request-internal/index.d.ts#L19) +Defined in: [http/http-request-internal/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-request-internal/index.d.ts#L19) Gets the response as native string. @@ -199,7 +199,7 @@ BaseHttpContent.toNativeString toString: (encoding?: HttpResponseEncoding) => string; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as string. diff --git a/content/api/interfaces/HttpRequestOptions.md b/content/api/interfaces/HttpRequestOptions.md index fd0dcb4e..376400e7 100644 --- a/content/api/interfaces/HttpRequestOptions.md +++ b/content/api/interfaces/HttpRequestOptions.md @@ -5,7 +5,7 @@ description: Provides options for the http requests. contributors: false --- -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Provides options for the http requests. @@ -17,7 +17,7 @@ Provides options for the http requests. optional content?: string | FormData | ArrayBuffer | Uint8Array; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets the request body. @@ -29,7 +29,7 @@ Gets or sets the request body. optional dontFollowRedirects?: boolean; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets whether to *not* follow server's redirection responses. @@ -41,7 +41,7 @@ Gets or sets whether to *not* follow server's redirection responses. optional headers?: any; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets the request headers in JSON format. @@ -53,7 +53,7 @@ Gets or sets the request headers in JSON format. method: string; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets the request method. @@ -65,7 +65,7 @@ Gets or sets the request method. optional timeout?: number; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets the request timeout in milliseconds. @@ -77,6 +77,6 @@ Gets or sets the request timeout in milliseconds. url: string; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets or sets the request url. diff --git a/content/api/interfaces/HttpResponse.md b/content/api/interfaces/HttpResponse.md index b369b2e3..9f391dff 100644 --- a/content/api/interfaces/HttpResponse.md +++ b/content/api/interfaces/HttpResponse.md @@ -5,7 +5,7 @@ description: Encapsulates HTTP-response information from an HTTP-request. contributors: false --- -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Encapsulates HTTP-response information from an HTTP-request. @@ -23,7 +23,7 @@ Encapsulates HTTP-response information from an HTTP-request. optional content?: T; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response content. @@ -35,7 +35,7 @@ Gets the response content. headers: Headers; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response headers. @@ -47,6 +47,6 @@ Gets the response headers. statusCode: number; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response status code. diff --git a/content/api/interfaces/IDevice.md b/content/api/interfaces/IDevice.md index 7f7c6642..a80c87ef 100644 --- a/content/api/interfaces/IDevice.md +++ b/content/api/interfaces/IDevice.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [platform/device/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L4) +Defined in: [platform/device/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L4) ## Properties @@ -14,7 +14,7 @@ Defined in: [platform/device/index.d.ts:4](https://github.com/NativeScript/Nativ deviceType: "Phone" | "Tablet"; ``` -Defined in: [platform/device/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L39) +Defined in: [platform/device/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L39) Gets the type of the current device. Available values: "Phone", "Tablet". @@ -27,7 +27,7 @@ Available values: "Phone", "Tablet". language: string; ``` -Defined in: [platform/device/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L52) +Defined in: [platform/device/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L52) Gets the preferred language. For example "en" or "en-US". @@ -39,7 +39,7 @@ Gets the preferred language. For example "en" or "en-US". manufacturer: string; ``` -Defined in: [platform/device/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L9) +Defined in: [platform/device/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L9) Gets the manufacturer of the device. For example: "Apple" or "HTC" or "Samsung". @@ -52,7 +52,7 @@ For example: "Apple" or "HTC" or "Samsung". model: string; ``` -Defined in: [platform/device/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L15) +Defined in: [platform/device/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L15) Gets the model of the device. For example: "Nexus 5" or "iPhone". @@ -65,7 +65,7 @@ For example: "Nexus 5" or "iPhone". os: string; ``` -Defined in: [platform/device/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L21) +Defined in: [platform/device/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L21) Gets the OS of the device. For example: "Android" or "iOS". @@ -78,7 +78,7 @@ For example: "Android" or "iOS". osVersion: string; ``` -Defined in: [platform/device/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L27) +Defined in: [platform/device/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L27) Gets the OS version. For example: 4.4.4(android), 8.1(ios) @@ -91,7 +91,7 @@ For example: 4.4.4(android), 8.1(ios) region: string; ``` -Defined in: [platform/device/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L57) +Defined in: [platform/device/index.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L57) Gets the preferred region. For example "US". @@ -103,7 +103,7 @@ Gets the preferred region. For example "US". sdkVersion: string; ``` -Defined in: [platform/device/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L33) +Defined in: [platform/device/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L33) Gets the SDK version. For example: 19(android), 8.1(ios). @@ -116,7 +116,7 @@ For example: 19(android), 8.1(ios). uuid: string; ``` -Defined in: [platform/device/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L47) +Defined in: [platform/device/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L47) Gets the uuid. On iOS this will return a new uuid if the application is re-installed on the device. diff --git a/content/api/interfaces/IOSView.md b/content/api/interfaces/IOSView.md index 2acd392a..13a45000 100644 --- a/content/api/interfaces/IOSView.md +++ b/content/api/interfaces/IOSView.md @@ -5,7 +5,7 @@ description: This class is the base class for all UI components. A View occupies contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within. @@ -26,7 +26,7 @@ View optional _androidContentDescriptionUpdated?: boolean; ``` -Defined in: [ui/core/view/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L348) +Defined in: [ui/core/view/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L358) Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription() @@ -42,7 +42,7 @@ Internal use only. This is used to limit the number of updates to android.view.V _automaticallyAdjustsScrollViewInsets: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _closeModalCallback: Function; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -70,7 +70,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _cssState: CssState; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -98,7 +98,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -126,7 +126,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -140,7 +140,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _defaultPaddingTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -154,7 +154,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _domId: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _ignoreFlexMinWidthHeightReset: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -182,7 +182,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isAddedToNativeVisualTree: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -196,7 +196,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _isPaddingRelative: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -210,7 +210,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isStyleScopeHost: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -218,13 +218,31 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### \_nativeWindow? + +```ts +optional _nativeWindow?: NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:970](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L970) + +Internal property: +The window this view is the root view of. Only ever set on a window's root view; +use `getNativeWindow()` to resolve the window of any other view. + +#### Inherited from + +[`View`](../classes/View.md).[`_nativeWindow`](../classes/View.md#_nativewindow) + +*** + ### \_oldBottom ```ts _oldBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -238,7 +256,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -252,7 +270,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -266,7 +284,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _oldTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -280,7 +298,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _styleScope: StyleScope; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -294,7 +312,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendNativeUpdatesCount: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Determines the depth of suspended updates. When the value is 0 the current property updates are not batched nor scoped and must be immediately applied. @@ -314,7 +332,7 @@ as well as adding/rmoving the view to/from the visual tree. accessibilityHidden: boolean; ``` -Defined in: [ui/core/view/index.d.ts:250](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L250) +Defined in: [ui/core/view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L260) Hide the view and its children from the a11y service @@ -332,7 +350,7 @@ Hide the view and its children from the a11y service accessibilityHint: string; ``` -Defined in: [ui/core/view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L295) +Defined in: [ui/core/view/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L305) A hint describes the elements behavior. Example: 'Tap change playback speed' @@ -350,7 +368,7 @@ A hint describes the elements behavior. Example: 'Tap change playback speed' accessibilityIdentifier: string; ``` -Defined in: [ui/core/view/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L259) +Defined in: [ui/core/view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L269) The view's unique accessibilityIdentifier. @@ -370,7 +388,7 @@ This is used for automated testing. accessibilityIgnoresInvertColors: boolean; ``` -Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L322) +Defined in: [ui/core/view/index.d.ts:332](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L332) #### Ns Property @@ -386,7 +404,7 @@ Defined in: [ui/core/view/index.d.ts:322](https://github.com/NativeScript/Native accessibilityLabel: string; ``` -Defined in: [ui/core/view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L281) +Defined in: [ui/core/view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L291) Short description of the element, ideally one word. @@ -404,7 +422,7 @@ Short description of the element, ideally one word. accessibilityLanguage: string; ``` -Defined in: [ui/core/view/index.d.ts:310](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L310) +Defined in: [ui/core/view/index.d.ts:320](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L320) Sets the language in which to speak the element's label and value. Accepts language ID tags that follows the "BCP 47" specification. @@ -423,7 +441,7 @@ Accepts language ID tags that follows the "BCP 47" specification. accessibilityLiveRegion: AccessibilityLiveRegion; ``` -Defined in: [ui/core/view/index.d.ts:302](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L302) +Defined in: [ui/core/view/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L312) When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property. @@ -441,7 +459,7 @@ When components dynamically change, we want TalkBack to alert the end user. This accessibilityMediaSession: boolean; ``` -Defined in: [ui/core/view/index.d.ts:317](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L317) +Defined in: [ui/core/view/index.d.ts:327](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L327) This view starts a media session. Equivalent to trait = startsMedia @@ -459,7 +477,7 @@ This view starts a media session. Equivalent to trait = startsMedia accessibilityRole: AccessibilityRole; ``` -Defined in: [ui/core/view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L266) +Defined in: [ui/core/view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L276) Which role should this view be treated by the a11y service? @@ -477,7 +495,7 @@ Which role should this view be treated by the a11y service? accessibilityState: AccessibilityState; ``` -Defined in: [ui/core/view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L274) +Defined in: [ui/core/view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L284) Which state should this view be treated as by the a11y service? @@ -495,7 +513,7 @@ Which state should this view be treated as by the a11y service? accessibilityValue: string; ``` -Defined in: [ui/core/view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L288) +Defined in: [ui/core/view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L298) Current value of the element in a localized string. @@ -513,7 +531,7 @@ Current value of the element in a localized string. accessible: boolean; ``` -Defined in: [ui/core/view/index.d.ts:243](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L243) +Defined in: [ui/core/view/index.d.ts:253](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L253) If `true` the element is an accessibility element and all the children will be treated as a single selectable component. @@ -531,7 +549,7 @@ If `true` the element is an accessibility element and all the children will be t alignSelf: AlignSelf; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) (Android-only) Overrides the alignItems value for the child. @@ -549,7 +567,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS android: any; ``` -Defined in: [ui/core/view/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L111) +Defined in: [ui/core/view/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L121) Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform. @@ -565,7 +583,7 @@ Gets the android-specific native instance that lies behind this proxy. Will be a androidDynamicElevationOffset: number; ``` -Defined in: [ui/core/view/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L368) +Defined in: [ui/core/view/index.d.ts:378](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L378) Gets or sets the dynamic elevation offset of the android view. @@ -583,7 +601,7 @@ Gets or sets the dynamic elevation offset of the android view. androidElevation: number; ``` -Defined in: [ui/core/view/index.d.ts:361](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L361) +Defined in: [ui/core/view/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L371) Gets or sets the elevation of the android view. @@ -601,7 +619,7 @@ Gets or sets the elevation of the android view. androidOverflowEdge: AndroidOverflow; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Inherited from @@ -615,7 +633,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native automationText: string; ``` -Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L354) +Defined in: [ui/core/view/index.d.ts:364](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L364) #### Ns Property @@ -631,7 +649,7 @@ Defined in: [ui/core/view/index.d.ts:354](https://github.com/NativeScript/Native background: string; ``` -Defined in: [ui/core/view/index.d.ts:375](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L375) +Defined in: [ui/core/view/index.d.ts:385](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L385) Gets or sets the background style property. @@ -649,7 +667,7 @@ Gets or sets the background style property. backgroundColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:382](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L382) +Defined in: [ui/core/view/index.d.ts:392](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L392) Gets or sets the background color of the view. @@ -667,7 +685,7 @@ Gets or sets the background color of the view. backgroundImage: string | LinearGradient; ``` -Defined in: [ui/core/view/index.d.ts:389](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L389) +Defined in: [ui/core/view/index.d.ts:399](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L399) Gets or sets the background image of the view. @@ -685,7 +703,7 @@ Gets or sets the background image of the view. bindingContext: any; ``` -Defined in: [ui/core/view/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L124) +Defined in: [ui/core/view/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L134) Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified. @@ -703,7 +721,7 @@ Gets or sets the binding context of this instance. This object is used as a sour borderBottomColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:152](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L152) +Defined in: [ui/core/view/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L162) Gets or sets the bottom border color of the view. @@ -721,7 +739,7 @@ Gets or sets the bottom border color of the view. borderBottomLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L229) +Defined in: [ui/core/view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L239) Gets or sets the bottom left border radius of the view. @@ -739,7 +757,7 @@ Gets or sets the bottom left border radius of the view. borderBottomRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L222) +Defined in: [ui/core/view/index.d.ts:232](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L232) Gets or sets the bottom right border radius of the view. @@ -757,7 +775,7 @@ Gets or sets the bottom right border radius of the view. borderBottomWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:187](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L187) +Defined in: [ui/core/view/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L197) Gets or sets the bottom border width of the view. @@ -775,7 +793,7 @@ Gets or sets the bottom border width of the view. borderColor: string | Color; ``` -Defined in: [ui/core/view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L131) +Defined in: [ui/core/view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L141) Gets or sets the border color of the view. @@ -793,7 +811,7 @@ Gets or sets the border color of the view. borderLeftColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:159](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L159) +Defined in: [ui/core/view/index.d.ts:169](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L169) Gets or sets the left border color of the view. @@ -811,7 +829,7 @@ Gets or sets the left border color of the view. borderLeftWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L194) +Defined in: [ui/core/view/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L204) Gets or sets the left border width of the view. @@ -833,7 +851,7 @@ borderRadius: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:201](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L201) +Defined in: [ui/core/view/index.d.ts:211](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L211) Gets or sets the border radius of the view. @@ -851,7 +869,7 @@ Gets or sets the border radius of the view. borderRightColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L145) +Defined in: [ui/core/view/index.d.ts:155](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L155) Gets or sets the right border color of the view. @@ -869,7 +887,7 @@ Gets or sets the right border color of the view. borderRightWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:180](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L180) +Defined in: [ui/core/view/index.d.ts:190](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L190) Gets or sets the right border width of the view. @@ -887,7 +905,7 @@ Gets or sets the right border width of the view. borderTopColor: Color; ``` -Defined in: [ui/core/view/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L138) +Defined in: [ui/core/view/index.d.ts:148](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L148) Gets or sets the top border color of the view. @@ -905,7 +923,7 @@ Gets or sets the top border color of the view. borderTopLeftRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L208) +Defined in: [ui/core/view/index.d.ts:218](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L218) Gets or sets the top left border radius of the view. @@ -923,7 +941,7 @@ Gets or sets the top left border radius of the view. borderTopRightRadius: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:215](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L215) +Defined in: [ui/core/view/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L225) Gets or sets the top right border radius of the view. @@ -941,7 +959,7 @@ Gets or sets the top right border radius of the view. borderTopWidth: LengthType; ``` -Defined in: [ui/core/view/index.d.ts:173](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L173) +Defined in: [ui/core/view/index.d.ts:183](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L183) Gets or sets the top border width of the view. @@ -963,7 +981,7 @@ borderWidth: | LengthPxUnit; ``` -Defined in: [ui/core/view/index.d.ts:166](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L166) +Defined in: [ui/core/view/index.d.ts:176](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L176) Gets or sets the border width of the view. @@ -981,7 +999,7 @@ Gets or sets the border width of the view. boxShadow: string | ShadowCSSValues[]; ``` -Defined in: [ui/core/view/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L396) +Defined in: [ui/core/view/index.d.ts:406](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L406) Gets or sets the box shadow of the view. @@ -999,7 +1017,7 @@ Gets or sets the box shadow of the view. className: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the CSS class name for this view. @@ -1017,7 +1035,7 @@ Gets or sets the CSS class name for this view. col: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1035,7 +1053,7 @@ The column for the element. The columns are 0-indexed, so the first column is in color: Color; ``` -Defined in: [ui/core/view/index.d.ts:236](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L236) +Defined in: [ui/core/view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L246) Gets or sets the color of the view. @@ -1053,7 +1071,7 @@ Gets or sets the color of the view. colSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of columns for the element to span across. @@ -1071,7 +1089,7 @@ The number of columns for the element to span across. column: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The column for the element. The columns are 0-indexed, so the first column is indicated by 0. @@ -1089,7 +1107,7 @@ The column for the element. The columns are 0-indexed, so the first column is in columnSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Ns Property @@ -1105,7 +1123,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS cssClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L685) +Defined in: [ui/core/view/index.d.ts:711](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L711) #### Inherited from @@ -1119,7 +1137,7 @@ Defined in: [ui/core/view/index.d.ts:685](https://github.com/NativeScript/Native cssPseudoClasses: Set; ``` -Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L686) +Defined in: [ui/core/view/index.d.ts:712](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L712) #### Inherited from @@ -1133,7 +1151,7 @@ Defined in: [ui/core/view/index.d.ts:686](https://github.com/NativeScript/Native cssType: string; ``` -Defined in: [ui/core/view/index.d.ts:667](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L667) +Defined in: [ui/core/view/index.d.ts:693](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L693) Gets the CSS fully qualified type name. Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element. @@ -1150,7 +1168,7 @@ Using this as element type should allow for PascalCase and kebap-case selectors, defaultVisualState: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Default visual state, defaults to 'normal' @@ -1168,7 +1186,7 @@ Default visual state, defaults to 'normal' direction: LayoutDirectionType; ``` -Defined in: [ui/core/view/index.d.ts:403](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L403) +Defined in: [ui/core/view/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L413) Gets or sets the layout direction of the view. @@ -1186,7 +1204,7 @@ Gets or sets the layout direction of the view. dock: "left" | "right" | "top" | "bottom"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Dock position of the view within its parent. @@ -1204,7 +1222,7 @@ Dock position of the view within its parent. domNode: DOMNode; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1218,7 +1236,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderBottomWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1232,7 +1250,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderLeftWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1246,7 +1264,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderRightWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1260,7 +1278,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveBorderTopWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1268,13 +1286,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveColumnGap + +```ts +effectiveColumnGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](../classes/View.md).[`effectiveColumnGap`](../classes/View.md#effectivecolumngap) + +*** + ### effectiveHeight ```ts effectiveHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1288,7 +1320,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1302,7 +1334,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginBottom: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1316,7 +1348,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginLeft: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1330,7 +1362,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginRight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1344,7 +1376,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMarginTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1352,13 +1384,41 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveMaxHeight + +```ts +effectiveMaxHeight: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](../classes/View.md).[`effectiveMaxHeight`](../classes/View.md#effectivemaxheight) + +*** + +### effectiveMaxWidth + +```ts +effectiveMaxWidth: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](../classes/View.md).[`effectiveMaxWidth`](../classes/View.md#effectivemaxwidth) + +*** + ### effectiveMinHeight ```ts effectiveMinHeight: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1372,7 +1432,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveMinWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1380,13 +1440,27 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS *** +### effectiveRowGap + +```ts +effectiveRowGap: number; +``` + +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) + +#### Inherited from + +[`View`](../classes/View.md).[`effectiveRowGap`](../classes/View.md#effectiverowgap) + +*** + ### effectiveTop ```ts effectiveTop: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1400,7 +1474,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS effectiveWidth: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -1414,7 +1488,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS flex: Flex; ``` -Defined in: [ui/core/view/index.d.ts:578](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L578) +Defined in: [ui/core/view/index.d.ts:604](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L604) The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container. @@ -1432,7 +1506,7 @@ The flex shorthand property sets how a flex item will grow or shrink to fit the flexFlow: FlexFlow; ``` -Defined in: [ui/core/view/index.d.ts:573](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L573) +Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L599) The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior. @@ -1450,7 +1524,7 @@ The flex-flow Shorthand property specifies the direction of a flex container, as flexGrow: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container. @@ -1468,7 +1542,7 @@ Indicates that the child should grow in size, if necessary. Sets how much the ch flexShrink: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1. @@ -1486,7 +1560,7 @@ Indicates that the child should shrink when the row runs out of space. Sets how flexWrapBefore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When true, forces the item to wrap onto a new line. @@ -1504,7 +1578,7 @@ When true, forces the item to wrap onto a new line. height: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:431](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L431) +Defined in: [ui/core/view/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L457) Gets or sets the desired height of the view. @@ -1522,7 +1596,7 @@ Gets or sets the desired height of the view. hidden: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the visual state of the view. @@ -1540,7 +1614,7 @@ Gets or sets the visual state of the view. horizontalAlignment: HorizontalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:473](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L473) +Defined in: [ui/core/view/index.d.ts:499](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L499) Gets or sets the alignment of this view within its parent along the Horizontal axis. @@ -1558,7 +1632,7 @@ Gets or sets the alignment of this view within its parent along the Horizontal a id: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the id for this view. @@ -1576,7 +1650,7 @@ Gets or sets the id for this view. ignoreTouchAnimation: boolean; ``` -Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L647) +Defined in: [ui/core/view/index.d.ts:673](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L673) #### Ns Property @@ -1592,7 +1666,7 @@ Defined in: [ui/core/view/index.d.ts:647](https://github.com/NativeScript/Native ios: any; ``` -Defined in: [ui/core/view/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L117) +Defined in: [ui/core/view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L127) Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform. @@ -1608,7 +1682,7 @@ Gets the ios-specific native instance that lies behind this proxy. Will be avail iosAccessibilityAdjustsFontSize: boolean; ``` -Defined in: [ui/core/view/index.d.ts:329](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L329) +Defined in: [ui/core/view/index.d.ts:339](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L339) Defines whether accessibility font scale should affect font size. @@ -1626,7 +1700,7 @@ Defines whether accessibility font scale should affect font size. iosAccessibilityMaxFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:343](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L343) +Defined in: [ui/core/view/index.d.ts:353](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L353) Gets or sets the maximum accessibility font scale. @@ -1644,7 +1718,7 @@ Gets or sets the maximum accessibility font scale. iosAccessibilityMinFontScale: number; ``` -Defined in: [ui/core/view/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L336) +Defined in: [ui/core/view/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L346) Gets or sets the minimum accessibility font scale. @@ -1662,7 +1736,7 @@ Gets or sets the minimum accessibility font scale. iosGlassEffect: GlassEffectType; ``` -Defined in: [ui/core/view/index.d.ts:634](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L634) +Defined in: [ui/core/view/index.d.ts:660](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L660) Set the iOS liquid glass effect style on the view. @@ -1680,7 +1754,7 @@ Set the iOS liquid glass effect style on the view. iosIgnoreSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:613](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L613) +Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L639) Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false @@ -1698,7 +1772,7 @@ Gets or sets a value indicating whether the the view should totally ignore safe iosOverflowSafeArea: boolean; ``` -Defined in: [ui/core/view/index.d.ts:599](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L599) +Defined in: [ui/core/view/index.d.ts:625](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L625) Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false @@ -1716,7 +1790,7 @@ Instruct container view to expand beyond the safe area. This property is iOS spe iosOverflowSafeAreaEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:606](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L606) +Defined in: [ui/core/view/index.d.ts:632](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L632) Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true @@ -1734,7 +1808,7 @@ Enables or disables the iosOverflowSafeArea property for all children. This prop isCollapsed: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns true if visibility is set to 'collapse'. Default(false) set in prototype @@ -1752,7 +1826,7 @@ Readonly property isEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:585](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L585) +Defined in: [ui/core/view/index.d.ts:611](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L611) Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view. @@ -1770,7 +1844,7 @@ Gets or sets a value indicating whether the the view is enabled. This affects th isLayoutValid: boolean; ``` -Defined in: [ui/core/view/index.d.ts:656](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L656) +Defined in: [ui/core/view/index.d.ts:682](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L682) Gets if layout is valid. This is a read-only property. @@ -1786,7 +1860,7 @@ Gets if layout is valid. This is a read-only property. isUserInteractionEnabled: boolean; ``` -Defined in: [ui/core/view/index.d.ts:592](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L592) +Defined in: [ui/core/view/index.d.ts:618](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L618) Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view. @@ -1804,7 +1878,7 @@ Gets or sets a value indicating whether the user can interact with the view. Thi left: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent. @@ -1827,7 +1901,7 @@ margin: | LengthPercentUnit; ``` -Defined in: [ui/core/view/index.d.ts:438](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L438) +Defined in: [ui/core/view/index.d.ts:464](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L464) Gets or sets margin style property. @@ -1845,7 +1919,7 @@ Gets or sets margin style property. marginBottom: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:466](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L466) +Defined in: [ui/core/view/index.d.ts:492](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L492) Specifies extra space on the bottom side of this view. @@ -1863,7 +1937,7 @@ Specifies extra space on the bottom side of this view. marginLeft: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:445](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L445) +Defined in: [ui/core/view/index.d.ts:471](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L471) Specifies extra space on the left side of this view. @@ -1881,7 +1955,7 @@ Specifies extra space on the left side of this view. marginRight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:459](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L459) +Defined in: [ui/core/view/index.d.ts:485](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L485) Specifies extra space on the right side of this view. @@ -1899,7 +1973,7 @@ Specifies extra space on the right side of this view. marginTop: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L452) +Defined in: [ui/core/view/index.d.ts:478](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L478) Specifies extra space on the top side of this view. @@ -1911,58 +1985,77 @@ Specifies extra space on the top side of this view. *** -### minHeight +### maxHeight ```ts -minHeight: LengthType; +maxHeight: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:417](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L417) +Defined in: [ui/core/view/index.d.ts:443](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L443) -Gets or sets the minimum height the view may grow to. +Gets or sets the maximum height the view may grow to. Accepts a fixed length +or a percentage of the available height. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](../classes/View.md).[`minHeight`](../classes/View.md#minheight) +[`View`](../classes/View.md).[`maxHeight`](../classes/View.md#maxheight) *** -### minWidth +### maxWidth ```ts -minWidth: LengthType; +maxWidth: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:410](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L410) +Defined in: [ui/core/view/index.d.ts:435](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L435) -Gets or sets the minimum width the view may grow to. +Gets or sets the maximum width the view may grow to. Accepts a fixed length +or a percentage of the available width. Defaults to 'auto' (no maximum). #### Ns Property #### Inherited from -[`View`](../classes/View.md).[`minWidth`](../classes/View.md#minwidth) +[`View`](../classes/View.md).[`maxWidth`](../classes/View.md#maxwidth) + +*** + +### minHeight + +```ts +minHeight: LengthType; +``` + +Defined in: [ui/core/view/index.d.ts:427](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L427) + +Gets or sets the minimum height the view may grow to. + +#### Ns Property + +#### Inherited from + +[`View`](../classes/View.md).[`minHeight`](../classes/View.md#minheight) *** -### mIsRootView +### minWidth ```ts -mIsRootView: boolean; +minWidth: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L420) -if _setupAsRootView is called it means it is not supposed to be -added to a parent. However parent can be set before for the purpose -of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree -is not called in _setupAsRootView +Gets or sets the minimum width the view may grow to. + +#### Ns Property #### Inherited from -[`View`](../classes/View.md).[`mIsRootView`](../classes/View.md#misrootview) +[`View`](../classes/View.md).[`minWidth`](../classes/View.md#minwidth) *** @@ -1972,7 +2065,7 @@ is not called in _setupAsRootView modal: View; ``` -Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L848) +Defined in: [ui/core/view/index.d.ts:874](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L874) Returns the current modal view that this page is showing (is parent of), if any. @@ -1988,7 +2081,7 @@ Returns the current modal view that this page is showing (is parent of), if any. optional nativeBackgroundState?: "unset" | "invalid" | "drawn"; ``` -Defined in: [ui/core/view/index.d.ts:661](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L661) +Defined in: [ui/core/view/index.d.ts:687](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L687) Native background states. This is a read-only property. @@ -2004,7 +2097,7 @@ Native background states. This is a read-only property. nativeViewProtected: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) read-only. If you want to set out-of-band the nativeView use the setNativeView method. @@ -2020,7 +2113,7 @@ read-only. If you want to set out-of-band the nativeView use the setNativeView m opacity: number; ``` -Defined in: [ui/core/view/index.d.ts:494](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L494) +Defined in: [ui/core/view/index.d.ts:520](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L520) Gets or sets the opacity style property. @@ -2038,7 +2131,7 @@ Gets or sets the opacity style property. order: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Sets the order in which child elements inside a Flex appear in relation to one another. @@ -2056,7 +2149,7 @@ Sets the order in which child elements inside a Flex appear in relation to one a originX: number; ``` -Defined in: [ui/core/view/index.d.ts:560](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L560) +Defined in: [ui/core/view/index.d.ts:586](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L586) Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2074,7 +2167,7 @@ Gets or sets the X component of the origin point around which the view will be t originY: number; ``` -Defined in: [ui/core/view/index.d.ts:567](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L567) +Defined in: [ui/core/view/index.d.ts:593](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L593) Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view. @@ -2092,7 +2185,7 @@ Gets or sets the Y component of the origin point around which the view will be t parent: ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the parent view. This property is read-only. @@ -2108,7 +2201,7 @@ Gets the parent view. This property is read-only. perspective: number; ``` -Defined in: [ui/core/view/index.d.ts:523](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L523) +Defined in: [ui/core/view/index.d.ts:549](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L549) Gets or sets the distance of the camera form the view perspective. Usually needed when rotating the view over the X or Y axis. @@ -2127,7 +2220,7 @@ Usually needed when rotating the view over the X or Y axis. recycleNativeView: "auto" | "always" | "never"; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Inherited from @@ -2141,7 +2234,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS reusable: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree. @@ -2159,7 +2252,7 @@ Gets or sets if the view is reusable. Reusable views are not automatically destr rotate: number; ``` -Defined in: [ui/core/view/index.d.ts:501](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L501) +Defined in: [ui/core/view/index.d.ts:527](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L527) Gets or sets the rotate affine transform of the view along the Z axis. @@ -2177,7 +2270,7 @@ Gets or sets the rotate affine transform of the view along the Z axis. rotateX: number; ``` -Defined in: [ui/core/view/index.d.ts:508](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L508) +Defined in: [ui/core/view/index.d.ts:534](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L534) Gets or sets the rotate affine transform of the view along the X axis. @@ -2195,7 +2288,7 @@ Gets or sets the rotate affine transform of the view along the X axis. rotateY: number; ``` -Defined in: [ui/core/view/index.d.ts:515](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L515) +Defined in: [ui/core/view/index.d.ts:541](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L541) Gets or sets the rotate affine transform of the view along the Y axis. @@ -2213,7 +2306,7 @@ Gets or sets the rotate affine transform of the view along the Y axis. row: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The row for the element. The rows are 0-indexed, so the first row is indicated by 0. @@ -2231,7 +2324,7 @@ The row for the element. The rows are 0-indexed, so the first row is indicated b rowSpan: number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) The number of rows for the element to span across. @@ -2249,7 +2342,7 @@ The number of rows for the element to span across. scaleX: number; ``` -Defined in: [ui/core/view/index.d.ts:544](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L544) +Defined in: [ui/core/view/index.d.ts:570](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L570) Gets or sets the scaleX affine transform of the view. @@ -2267,7 +2360,7 @@ Gets or sets the scaleX affine transform of the view. scaleY: number; ``` -Defined in: [ui/core/view/index.d.ts:551](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L551) +Defined in: [ui/core/view/index.d.ts:577](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L577) Gets or sets the scaleY affine transform of the view. @@ -2285,7 +2378,7 @@ Gets or sets the scaleY affine transform of the view. sharedTransitionIgnore: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Opt out of shared transition under different binding conditions @@ -2303,7 +2396,7 @@ Opt out of shared transition under different binding conditions sharedTransitionTag: string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the shared transition tag for animated view transitions @@ -2321,7 +2414,7 @@ Gets or sets the shared transition tag for animated view transitions statusBarStyle: "dark" | "light"; ``` -Defined in: [ui/core/view/index.d.ts:683](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L683) +Defined in: [ui/core/view/index.d.ts:709](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L709) Gets or sets the status bar style for this view. Platform Notes: @@ -2348,7 +2441,7 @@ False value will make this property have no effect. testID: string; ``` -Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L639) +Defined in: [ui/core/view/index.d.ts:665](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L665) #### Ns Property @@ -2364,7 +2457,7 @@ Defined in: [ui/core/view/index.d.ts:639](https://github.com/NativeScript/Native top: LengthType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent. @@ -2384,7 +2477,7 @@ touchAnimation: | TouchAnimationOptions; ``` -Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L643) +Defined in: [ui/core/view/index.d.ts:669](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L669) #### Ns Property @@ -2400,7 +2493,7 @@ Defined in: [ui/core/view/index.d.ts:643](https://github.com/NativeScript/Native touchDelay: number; ``` -Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L651) +Defined in: [ui/core/view/index.d.ts:677](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L677) #### Ns Property @@ -2416,7 +2509,7 @@ Defined in: [ui/core/view/index.d.ts:651](https://github.com/NativeScript/Native transitionId: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Active transition instance id for tracking state @@ -2432,7 +2525,7 @@ Active transition instance id for tracking state translateX: number; ``` -Defined in: [ui/core/view/index.d.ts:530](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L530) +Defined in: [ui/core/view/index.d.ts:556](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L556) Gets or sets the translateX affine transform of the view in device independent pixels. @@ -2450,7 +2543,7 @@ Gets or sets the translateX affine transform of the view in device independent p translateY: number; ``` -Defined in: [ui/core/view/index.d.ts:537](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L537) +Defined in: [ui/core/view/index.d.ts:563](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L563) Gets or sets the translateY affine transform of the view in device independent pixels. @@ -2468,7 +2561,7 @@ Gets or sets the translateY affine transform of the view in device independent p verticalAlignment: VerticalAlignmentType; ``` -Defined in: [ui/core/view/index.d.ts:480](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L480) +Defined in: [ui/core/view/index.d.ts:506](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L506) Gets or sets the alignment of this view within its parent along the Vertical axis. @@ -2486,7 +2579,7 @@ Gets or sets the alignment of this view within its parent along the Vertical axi viewController: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) returns the native UIViewController. @@ -2502,7 +2595,7 @@ returns the native UIViewController. visibility: VisibilityType; ``` -Defined in: [ui/core/view/index.d.ts:487](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L487) +Defined in: [ui/core/view/index.d.ts:513](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L513) Gets or sets the visibility of the view. @@ -2520,7 +2613,7 @@ Gets or sets the visibility of the view. visionHoverStyle: string | VisionHoverOptions; ``` -Defined in: [ui/core/view/index.d.ts:627](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L627) +Defined in: [ui/core/view/index.d.ts:653](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L653) visionOS only @@ -2538,7 +2631,7 @@ visionOS only visionIgnoreHoverStyle: boolean; ``` -Defined in: [ui/core/view/index.d.ts:620](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L620) +Defined in: [ui/core/view/index.d.ts:646](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L646) visionOS only @@ -2556,7 +2649,7 @@ visionOS only width: PercentLengthType; ``` -Defined in: [ui/core/view/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L424) +Defined in: [ui/core/view/index.d.ts:450](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L450) Gets or sets the desired width of the view. @@ -2576,7 +2669,7 @@ Gets or sets the desired width of the view. get backgroundPosition(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2588,7 +2681,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundPosition(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2614,7 +2707,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundRepeat(): BackgroundRepeatType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2626,7 +2719,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundRepeat(value: BackgroundRepeatType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2652,7 +2745,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get backgroundSize(): string; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -2664,7 +2757,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set backgroundSize(value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -2690,7 +2783,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get class(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2702,7 +2795,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set class(v: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2728,7 +2821,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingBottom(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2740,7 +2833,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingBottom(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2766,7 +2859,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingLeft(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2778,7 +2871,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingLeft(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2804,7 +2897,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingRight(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2816,7 +2909,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingRight(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2842,7 +2935,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get effectivePaddingTop(): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2854,7 +2947,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set effectivePaddingTop(v: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2880,7 +2973,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get isLoaded(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2900,7 +2993,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get nativeView(): any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Returns @@ -2912,7 +3005,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS set nativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -2938,7 +3031,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get page(): Page; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets owner page. This is a read-only property. @@ -2960,7 +3053,7 @@ Gets owner page. This is a read-only property. get parentNode(): ViewBase; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the template parent or the native parent. Sets the template parent. @@ -2974,7 +3067,7 @@ Gets the template parent or the native parent. Sets the template parent. set parentNode(node: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Parameters @@ -3000,7 +3093,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get style(): Style; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the style object associated to this view. @@ -3014,7 +3107,7 @@ Gets the style object associated to this view. set style(inlineStyle: Style): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Ns Property @@ -3042,7 +3135,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS get textTransform(): TextTransformType; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Returns @@ -3054,7 +3147,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native set textTransform(value: TextTransformType): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ##### Parameters @@ -3080,7 +3173,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native get typeName(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button". @@ -3102,7 +3195,7 @@ Gets the name of the constructor function for this instance. E.g. for a Button c get visualState(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ##### Deprecated @@ -3122,7 +3215,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addView(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3147,7 +3240,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _addViewCore(view: ViewBase, atIndex?: number): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3174,7 +3267,7 @@ Method is intended to be overridden by inheritors and used as "protected" _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise. Method is intended to be overridden by inheritors and used as "protected". @@ -3208,7 +3301,7 @@ protected _applyGlassEffect(value: GlassEffectType, options: { }): any; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shared helper method for applying glass effects to views. This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.) @@ -3242,7 +3335,7 @@ iOS only at the moment but could be applied to others once supported in other pl _applyXmlAttribute(attribute: string, value: string): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3272,7 +3365,7 @@ Now attributes are expected to be set as plain properties on the view instances. _batchUpdate(callback: () => T): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Allow multiple updates to be performed on the instance at once. @@ -3304,7 +3397,7 @@ Allow multiple updates to be performed on the instance at once. _childIndexToNativeChildIndex(index?: number): number; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3328,7 +3421,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _closeAllModalViewsInternal(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:924](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L924) +Defined in: [ui/core/view/index.d.ts:950](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L950) Internal method: Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service. @@ -3352,7 +3445,7 @@ _createPropertyChangeData( oldValue?: any): PropertyChangeData; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) This method is intended to be overriden by inheritors to provide additional implementation. @@ -3380,7 +3473,7 @@ This method is intended to be overriden by inheritors to provide additional impl _dialogClosed(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3400,7 +3493,7 @@ Method is intended to be overridden by inheritors and used as "protected" _eachLayoutView(callback: (View: any) => void): void; ``` -Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L932) +Defined in: [ui/core/view/index.d.ts:982](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L982) #### Parameters @@ -3424,7 +3517,7 @@ Defined in: [ui/core/view/index.d.ts:932](https://github.com/NativeScript/Native _emit(eventName: string): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) #### Parameters @@ -3448,7 +3541,7 @@ Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScr _getNativeViewsCount(): number; ``` -Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L918) +Defined in: [ui/core/view/index.d.ts:944](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L944) #### Returns @@ -3460,13 +3553,35 @@ Defined in: [ui/core/view/index.d.ts:918](https://github.com/NativeScript/Native *** +### \_getRootModalHost() + +```ts +_getRootModalHost(): ViewBase; +``` + +Defined in: [ui/core/view/index.d.ts:963](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L963) + +Internal method: +Walks up the view tree — through the presenting view of any modal on the way — +to the root this view ultimately lives under, which is the root view of its window. + +#### Returns + +[`ViewBase`](../classes/ViewBase.md) + +#### Inherited from + +[`View`](../classes/View.md).[`_getRootModalHost`](../classes/View.md#_getrootmodalhost) + +*** + ### \_getRootModalViews() ```ts _getRootModalViews(): ViewBase[]; ``` -Defined in: [ui/core/view/index.d.ts:930](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L930) +Defined in: [ui/core/view/index.d.ts:956](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L956) Internal method: Gets all modal views of the current view. @@ -3487,7 +3602,7 @@ Gets all modal views of the current view. _getValue(property: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1113) +Defined in: [ui/core/view/index.d.ts:1170](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1170) __Obsolete:__ There is a new property system that does not rely on _getValue. @@ -3516,7 +3631,7 @@ _handleLivesync(context?: { }): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1084) +Defined in: [ui/core/view/index.d.ts:1141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1141) #### Parameters @@ -3542,7 +3657,7 @@ Defined in: [ui/core/view/index.d.ts:1084](https://github.com/NativeScript/Nativ _hasAncestorView(ancestorView: View): boolean; ``` -Defined in: [ui/core/view/index.d.ts:1107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1107) +Defined in: [ui/core/view/index.d.ts:1164](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1164) Checks whether the current view has specific view for an ancestor. @@ -3568,7 +3683,7 @@ Checks whether the current view has specific view for an ancestor. protected _hideNativeModalView(parent: ViewCommon, whenClosedCallback: () => void): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3593,7 +3708,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _inheritStyles(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3617,7 +3732,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _inheritStyleScope(styleScope: StyleScope): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3641,7 +3756,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _isPresentationLayerUpdateSuspended(): any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Returns @@ -3655,7 +3770,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N _layoutParent(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -3676,7 +3791,7 @@ protected _observe( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -3702,7 +3817,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _onAttachedToWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1097](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1097) +Defined in: [ui/core/view/index.d.ts:1154](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1154) Called in android when native view is attached to window. @@ -3722,7 +3837,7 @@ Called in android when native view is attached to window. _onDetachedFromWindow(): void; ``` -Defined in: [ui/core/view/index.d.ts:1102](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1102) +Defined in: [ui/core/view/index.d.ts:1159](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1159) Called in android when native view is dettached from window. @@ -3742,7 +3857,7 @@ Called in android when native view is dettached from window. _onRootViewReset(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3762,7 +3877,7 @@ Method is intended to be overridden by inheritors and used as "protected" optional _onSizeChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:937](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L937) +Defined in: [ui/core/view/index.d.ts:987](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L987) iOS Only Internal method used to update various view details like background rerendering, border, etc. @@ -3782,7 +3897,7 @@ iOS Only Internal method used to update various view details like background rer _parentChanged(oldParent: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3806,7 +3921,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS protected _raiseLayoutChangedEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -3824,7 +3939,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShowingModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -3842,7 +3957,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native protected _raiseShownModallyEvent(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -3860,7 +3975,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _removeView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation. @@ -3886,7 +4001,7 @@ Core logic for removing a child view from this instance. Used by the framework t _removeViewCore(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3912,7 +4027,7 @@ Method is intended to be overridden by inheritors and used as "protected" _removeViewFromNativeVisualTree(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Method is intended to be overridden by inheritors and used as "protected" @@ -3938,7 +4053,7 @@ Method is intended to be overridden by inheritors and used as "protected" _resumeNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -3962,7 +4077,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _resumePresentationLayerUpdates(): any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Returns @@ -3976,7 +4091,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N _setDefaultPaddings(insets: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4000,7 +4115,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _setupAsRootView(context: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4027,7 +4142,7 @@ _setupUI( parentIsLoaded?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Setups the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4056,7 +4171,7 @@ This method should *not* be overridden by derived views. _setValue(property: any, value: any): never; ``` -Defined in: [ui/core/view/index.d.ts:1118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1118) +Defined in: [ui/core/view/index.d.ts:1175](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1175) __Obsolete:__ There is a new property system that does not rely on _setValue. @@ -4083,7 +4198,7 @@ __Obsolete:__ There is a new property system that does not rely on _setValue. _shouldDelayLayout(): boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) When returning true the callLoaded method will be run in setTimeout Method is intended to be overridden by inheritors and used as "protected" @@ -4104,7 +4219,7 @@ Method is intended to be overridden by inheritors and used as "protected" protected _showNativeModalView(parent: ViewCommon, options: ShowModalOptions): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -4129,7 +4244,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native _suspendNativeUpdates(type: SuspendType): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4153,7 +4268,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS _suspendPresentationLayerUpdates(): any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Returns @@ -4167,7 +4282,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N _tearDownUI(force?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI for ViewBase and all its children recursively. This method should *not* be overridden by derived views. @@ -4197,7 +4312,7 @@ _updateStyleScope( css?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:1092](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1092) +Defined in: [ui/core/view/index.d.ts:1149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1149) Updates styleScope or create new styleScope. @@ -4225,7 +4340,7 @@ Updates styleScope or create new styleScope. accessibilityAnnouncement(msg?: string): void; ``` -Defined in: [ui/core/view/index.d.ts:972](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L972) +Defined in: [ui/core/view/index.d.ts:1022](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1022) Make an announcement to the screen reader. @@ -4251,7 +4366,7 @@ Make an announcement to the screen reader. accessibilityScreenChanged(): void; ``` -Defined in: [ui/core/view/index.d.ts:977](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L977) +Defined in: [ui/core/view/index.d.ts:1027](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1027) Announce screen changed @@ -4275,7 +4390,7 @@ addEventListener( once?: boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Adds a listener for the specified event name. @@ -4304,7 +4419,7 @@ Adds a listener for the specified event name. protected addPseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4332,7 +4447,7 @@ A widget can call this method to add a matching css pseudo class. animate(options: AnimationDefinition): AnimationPromise; ``` -Defined in: [ui/core/view/index.d.ts:853](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L853) +Defined in: [ui/core/view/index.d.ts:879](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L879) Animates one or more properties of the view based on the supplied options. @@ -4358,7 +4473,7 @@ Animates one or more properties of the view based on the supplied options. bind(options: BindingOptions, source?: Object): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4383,7 +4498,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callLoaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4401,7 +4516,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS callUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4419,7 +4534,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS closeModal(...args: any[]): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Closes the current modal view that this page is showing. @@ -4445,7 +4560,7 @@ Closes the current modal view that this page is showing. createAnimation(options: AnimationDefinition): Animation; ``` -Defined in: [ui/core/view/index.d.ts:858](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L858) +Defined in: [ui/core/view/index.d.ts:884](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L884) Creates an Animation object based on the supplied options. @@ -4471,7 +4586,7 @@ Creates an Animation object based on the supplied options. createNativeView(): Object; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Creates a native view. Returns either android.view.View or UIView. @@ -4492,7 +4607,7 @@ Returns either android.view.View or UIView. protected deletePseudoClass(name: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -4520,7 +4635,7 @@ A widget can call this method to discard matching css pseudo class. destroyNode(forceDestroyChildren?: boolean): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Tears down the UI of a reusable node by making it no longer reusable. @@ -4550,7 +4665,7 @@ _tearDownUI disposeNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Clean up references to the native view. @@ -4570,7 +4685,7 @@ Clean up references to the native view. eachChild(callback: (child: ViewBase) => boolean): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Iterates over children of type ViewBase. @@ -4596,7 +4711,7 @@ Iterates over children of type ViewBase. eachChildView(callback: (view: View) => boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:953](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L953) +Defined in: [ui/core/view/index.d.ts:1003](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1003) Iterates over children of type View. @@ -4622,7 +4737,7 @@ Iterates over children of type View. ensureDomNode(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4644,7 +4759,7 @@ Ensures a dom-node for this view. focus(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:787](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L787) +Defined in: [ui/core/view/index.d.ts:813](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L813) Tries to focus the view. Returns a value indicating whether this view or one of its descendants actually took focus. @@ -4665,7 +4780,7 @@ Returns a value indicating whether this view or one of its descendants actually get(name: string): any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Gets the value of the specified property. @@ -4691,7 +4806,7 @@ Gets the value of the specified property. getActualSize(): Size; ``` -Defined in: [ui/core/view/index.d.ts:883](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L883) +Defined in: [ui/core/view/index.d.ts:909](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L909) Returns the actual size of the view in device-independent pixels. @@ -4711,7 +4826,7 @@ Returns the actual size of the view in device-independent pixels. getClosestWindow(): Window; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (Android only) Gets closest window parent considering modals. @@ -4731,7 +4846,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native getEffectivePaddingShorthand(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -4749,7 +4864,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS getGestureObservers(type: GestureTypes): GesturesObserver[]; ``` -Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L789) +Defined in: [ui/core/view/index.d.ts:815](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L815) #### Parameters @@ -4773,7 +4888,7 @@ Defined in: [ui/core/view/index.d.ts:789](https://github.com/NativeScript/Native getLocationInWindow(): Point; ``` -Defined in: [ui/core/view/index.d.ts:868](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L868) +Defined in: [ui/core/view/index.d.ts:894](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L894) Returns the location of this view in the window coordinate system. @@ -4793,7 +4908,7 @@ Returns the location of this view in the window coordinate system. getLocationOnScreen(): Point; ``` -Defined in: [ui/core/view/index.d.ts:873](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L873) +Defined in: [ui/core/view/index.d.ts:899](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L899) Returns the location of this view in the screen coordinate system. @@ -4813,7 +4928,7 @@ Returns the location of this view in the screen coordinate system. getLocationRelativeTo(otherView: View): Point; ``` -Defined in: [ui/core/view/index.d.ts:878](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L878) +Defined in: [ui/core/view/index.d.ts:904](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L904) Returns the location of this view in the otherView's coordinate system. @@ -4839,7 +4954,7 @@ Returns the location of this view in the otherView's coordinate system. getMeasuredHeight(): number; ``` -Defined in: [ui/core/view/index.d.ts:715](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L715) +Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L741) Returns the raw height component. @@ -4859,7 +4974,7 @@ Returns the raw height component. getMeasuredState(): number; ``` -Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L717) +Defined in: [ui/core/view/index.d.ts:743](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L743) #### Returns @@ -4877,7 +4992,7 @@ Defined in: [ui/core/view/index.d.ts:717](https://github.com/NativeScript/Native getMeasuredWidth(): number; ``` -Defined in: [ui/core/view/index.d.ts:710](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L710) +Defined in: [ui/core/view/index.d.ts:736](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L736) Returns the raw width component. @@ -4891,13 +5006,38 @@ Returns the raw width component. *** +### getNativeWindow() + +```ts +getNativeWindow(): NativeWindow; +``` + +Defined in: [ui/core/view/index.d.ts:980](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L980) + +The window currently hosting this view, or `undefined` when the view is not part of +any window's view tree — including a view whose window has been closed. + +Resolved on every call by walking up to the root view — through the presenting view +of any modal on the way — so a view re-parented into another window's tree reports +the window it moved to. + +#### Returns + +[`NativeWindow`](../classes/NativeWindow.md) + +#### Inherited from + +[`View`](../classes/View.md).[`getNativeWindow`](../classes/View.md#getnativewindow) + +*** + ### getSafeAreaInsets() ```ts getSafeAreaInsets(): Position; ``` -Defined in: [ui/core/view/index.d.ts:863](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L863) +Defined in: [ui/core/view/index.d.ts:889](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L889) Returns the iOS safe area insets of this view. @@ -4917,7 +5057,7 @@ Returns the iOS safe area insets of this view. getViewByDomId(domId: number): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified domId. @@ -4949,7 +5089,7 @@ Returns the child view with the specified domId. getViewById(id: string): T; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns the child view with the specified id. @@ -4981,7 +5121,7 @@ Returns the child view with the specified id. optional hasGestureObservers(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:942](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L942) +Defined in: [ui/core/view/index.d.ts:992](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L992) Android only check if gesture observers are attached @@ -5001,7 +5141,7 @@ Android only check if gesture observers are attached hasListeners(eventName: string): boolean; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Checks whether a listener is registered for the specified event name. @@ -5027,7 +5167,7 @@ Checks whether a listener is registered for the specified event name. initNativeView(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Initializes properties/listeners of the native view. @@ -5052,7 +5192,7 @@ layout( setFrame?: boolean): void; ``` -Defined in: [ui/core/view/index.d.ts:705](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L705) +Defined in: [ui/core/view/index.d.ts:731](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L731) Assign a size and position to a view and all of its descendants This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass(). @@ -5088,7 +5228,7 @@ layoutNativeView( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:750](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L750) +Defined in: [ui/core/view/index.d.ts:776](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L776) Called from onLayout when native view position is about to be changed. @@ -5117,7 +5257,7 @@ Called from onLayout when native view position is about to be changed. loadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Load view. @@ -5143,7 +5283,7 @@ Load view. measure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:694](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L694) +Defined in: [ui/core/view/index.d.ts:720](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L720) This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters. The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses. @@ -5171,7 +5311,7 @@ The actual measurement work of a view is performed in onMeasure(int, int), calle notify(data: T): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notify this Observable instance with some data. This causes all event handlers on the Observable instance to be called, as well as any 'global' @@ -5208,7 +5348,7 @@ notifyPropertyChange( oldValue?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Notifies all the registered listeners for the property change event. @@ -5239,7 +5379,7 @@ off( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:800](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L800) +Defined in: [ui/core/view/index.d.ts:826](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L826) Removes the listener(s) for the specified event name. @@ -5272,7 +5412,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:812](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L812) +Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L838) Adds a listener for the specified event name. @@ -5301,7 +5441,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:817](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L817) +Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L843) Raised when a loaded event occurs. @@ -5330,7 +5470,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:822](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L822) +Defined in: [ui/core/view/index.d.ts:848](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L848) Raised when an unloaded event occurs. @@ -5359,7 +5499,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:828](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L828) +Defined in: [ui/core/view/index.d.ts:854](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L854) Raised when a back button is pressed. This event is raised only for android. @@ -5389,7 +5529,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/core/view/index.d.ts:833](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L833) +Defined in: [ui/core/view/index.d.ts:859](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L859) Raised before the view is shown as a modal dialog. @@ -5418,7 +5558,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:838](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L838) +Defined in: [ui/core/view/index.d.ts:864](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L864) Raised after the view is shown as a modal dialog. @@ -5447,7 +5587,7 @@ on( thisArg?: any): any; ``` -Defined in: [ui/core/view/index.d.ts:843](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L843) +Defined in: [ui/core/view/index.d.ts:869](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L869) Raised after the view is shown as a modal dialog. @@ -5475,7 +5615,7 @@ Raised after the view is shown as a modal dialog. onBackPressed(): boolean; ``` -Defined in: [ui/core/view/index.d.ts:888](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L888) +Defined in: [ui/core/view/index.d.ts:914](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L914) Derived classes can override this method to handle Android back button press. @@ -5498,7 +5638,7 @@ once( thisArg?: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Adds a listener for the specified event name, which, once fired, will remove itself. @@ -5531,7 +5671,7 @@ onLayout( bottom: number): void; ``` -Defined in: [ui/core/view/index.d.ts:734](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L734) +Defined in: [ui/core/view/index.d.ts:760](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L760) Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children. @@ -5560,7 +5700,7 @@ Called from layout when this view should assign a size and position to each of i onLoaded(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Returns @@ -5578,7 +5718,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; ``` -Defined in: [ui/core/view/index.d.ts:725](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L725) +Defined in: [ui/core/view/index.d.ts:751](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L751) Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents. When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int). @@ -5606,7 +5746,7 @@ When overriding this method, you must call setMeasuredDimension(int, int) to sto onResumeNativeUpdates(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5624,7 +5764,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS onUnloaded(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Returns @@ -5645,7 +5785,7 @@ removeEventListener( thisArg?: any): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Removes listener(s) for the specified event name. @@ -5673,7 +5813,7 @@ Removes listener(s) for the specified event name. requestLayout(): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Invalidates the layout of the view and triggers a new layout pass. @@ -5693,7 +5833,7 @@ Invalidates the layout of the view and triggers a new layout pass. resetNativeView(): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Resets properties/listeners set to the native view. @@ -5713,7 +5853,7 @@ Resets properties/listeners set to the native view. sendAccessibilityEvent(options: AccessibilityEventOptions): void; ``` -Defined in: [ui/core/view/index.d.ts:967](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L967) +Defined in: [ui/core/view/index.d.ts:1017](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1017) Send accessibility event @@ -5751,7 +5891,7 @@ iOS Notes: set(name: string, value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Updates the specified property with the provided value. @@ -5778,7 +5918,7 @@ Updates the specified property with the provided value. setAccessibilityIdentifier(view: any, value: string): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters @@ -5803,7 +5943,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native setInlineStyle(style: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5827,7 +5967,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS setMeasuredDimension(measuredWidth: number, measuredHeight: number): void; ``` -Defined in: [ui/core/view/index.d.ts:741](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L741) +Defined in: [ui/core/view/index.d.ts:767](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L767) This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time. @@ -5854,7 +5994,7 @@ This method must be called by onMeasure(int, int) to store the measured width an setNativeView(value: any): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Set the nativeView field performing extra checks and updates to the native properties on the new view. Use in cases where the createNativeView is not suitable. @@ -5882,7 +6022,7 @@ As an example use in item controls where the native parent view will create the optional setOnTouchListener(): void; ``` -Defined in: [ui/core/view/index.d.ts:947](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L947) +Defined in: [ui/core/view/index.d.ts:997](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L997) Android only to set the touch listener @@ -5902,7 +6042,7 @@ Android only to set the touch listener setProperty(name: string, value: any): void; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Updates the specified property with the provided value and raises a property change event and a specific change event based on the property name. @@ -5929,7 +6069,7 @@ Updates the specified property with the provided value and raises a property cha showModal(...args: any[]): View; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Shows the view passed as parameter as a modal view. @@ -5955,7 +6095,7 @@ Shows the view passed as parameter as a modal view. toString(): string; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Returns a string representation of an object. @@ -5975,7 +6115,7 @@ Returns a string representation of an object. unbind(property: string): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### Parameters @@ -5999,7 +6139,7 @@ Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeS unloadView(view: ViewBase): void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Unload view. @@ -6025,7 +6165,7 @@ Unload view. updateStatusBarStyle(value: "dark" | "light"): void; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) #### Parameters diff --git a/content/api/interfaces/ImageAssetOptions.md b/content/api/interfaces/ImageAssetOptions.md index 646378eb..d90dd455 100644 --- a/content/api/interfaces/ImageAssetOptions.md +++ b/content/api/interfaces/ImageAssetOptions.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [image-asset/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L12) +Defined in: [image-asset/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L12) ## Properties @@ -14,7 +14,7 @@ Defined in: [image-asset/index.d.ts:12](https://github.com/NativeScript/NativeSc optional autoScaleFactor?: boolean; ``` -Defined in: [image-asset/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L16) +Defined in: [image-asset/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L16) *** @@ -24,7 +24,7 @@ Defined in: [image-asset/index.d.ts:16](https://github.com/NativeScript/NativeSc optional height?: number; ``` -Defined in: [image-asset/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L14) +Defined in: [image-asset/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L14) *** @@ -34,7 +34,7 @@ Defined in: [image-asset/index.d.ts:14](https://github.com/NativeScript/NativeSc optional keepAspectRatio?: boolean; ``` -Defined in: [image-asset/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L15) +Defined in: [image-asset/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L15) *** @@ -44,4 +44,4 @@ Defined in: [image-asset/index.d.ts:15](https://github.com/NativeScript/NativeSc optional width?: number; ``` -Defined in: [image-asset/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-asset/index.d.ts#L13) +Defined in: [image-asset/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-asset/index.d.ts#L13) diff --git a/content/api/interfaces/InitRootViewEventData.md b/content/api/interfaces/InitRootViewEventData.md index 2fd3fcf7..68cb5f05 100644 --- a/content/api/interfaces/InitRootViewEventData.md +++ b/content/api/interfaces/InitRootViewEventData.md @@ -5,7 +5,7 @@ description: Event data containing information about root view application. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information about root view application. @@ -21,7 +21,7 @@ Event data containing information about root view application. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -69,7 +69,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. @@ -85,4 +85,4 @@ The instance that has raised the event. rootView: View; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) diff --git a/content/api/interfaces/ItemEventData.md b/content/api/interfaces/ItemEventData.md index fc0ecd8a..4efec526 100644 --- a/content/api/interfaces/ItemEventData.md +++ b/content/api/interfaces/ItemEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for the index and the view associ contributors: false --- -Defined in: [ui/list-view/index.d.ts:230](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L230) +Defined in: [ui/list-view/index.d.ts:242](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L242) Event data containing information for the index and the view associated to a list view item. @@ -21,7 +21,7 @@ Event data containing information for the index and the view associated to a lis android: any; ``` -Defined in: [ui/list-view/index.d.ts:254](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L254) +Defined in: [ui/list-view/index.d.ts:266](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L266) Gets the native [android widget](http://developer.android.com/reference/android/view/ViewGroup.html) that represents the user interface where the view is hosted. Valid only when running on Android OS. @@ -33,7 +33,7 @@ Gets the native [android widget](http://developer.android.com/reference/android/ eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. index: number; ``` -Defined in: [ui/list-view/index.d.ts:234](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L234) +Defined in: [ui/list-view/index.d.ts:246](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L246) The index of the item, for which the event is raised. @@ -61,7 +61,7 @@ The index of the item, for which the event is raised. ios: any; ``` -Defined in: [ui/list-view/index.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L249) +Defined in: [ui/list-view/index.d.ts:261](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L261) Gets the native [iOS view](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewCell_Class/) that represents the user interface where the view is hosted. Valid only when running on iOS. @@ -73,7 +73,7 @@ Gets the native [iOS view](https://developer.apple.com/library/ios/documentation object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -89,7 +89,7 @@ The Observable instance that has raised the event. optional section?: number; ``` -Defined in: [ui/list-view/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L239) +Defined in: [ui/list-view/index.d.ts:251](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L251) When data is sectioned (any platform that supports sections), this is the section index for the item. @@ -101,6 +101,6 @@ When data is sectioned (any platform that supports sections), this is the sectio view: View; ``` -Defined in: [ui/list-view/index.d.ts:244](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L244) +Defined in: [ui/list-view/index.d.ts:256](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L256) The view that is associated to the item, for which the event is raised. diff --git a/content/api/interfaces/ItemsLoading.md b/content/api/interfaces/ItemsLoading.md index d8a8c824..3dfdcb0f 100644 --- a/content/api/interfaces/ItemsLoading.md +++ b/content/api/interfaces/ItemsLoading.md @@ -5,7 +5,7 @@ description: Event args for "itemsLoading" event. contributors: false --- -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Event args for "itemsLoading" event. @@ -21,7 +21,7 @@ Event args for "itemsLoading" event. count: number; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Number of items to load. @@ -33,7 +33,7 @@ Number of items to load. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. index: number; ``` -Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/virtual-array/index.ts) +Defined in: [data/virtual-array/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/virtual-array/index.ts) Start index. @@ -61,7 +61,7 @@ Start index. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/ItemsSource.md b/content/api/interfaces/ItemsSource.md index 1ecc1c50..04a9596b 100644 --- a/content/api/interfaces/ItemsSource.md +++ b/content/api/interfaces/ItemsSource.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/list-view/index.d.ts:277](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L277) +Defined in: [ui/list-view/index.d.ts:289](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L289) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/list-view/index.d.ts:277](https://github.com/NativeScript/Native length: number; ``` -Defined in: [ui/list-view/index.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L278) +Defined in: [ui/list-view/index.d.ts:290](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L290) ## Methods @@ -24,7 +24,7 @@ Defined in: [ui/list-view/index.d.ts:278](https://github.com/NativeScript/Native getItem(index: number): any; ``` -Defined in: [ui/list-view/index.d.ts:279](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L279) +Defined in: [ui/list-view/index.d.ts:291](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L291) #### Parameters diff --git a/content/api/interfaces/KeyedTemplate.md b/content/api/interfaces/KeyedTemplate.md index 7e91effc..b53fb578 100644 --- a/content/api/interfaces/KeyedTemplate.md +++ b/content/api/interfaces/KeyedTemplate.md @@ -5,7 +5,7 @@ description: Defines an interface for Template with a key. contributors: false --- -Defined in: [ui/core/view/index.d.ts:1168](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1168) +Defined in: [ui/core/view/index.d.ts:1225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1225) Defines an interface for Template with a key. @@ -17,7 +17,7 @@ Defines an interface for Template with a key. createView: Template; ``` -Defined in: [ui/core/view/index.d.ts:1177](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1177) +Defined in: [ui/core/view/index.d.ts:1234](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1234) The function that creates the view. @@ -29,6 +29,6 @@ The function that creates the view. key: string; ``` -Defined in: [ui/core/view/index.d.ts:1172](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1172) +Defined in: [ui/core/view/index.d.ts:1229](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1229) The unique key of the template. diff --git a/content/api/interfaces/LaunchEventData.md b/content/api/interfaces/LaunchEventData.md index 205918f3..087ed5ec 100644 --- a/content/api/interfaces/LaunchEventData.md +++ b/content/api/interfaces/LaunchEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for launch event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for launch event. @@ -21,7 +21,7 @@ Event data containing information for launch event. optional android?: Intent; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -31,7 +31,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -47,7 +47,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -57,7 +57,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -73,7 +73,7 @@ The Observable instance that has raised the event. optional root?: View; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The root view for this Window on iOS or Activity for Android. If not set a new Frame will be created as a root view in order to maintain backwards compatibility. @@ -87,4 +87,4 @@ If explicitly set to null, there will be no root view. optional savedInstanceState?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) diff --git a/content/api/interfaces/LayoutDirectionChangedEventData.md b/content/api/interfaces/LayoutDirectionChangedEventData.md index a9f2ef5f..b5cf6cf6 100644 --- a/content/api/interfaces/LayoutDirectionChangedEventData.md +++ b/content/api/interfaces/LayoutDirectionChangedEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for system layout direction chang contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for system layout direction changed event. @@ -21,7 +21,7 @@ Event data containing information for system layout direction changed event. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -69,7 +69,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. newValue: LayoutDirectionType; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) New layout direction value. @@ -81,7 +81,7 @@ New layout direction value. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/LoadAppCSSEventData.md b/content/api/interfaces/LoadAppCSSEventData.md index 35d5ef09..163e72ec 100644 --- a/content/api/interfaces/LoadAppCSSEventData.md +++ b/content/api/interfaces/LoadAppCSSEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for the application events. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for the application events. @@ -21,7 +21,7 @@ Event data containing information for the application events. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. cssFile: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -47,7 +47,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -63,7 +63,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -79,7 +79,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/LoadEventData.md b/content/api/interfaces/LoadEventData.md index bbc4a111..51bc015d 100644 --- a/content/api/interfaces/LoadEventData.md +++ b/content/api/interfaces/LoadEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for the loading events of a WebVi contributors: false --- -Defined in: [ui/web-view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L127) +Defined in: [ui/web-view/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L127) Event data containing information for the loading events of a WebView. @@ -21,7 +21,7 @@ Event data containing information for the loading events of a WebView. error: string; ``` -Defined in: [ui/web-view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L141) +Defined in: [ui/web-view/index.d.ts:141](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L141) Gets the error (if any). @@ -33,7 +33,7 @@ Gets the error (if any). eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. navigationType: NavigationType; ``` -Defined in: [ui/web-view/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L136) +Defined in: [ui/web-view/index.d.ts:136](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L136) Gets the navigation type of the web-view. @@ -61,7 +61,7 @@ Gets the navigation type of the web-view. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -77,6 +77,6 @@ The Observable instance that has raised the event. url: string; ``` -Defined in: [ui/web-view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L131) +Defined in: [ui/web-view/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L131) Gets the url of the web-view. diff --git a/content/api/interfaces/LoadOptions.md b/content/api/interfaces/LoadOptions.md index 436246e7..c7c11aa2 100644 --- a/content/api/interfaces/LoadOptions.md +++ b/content/api/interfaces/LoadOptions.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b optional attributes?: any; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -24,7 +24,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b optional exports?: any; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -34,7 +34,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b name: string; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -44,7 +44,7 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b optional page?: Page; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) *** @@ -54,4 +54,4 @@ Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/b path: string; ``` -Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/builder/index.ts) +Defined in: [ui/builder/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/builder/index.ts) diff --git a/content/api/interfaces/LoginOptions.md b/content/api/interfaces/LoginOptions.md index 1274fc4b..79232c67 100644 --- a/content/api/interfaces/LoginOptions.md +++ b/content/api/interfaces/LoginOptions.md @@ -5,7 +5,7 @@ description: Provides options for the login dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:245](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L245) +Defined in: [ui/dialogs/index.d.ts:245](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L245) Provides options for the login dialog. @@ -21,7 +21,7 @@ Provides options for the login dialog. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -37,7 +37,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional cancelButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L214) +Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L214) Gets or sets the Cancel button text. @@ -53,7 +53,7 @@ Gets or sets the Cancel button text. optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L194) +Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L194) Gets or sets the dialog message. @@ -69,7 +69,7 @@ Gets or sets the dialog message. optional neutralButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L219) +Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L219) Gets or sets the neutral button text. @@ -85,7 +85,7 @@ Gets or sets the neutral button text. optional okButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L204) +Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L204) Gets or sets the OK button text. @@ -101,7 +101,7 @@ Gets or sets the OK button text. optional password?: string; ``` -Defined in: [ui/dialogs/index.d.ts:264](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L264) +Defined in: [ui/dialogs/index.d.ts:264](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L264) Gets or sets the default text to display in the password input box. @@ -113,7 +113,7 @@ Gets or sets the default text to display in the password input box. optional passwordHint?: string; ``` -Defined in: [ui/dialogs/index.d.ts:254](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L254) +Defined in: [ui/dialogs/index.d.ts:254](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L254) Gets or sets the default text to display as hint in the password input box. @@ -125,7 +125,7 @@ Gets or sets the default text to display as hint in the password input box. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -141,7 +141,7 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L189) +Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L189) Gets or sets the dialog title. @@ -157,7 +157,7 @@ Gets or sets the dialog title. optional userName?: string; ``` -Defined in: [ui/dialogs/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L259) +Defined in: [ui/dialogs/index.d.ts:259](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L259) Gets or sets the default text to display in the user name input box. @@ -169,6 +169,6 @@ Gets or sets the default text to display in the user name input box. optional userNameHint?: string; ``` -Defined in: [ui/dialogs/index.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L249) +Defined in: [ui/dialogs/index.d.ts:249](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L249) Gets or sets the default text to display as hint in the user name input box. diff --git a/content/api/interfaces/LoginResult.md b/content/api/interfaces/LoginResult.md index 934427d2..9e6aef7b 100644 --- a/content/api/interfaces/LoginResult.md +++ b/content/api/interfaces/LoginResult.md @@ -5,7 +5,7 @@ description: Provides result data from the login dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:285](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L285) +Defined in: [ui/dialogs/index.d.ts:285](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L285) Provides result data from the login dialog. @@ -17,7 +17,7 @@ Provides result data from the login dialog. password: string; ``` -Defined in: [ui/dialogs/index.d.ts:299](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L299) +Defined in: [ui/dialogs/index.d.ts:299](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L299) Gets or sets the password entered in the login dialog. @@ -29,7 +29,7 @@ Gets or sets the password entered in the login dialog. result: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:289](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L289) +Defined in: [ui/dialogs/index.d.ts:289](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L289) Gets or sets the login dialog boolean result. @@ -41,6 +41,6 @@ Gets or sets the login dialog boolean result. userName: string; ``` -Defined in: [ui/dialogs/index.d.ts:294](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L294) +Defined in: [ui/dialogs/index.d.ts:294](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L294) Gets or sets the user entered in the login dialog. diff --git a/content/api/interfaces/NativeScriptConfig.md b/content/api/interfaces/NativeScriptConfig.md index df4169e1..6af5dfbe 100644 --- a/content/api/interfaces/NativeScriptConfig.md +++ b/content/api/interfaces/NativeScriptConfig.md @@ -5,7 +5,7 @@ description: "IMPORTANT: this is not generated automatically due to this issue: contributors: false --- -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) IMPORTANT: this is not generated automatically due to this issue: https://github.com/microsoft/TypeScript/issues/36763 @@ -20,7 +20,7 @@ Once issue is resolve we can remove this index.d.ts from repo and go back to aut optional android?: IConfigAndroid; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Android specific configurations Various Android specific configurations including Android runtime flags. @@ -33,7 +33,7 @@ Various Android specific configurations including Android runtime flags. optional appPath?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Path to the app source directory This is often the `src` or `app` directory however can be changed. @@ -46,7 +46,7 @@ This is often the `src` or `app` directory however can be changed. optional appResourcesPath?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) App_Resources path This is often at the root or inside `src` or `app` directory however can be anywhere. @@ -59,7 +59,7 @@ This is often at the root or inside `src` or `app` directory however can be anyw optional bundler?: BundlerType; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Bundler to use for this project. Default is 'webpack'. @@ -72,7 +72,7 @@ Default is 'webpack'. optional bundlerConfigPath?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Custom bundler config path For example, `vite.config.ts`, `webpack.config.js`, etc. @@ -86,7 +86,7 @@ The default is `webpack.config.js` however you can use a custom name and place e optional cli?: IConfigCLI; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Set cli options @@ -98,20 +98,40 @@ Set cli options optional cssParser?: "rework" | "nativescript" | "css-tree"; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Set the default CSS parser that NativeScript will use. Default: css-tree *** +### ~~discardUncaughtJsExceptions?~~ + +```ts +optional discardUncaughtJsExceptions?: boolean; +``` + +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) + +#### Deprecated + +Since runtime 9.1 uncaught JS errors no longer crash the app by default, so this flag is +no longer needed. Remove it, or use `uncaughtErrorPolicy`. + +Still honored while deprecated, with a one-time runtime warning: `true` routes uncaught errors to +`Application.discardedErrorEvent` (instead of `uncaughtErrorEvent`), skips the fatal log and +suppresses `uncaughtErrorPolicy: 'throw'`. `false` is ignored - it does NOT restore the old +crash-on-uncaught behavior; set `uncaughtErrorPolicy: 'throw'` for that. + +*** + ### embed? ```ts optional embed?: IConfigEmbed; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) For embedding into existing platform host projects. @@ -123,7 +143,7 @@ For embedding into existing platform host projects. optional hooks?: IConfigHook[]; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Set project persistent hooks to run @@ -135,7 +155,7 @@ Set project persistent hooks to run optional id?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) App's bundle id Used for both iOS and Android if they use the same bundle id. You can override per platform in the respective platform specific configurations. @@ -148,7 +168,7 @@ Used for both iOS and Android if they use the same bundle id. You can override p optional ignoredNativeDependencies?: string[]; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Optionally specify a list of npm package names for which you would like the NativeScript CLI to ignore when attaching native dependencies to the build @@ -160,7 +180,7 @@ Optionally specify a list of npm package names for which you would like the Nati optional ios?: IConfigIOS; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) iOS specific configurations Various iOS specific configurations including iOS runtime flags. @@ -173,7 +193,7 @@ Various iOS specific configurations including iOS runtime flags. optional logScriptLoading?: boolean; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Enable runtime logging of script loading. @@ -185,7 +205,7 @@ Enable runtime logging of script loading. optional main?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) App's main entry file - this setting overrides the value set in package.json @@ -197,7 +217,7 @@ App's main entry file - this setting overrides the value set in package.json optional overridePods?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) *** @@ -207,7 +227,7 @@ Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeS optional previewAppSchema?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) *** @@ -217,7 +237,7 @@ Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeS optional profiling?: InstrumentationMode; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Enable profiling for the application. Default: no profiling In most cases when profiling, you will want to use "timeline" @@ -230,7 +250,7 @@ In most cases when profiling, you will want to use "timeline" optional projectName?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Custom platform project name. By default, the platforms/\{platform\}/\{name\} is based on the basename of the project directory. @@ -244,7 +264,7 @@ You can override that to use a name of your choice by setting this. optional security?: ISecurityConfig; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Security configurations @@ -256,7 +276,7 @@ Security configurations optional shared?: boolean; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) *** @@ -266,19 +286,39 @@ Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeS optional showErrorDisplay?: boolean; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Show visual error display when an uncaught JS exception occurs. *** +### uncaughtErrorPolicy? + +```ts +optional uncaughtErrorPolicy?: UncaughtErrorPolicy; +``` + +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) + +Policy for uncaught JS errors and unhandled promise rejections that no listener handled. +Default: `'report'` - the app keeps running. + +Requires runtime 9.1+ (iOS and Android); older runtimes ignore the key and crash on +uncaught errors as before. Read only from the top level of the config - a value nested +under `ios` / `android` has no effect. + +To handle individual errors instead, add a `globalThis` listener and cancel the event: +`globalThis.addEventListener('unhandledrejection', (e) => e.preventDefault())`. + +*** + ### visionos? ```ts optional visionos?: IConfigVisionOS; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) Vision Pro specific configurations Various VisionOS specific configurations including iOS runtime flags. @@ -291,7 +331,7 @@ Various VisionOS specific configurations including iOS runtime flags. optional webpackConfigPath?: string; ``` -Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/config/config.interface.ts) +Defined in: [config/config.interface.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/config/config.interface.ts) #### Deprecated diff --git a/content/api/interfaces/NativeScriptError.md b/content/api/interfaces/NativeScriptError.md index cb457de6..7d712221 100644 --- a/content/api/interfaces/NativeScriptError.md +++ b/content/api/interfaces/NativeScriptError.md @@ -5,7 +5,7 @@ description: An extended JavaScript Error which will have the nativeError proper contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code. @@ -21,7 +21,7 @@ An extended JavaScript Error which will have the nativeError property initialize optional nativeException?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Represents the native error object. @@ -33,7 +33,7 @@ Represents the native error object. optional stack?: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Javascript portion of stack trace. @@ -51,6 +51,6 @@ Error.stack optional stackTrace?: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The native stack trace. diff --git a/content/api/interfaces/NativeWindowEventData.md b/content/api/interfaces/NativeWindowEventData.md new file mode 100644 index 00000000..62f86339 --- /dev/null +++ b/content/api/interfaces/NativeWindowEventData.md @@ -0,0 +1,68 @@ +--- +title: NativeWindowEventData +titleTemplate: :title - API / NativeScript +description: Base event data for NativeWindow events. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Base event data for NativeWindow events. + +## Extends + +- [`WindowBaseEventData`](WindowBaseEventData.md) + +## Extended by + +- [`WindowOrientationChangedEventData`](WindowOrientationChangedEventData.md) +- [`WindowSystemAppearanceChangedEventData`](WindowSystemAppearanceChangedEventData.md) +- [`WindowLayoutDirectionChangedEventData`](WindowLayoutDirectionChangedEventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`WindowBaseEventData`](WindowBaseEventData.md).[`eventName`](WindowBaseEventData.md#eventname) + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`WindowBaseEventData`](WindowBaseEventData.md).[`object`](WindowBaseEventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that emitted the event. + +#### Overrides + +[`WindowBaseEventData`](WindowBaseEventData.md).[`window`](WindowBaseEventData.md#window) diff --git a/content/api/interfaces/NavigatedData.md b/content/api/interfaces/NavigatedData.md index 02da0e0d..62830668 100644 --- a/content/api/interfaces/NavigatedData.md +++ b/content/api/interfaces/NavigatedData.md @@ -5,7 +5,7 @@ description: Defines the data for the page navigation events. contributors: false --- -Defined in: [ui/page/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L15) +Defined in: [ui/page/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L15) Defines the data for the page navigation events. @@ -21,7 +21,7 @@ Defines the data for the page navigation events. context: any; ``` -Defined in: [ui/page/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L19) +Defined in: [ui/page/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L19) The navigation context (optional, may be undefined) passed to the page navigation events method. @@ -33,7 +33,7 @@ The navigation context (optional, may be undefined) passed to the page navigatio eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. isBackNavigation: boolean; ``` -Defined in: [ui/page/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/page/index.d.ts#L24) +Defined in: [ui/page/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/page/index.d.ts#L24) Represents if a navigation is forward or backward. @@ -61,7 +61,7 @@ Represents if a navigation is forward or backward. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/NavigationContext.md b/content/api/interfaces/NavigationContext.md index 87393fbe..21e169dd 100644 --- a/content/api/interfaces/NavigationContext.md +++ b/content/api/interfaces/NavigationContext.md @@ -5,7 +5,7 @@ description: Represents a context passed to navigation methods. contributors: false --- -Defined in: [ui/frame/index.d.ts:408](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L408) +Defined in: [ui/frame/index.d.ts:418](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L418) Represents a context passed to navigation methods. @@ -17,7 +17,7 @@ Represents a context passed to navigation methods. optional entry?: BackstackEntry; ``` -Defined in: [ui/frame/index.d.ts:409](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L409) +Defined in: [ui/frame/index.d.ts:419](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L419) *** @@ -27,7 +27,7 @@ Defined in: [ui/frame/index.d.ts:409](https://github.com/NativeScript/NativeScri isBackNavigation: boolean; ``` -Defined in: [ui/frame/index.d.ts:413](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L413) +Defined in: [ui/frame/index.d.ts:423](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L423) #### Deprecated @@ -41,4 +41,4 @@ Use navigationType instead. navigationType: NavigationType; ``` -Defined in: [ui/frame/index.d.ts:414](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L414) +Defined in: [ui/frame/index.d.ts:424](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L424) diff --git a/content/api/interfaces/NavigationData.md b/content/api/interfaces/NavigationData.md index 1b97f563..7c26ed30 100644 --- a/content/api/interfaces/NavigationData.md +++ b/content/api/interfaces/NavigationData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. optional entry?: BackstackEntry; ``` -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) *** @@ -31,7 +31,7 @@ Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/Nativ eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -47,7 +47,7 @@ The name of the event. optional fromEntry?: BackstackEntry; ``` -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) *** @@ -57,7 +57,7 @@ Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/Nativ optional isBack?: boolean; ``` -Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/frame-interfaces.ts) +Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/frame-interfaces.ts) *** @@ -67,7 +67,7 @@ Defined in: [ui/frame/frame-interfaces.ts](https://github.com/NativeScript/Nativ object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/NavigationEntry.md b/content/api/interfaces/NavigationEntry.md index 4ca6aa68..0b92c073 100644 --- a/content/api/interfaces/NavigationEntry.md +++ b/content/api/interfaces/NavigationEntry.md @@ -5,7 +5,7 @@ description: Represents an entry in passed to navigate method. contributors: false --- -Defined in: [ui/frame/index.d.ts:362](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L362) +Defined in: [ui/frame/index.d.ts:372](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L372) Represents an entry in passed to navigate method. @@ -21,7 +21,7 @@ Represents an entry in passed to navigate method. optional animated?: boolean; ``` -Defined in: [ui/frame/index.d.ts:376](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L376) +Defined in: [ui/frame/index.d.ts:386](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L386) True to navigate to the new Page using animated transitions, false otherwise. @@ -33,7 +33,7 @@ True to navigate to the new Page using animated transitions, false otherwise. optional backstackVisible?: boolean; ``` -Defined in: [ui/frame/index.d.ts:397](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L397) +Defined in: [ui/frame/index.d.ts:407](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L407) True to record the navigation in the backstack, false otherwise. If the parameter is set to false then the Page will be displayed but once navigated from it will not be able to be navigated back to. @@ -46,7 +46,7 @@ If the parameter is set to false then the Page will be displayed but once naviga optional bindingContext?: any; ``` -Defined in: [ui/frame/index.d.ts:371](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L371) +Defined in: [ui/frame/index.d.ts:381](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L381) An object to become the binding context of the page navigating to. Optional. @@ -58,7 +58,7 @@ An object to become the binding context of the page navigating to. Optional. optional clearHistory?: boolean; ``` -Defined in: [ui/frame/index.d.ts:402](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L402) +Defined in: [ui/frame/index.d.ts:412](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L412) True to clear the navigation history, false otherwise. Very useful when navigating away from login pages. @@ -70,7 +70,7 @@ True to clear the navigation history, false otherwise. Very useful when navigati optional context?: any; ``` -Defined in: [ui/frame/index.d.ts:366](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L366) +Defined in: [ui/frame/index.d.ts:376](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L376) An object passed to the onNavigatedTo callback of the Page. Typically this is used to pass some data among pages. Optional. @@ -82,7 +82,7 @@ An object passed to the onNavigatedTo callback of the Page. Typically this is us optional create?: () => View; ``` -Defined in: [ui/frame/index.d.ts:357](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L357) +Defined in: [ui/frame/index.d.ts:367](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L367) A function used to create the View instance. Optional. @@ -102,7 +102,7 @@ A function used to create the View instance. Optional. optional moduleName?: string; ``` -Defined in: [ui/frame/index.d.ts:352](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L352) +Defined in: [ui/frame/index.d.ts:362](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L362) The name of the module containing the View instance to load. Optional. @@ -118,7 +118,7 @@ The name of the module containing the View instance to load. Optional. optional transition?: NavigationTransition; ``` -Defined in: [ui/frame/index.d.ts:381](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L381) +Defined in: [ui/frame/index.d.ts:391](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L391) Specifies an optional navigation transition for all platforms. If not specified, the default platform transition will be used. @@ -130,7 +130,7 @@ Specifies an optional navigation transition for all platforms. If not specified, optional transitionAndroid?: NavigationTransition; ``` -Defined in: [ui/frame/index.d.ts:391](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L391) +Defined in: [ui/frame/index.d.ts:401](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L401) Specifies an optional navigation transition for Android. If not specified, the default platform transition will be used. @@ -142,6 +142,6 @@ Specifies an optional navigation transition for Android. If not specified, the d optional transitioniOS?: NavigationTransition; ``` -Defined in: [ui/frame/index.d.ts:386](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L386) +Defined in: [ui/frame/index.d.ts:396](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L396) Specifies an optional navigation transition for iOS. If not specified, the default platform transition will be used. diff --git a/content/api/interfaces/NavigationTransition.md b/content/api/interfaces/NavigationTransition.md index 169a9c55..2afed828 100644 --- a/content/api/interfaces/NavigationTransition.md +++ b/content/api/interfaces/NavigationTransition.md @@ -5,7 +5,7 @@ description: Represents an object specifying a page navigation transition. contributors: false --- -Defined in: [ui/frame/index.d.ts:420](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L420) +Defined in: [ui/frame/index.d.ts:430](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L430) Represents an object specifying a page navigation transition. @@ -17,7 +17,7 @@ Represents an object specifying a page navigation transition. optional curve?: any; ``` -Defined in: [ui/frame/index.d.ts:453](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L453) +Defined in: [ui/frame/index.d.ts:463](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L463) An optional transition animation curve. Possible values are contained in the [AnimationCurve enumeration](https://docs.nativescript.org/api-reference/modules/_ui_enums_.animationcurve.html). Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or android.animation.TimeInterpolator for Android. @@ -30,7 +30,7 @@ Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or optional duration?: number; ``` -Defined in: [ui/frame/index.d.ts:447](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L447) +Defined in: [ui/frame/index.d.ts:457](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L457) The length of the transition in milliseconds. If you do not specify this, the default platform transition duration will be used. @@ -42,7 +42,7 @@ The length of the transition in milliseconds. If you do not specify this, the de optional instance?: Transition; ``` -Defined in: [ui/frame/index.d.ts:442](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L442) +Defined in: [ui/frame/index.d.ts:452](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L452) An user-defined instance of the "ui/transition".Transition class. @@ -54,7 +54,7 @@ An user-defined instance of the "ui/transition".Transition class. optional name?: string; ``` -Defined in: [ui/frame/index.d.ts:437](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L437) +Defined in: [ui/frame/index.d.ts:447](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L447) Can be one of the built-in transitions: - curl (same as curlUp) (iOS only) diff --git a/content/api/interfaces/OrientationChangedEventData.md b/content/api/interfaces/OrientationChangedEventData.md index 326204e4..c5ac4791 100644 --- a/content/api/interfaces/OrientationChangedEventData.md +++ b/content/api/interfaces/OrientationChangedEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for orientation changed event. contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for orientation changed event. @@ -21,7 +21,7 @@ Event data containing information for orientation changed event. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -69,7 +69,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. newValue: "portrait" | "landscape" | "unknown"; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) New orientation value. @@ -81,7 +81,7 @@ New orientation value. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/Pair.md b/content/api/interfaces/Pair.md index 805fa730..5585b78e 100644 --- a/content/api/interfaces/Pair.md +++ b/content/api/interfaces/Pair.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N x: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -24,4 +24,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N y: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/interfaces/PanGestureEventData.md b/content/api/interfaces/PanGestureEventData.md index 63f3c6cf..78ca1b81 100644 --- a/content/api/interfaces/PanGestureEventData.md +++ b/content/api/interfaces/PanGestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -35,7 +35,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati deltaX: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -45,7 +45,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati deltaY: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -55,7 +55,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -71,7 +71,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -85,7 +85,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -101,7 +101,7 @@ The Observable instance that has raised the event. state: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -115,7 +115,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -129,7 +129,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from diff --git a/content/api/interfaces/PinchGestureEventData.md b/content/api/interfaces/PinchGestureEventData.md index c34bf362..298e9c29 100644 --- a/content/api/interfaces/PinchGestureEventData.md +++ b/content/api/interfaces/PinchGestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -35,7 +35,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -51,7 +51,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -65,7 +65,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -81,7 +81,7 @@ The Observable instance that has raised the event. scale: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -91,7 +91,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati state: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -119,7 +119,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -133,7 +133,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati getFocusX(): number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Returns @@ -147,7 +147,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati getFocusY(): number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Returns diff --git a/content/api/interfaces/PlatformContext.md b/content/api/interfaces/PlatformContext.md index 26368477..5744861c 100644 --- a/content/api/interfaces/PlatformContext.md +++ b/content/api/interfaces/PlatformContext.md @@ -5,7 +5,7 @@ description: Used with qualifier matchers and module resolution contributors: false --- -Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) +Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) Used with qualifier matchers and module resolution @@ -17,7 +17,7 @@ Used with qualifier matchers and module resolution deviceType: string; ``` -Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) +Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) *** @@ -27,7 +27,7 @@ Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com height: number; ``` -Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) +Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) *** @@ -37,7 +37,7 @@ Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com os: string; ``` -Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) +Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) *** @@ -47,4 +47,4 @@ Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com width: number; ``` -Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) +Defined in: [module-name-resolver/qualifier-matcher/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/qualifier-matcher/index.ts) diff --git a/content/api/interfaces/Point3D.md b/content/api/interfaces/Point3D.md index 7ca674c4..862e55bf 100644 --- a/content/api/interfaces/Point3D.md +++ b/content/api/interfaces/Point3D.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N x: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -24,7 +24,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N y: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -34,4 +34,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N z: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/interfaces/PrimaryWindowChangedEventData.md b/content/api/interfaces/PrimaryWindowChangedEventData.md new file mode 100644 index 00000000..924d3003 --- /dev/null +++ b/content/api/interfaces/PrimaryWindowChangedEventData.md @@ -0,0 +1,58 @@ +--- +title: PrimaryWindowChangedEventData +titleTemplate: :title - API / NativeScript +description: Event data fired on Application when the primary window changes. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data fired on Application when the primary window changes. + +## Extends + +- [`EventData`](EventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`EventData`](EventData.md).[`eventName`](EventData.md#eventname) + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`EventData`](EventData.md).[`object`](EventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that is now primary. diff --git a/content/api/interfaces/PromptOptions.md b/content/api/interfaces/PromptOptions.md index ea86caef..5f076a63 100644 --- a/content/api/interfaces/PromptOptions.md +++ b/content/api/interfaces/PromptOptions.md @@ -5,7 +5,7 @@ description: Provides options for the prompt dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L225) +Defined in: [ui/dialogs/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L225) Provides options for the prompt dialog. @@ -21,7 +21,7 @@ Provides options for the prompt dialog. optional cancelable?: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L144) +Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L144) [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. @@ -37,7 +37,7 @@ Defined in: [ui/dialogs/index.d.ts:144](https://github.com/NativeScript/NativeSc optional cancelButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L214) +Defined in: [ui/dialogs/index.d.ts:214](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L214) Gets or sets the Cancel button text. @@ -53,7 +53,7 @@ Gets or sets the Cancel button text. optional capitalizationType?: string; ``` -Defined in: [ui/dialogs/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L239) +Defined in: [ui/dialogs/index.d.ts:239](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L239) Gets or sets the prompt capitalizationType (none, all, sentences, or words). @@ -65,7 +65,7 @@ Gets or sets the prompt capitalizationType (none, all, sentences, or words). optional defaultText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L229) +Defined in: [ui/dialogs/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L229) Gets or sets the default text to display in the input box. @@ -77,7 +77,7 @@ Gets or sets the default text to display in the input box. optional inputType?: string; ``` -Defined in: [ui/dialogs/index.d.ts:234](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L234) +Defined in: [ui/dialogs/index.d.ts:234](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L234) Gets or sets the prompt input type (plain text, password, or email). @@ -89,7 +89,7 @@ Gets or sets the prompt input type (plain text, password, or email). optional message?: string; ``` -Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L194) +Defined in: [ui/dialogs/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L194) Gets or sets the dialog message. @@ -105,7 +105,7 @@ Gets or sets the dialog message. optional neutralButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L219) +Defined in: [ui/dialogs/index.d.ts:219](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L219) Gets or sets the neutral button text. @@ -121,7 +121,7 @@ Gets or sets the neutral button text. optional okButtonText?: string; ``` -Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L204) +Defined in: [ui/dialogs/index.d.ts:204](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L204) Gets or sets the OK button text. @@ -137,7 +137,7 @@ Gets or sets the OK button text. optional theme?: number; ``` -Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L149) +Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L149) [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style @@ -153,7 +153,7 @@ Defined in: [ui/dialogs/index.d.ts:149](https://github.com/NativeScript/NativeSc optional title?: string; ``` -Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L189) +Defined in: [ui/dialogs/index.d.ts:189](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L189) Gets or sets the dialog title. diff --git a/content/api/interfaces/PromptResult.md b/content/api/interfaces/PromptResult.md index bcd4e6d7..a7012ad9 100644 --- a/content/api/interfaces/PromptResult.md +++ b/content/api/interfaces/PromptResult.md @@ -5,7 +5,7 @@ description: Provides result data from the prompt dialog. contributors: false --- -Defined in: [ui/dialogs/index.d.ts:270](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L270) +Defined in: [ui/dialogs/index.d.ts:270](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L270) Provides result data from the prompt dialog. @@ -17,7 +17,7 @@ Provides result data from the prompt dialog. result: boolean; ``` -Defined in: [ui/dialogs/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L274) +Defined in: [ui/dialogs/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L274) Gets or sets the prompt dialog boolean result. @@ -29,6 +29,6 @@ Gets or sets the prompt dialog boolean result. text: string; ``` -Defined in: [ui/dialogs/index.d.ts:279](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L279) +Defined in: [ui/dialogs/index.d.ts:279](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L279) Gets or sets the text entered in the prompt dialog. diff --git a/content/api/interfaces/PropertyAnimation.md b/content/api/interfaces/PropertyAnimation.md index 982d9143..1be75c73 100644 --- a/content/api/interfaces/PropertyAnimation.md +++ b/content/api/interfaces/PropertyAnimation.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Extended by @@ -18,7 +18,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional curve?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -28,7 +28,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional delay?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -38,7 +38,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional duration?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -48,7 +48,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional iterations?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -58,7 +58,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N property: string; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -68,7 +68,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N target: View; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -78,4 +78,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N value: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/interfaces/PropertyAnimationInfo.md b/content/api/interfaces/PropertyAnimationInfo.md index 815996ed..a996e309 100644 --- a/content/api/interfaces/PropertyAnimationInfo.md +++ b/content/api/interfaces/PropertyAnimationInfo.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Extends @@ -18,7 +18,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional _originalValue?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -28,7 +28,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional _propertyResetCallback?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -38,7 +38,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional curve?: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional delay?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -66,7 +66,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional duration?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N optional iterations?: number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -94,7 +94,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N property: string; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N target: View; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from @@ -122,7 +122,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N value: any; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) #### Inherited from diff --git a/content/api/interfaces/PropertyChangeData.md b/content/api/interfaces/PropertyChangeData.md index d178dbc5..6add8f5e 100644 --- a/content/api/interfaces/PropertyChangeData.md +++ b/content/api/interfaces/PropertyChangeData.md @@ -5,7 +5,7 @@ description: Data for the "propertyChange" event. contributors: false --- -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) Data for the "propertyChange" event. @@ -21,7 +21,7 @@ Data for the "propertyChange" event. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -53,7 +53,7 @@ The Observable instance that has raised the event. optional oldValue?: any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The previous value of the property. @@ -65,7 +65,7 @@ The previous value of the property. propertyName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the property that has changed. @@ -77,6 +77,6 @@ The name of the property that has changed. value: any; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The new value of the property. diff --git a/content/api/interfaces/RootLayoutOptions.md b/content/api/interfaces/RootLayoutOptions.md index 6ca6f675..ccc601c3 100644 --- a/content/api/interfaces/RootLayoutOptions.md +++ b/content/api/interfaces/RootLayoutOptions.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/root-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L21) +Defined in: [ui/layouts/root-layout/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L21) ## Properties @@ -17,7 +17,7 @@ optional animation?: { }; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L23) +Defined in: [ui/layouts/root-layout/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L23) #### enterFrom? @@ -39,4 +39,4 @@ optional exitTo?: TransitionAnimation; optional shadeCover?: ShadeCoverOptions; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L22) +Defined in: [ui/layouts/root-layout/index.d.ts:22](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L22) diff --git a/content/api/interfaces/RotationGestureEventData.md b/content/api/interfaces/RotationGestureEventData.md index 7b176c28..5897eddf 100644 --- a/content/api/interfaces/RotationGestureEventData.md +++ b/content/api/interfaces/RotationGestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -35,7 +35,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -51,7 +51,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -65,7 +65,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -81,7 +81,7 @@ The Observable instance that has raised the event. rotation: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -91,7 +91,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati state: number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -119,7 +119,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from diff --git a/content/api/interfaces/SceneContinueUserActivityEventData.md b/content/api/interfaces/SceneContinueUserActivityEventData.md new file mode 100644 index 00000000..40ba4821 --- /dev/null +++ b/content/api/interfaces/SceneContinueUserActivityEventData.md @@ -0,0 +1,174 @@ +--- +title: SceneContinueUserActivityEventData +titleTemplate: :title - API / NativeScript +description: iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and universal links directed at a scene. Replaces the `applicationContinueUserAc... +contributors: false +--- + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and +universal links directed at a scene. + +Replaces the `applicationContinueUserActivityRestorationHandler` app delegate callback, +which UIKit no longer calls once the app adopts scenes. + +## Extends + +- [`SceneEventData`](SceneEventData.md) + +## Properties + +### android? + +```ts +optional android?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native Android event arguments. Valid only when running on Android. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`android`](SceneEventData.md#android) + +*** + +### connectionOptions? + +```ts +optional connectionOptions?: UISceneConnectionOptions; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Scene connection options (for sceneWillConnect event). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`connectionOptions`](SceneEventData.md#connectionoptions) + +*** + +### eventName + +```ts +eventName: string; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The name of the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`eventName`](SceneEventData.md#eventname) + +*** + +### ios? + +```ts +optional ios?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native iOS event arguments. Valid only when running on iOS. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`ios`](SceneEventData.md#ios) + +*** + +### object + +```ts +object: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The instance that has raised the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`object`](SceneEventData.md#object) + +*** + +### scene? + +```ts +optional scene?: UIWindowScene; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindowScene instance associated with this event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`scene`](SceneEventData.md#scene) + +*** + +### uiWindow? + +```ts +optional uiWindow?: UIWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindow associated with this scene (if applicable). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`uiWindow`](SceneEventData.md#uiwindow) + +*** + +### userActivity + +```ts +userActivity: NSUserActivity; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The activity to continue. + +*** + +### userInfo? + +```ts +optional userInfo?: NSDictionary; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Additional user info from the notification. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`userInfo`](SceneEventData.md#userinfo) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the scene belongs to, when one is registered for it. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`window`](SceneEventData.md#window) diff --git a/content/api/interfaces/SceneEventData.md b/content/api/interfaces/SceneEventData.md index 5658ab59..542e8a01 100644 --- a/content/api/interfaces/SceneEventData.md +++ b/content/api/interfaces/SceneEventData.md @@ -5,7 +5,7 @@ description: iOS Event data containing information for scene lifecycle events (i contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) iOS Event data containing information for scene lifecycle events (iOS 13+). @@ -13,6 +13,12 @@ iOS Event data containing information for scene lifecycle events (iOS 13+). - [`ApplicationEventData`](ApplicationEventData.md) +## Extended by + +- [`SceneOpenURLContextsEventData`](SceneOpenURLContextsEventData.md) +- [`SceneContinueUserActivityEventData`](SceneContinueUserActivityEventData.md) +- [`ScenePerformActionForShortcutItemEventData`](ScenePerformActionForShortcutItemEventData.md) + ## Properties ### android? @@ -21,7 +27,7 @@ iOS Event data containing information for scene lifecycle events (iOS 13+). optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +43,7 @@ Gets the native Android event arguments. Valid only when running on Android. optional connectionOptions?: UISceneConnectionOptions; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Scene connection options (for sceneWillConnect event). @@ -49,7 +55,7 @@ Scene connection options (for sceneWillConnect event). eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -65,7 +71,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -81,7 +87,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. @@ -97,19 +103,31 @@ The instance that has raised the event. optional scene?: UIWindowScene; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The UIWindowScene instance associated with this event. *** +### uiWindow? + +```ts +optional uiWindow?: UIWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindow associated with this scene (if applicable). + +*** + ### userInfo? ```ts optional userInfo?: NSDictionary; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Additional user info from the notification. @@ -118,9 +136,9 @@ Additional user info from the notification. ### window? ```ts -optional window?: UIWindow; +optional window?: NativeWindow; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) -The UIWindow associated with this scene (if applicable). +The NativeWindow the scene belongs to, when one is registered for it. diff --git a/content/api/interfaces/SceneOpenURLContextsEventData.md b/content/api/interfaces/SceneOpenURLContextsEventData.md new file mode 100644 index 00000000..94e7e9b9 --- /dev/null +++ b/content/api/interfaces/SceneOpenURLContextsEventData.md @@ -0,0 +1,174 @@ +--- +title: SceneOpenURLContextsEventData +titleTemplate: :title - API / NativeScript +description: iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs. Replaces the `applicationOpenURLOptions` app delegate callbac... +contributors: false +--- + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs. + +Replaces the `applicationOpenURLOptions` app delegate callback, which UIKit no longer +calls once the app adopts scenes. Handlers registered through +`Application.ios.addDelegateHandler('applicationOpenURLOptions', ...)` still run, once per context. + +## Extends + +- [`SceneEventData`](SceneEventData.md) + +## Properties + +### android? + +```ts +optional android?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native Android event arguments. Valid only when running on Android. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`android`](SceneEventData.md#android) + +*** + +### connectionOptions? + +```ts +optional connectionOptions?: UISceneConnectionOptions; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Scene connection options (for sceneWillConnect event). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`connectionOptions`](SceneEventData.md#connectionoptions) + +*** + +### eventName + +```ts +eventName: string; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The name of the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`eventName`](SceneEventData.md#eventname) + +*** + +### ios? + +```ts +optional ios?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native iOS event arguments. Valid only when running on iOS. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`ios`](SceneEventData.md#ios) + +*** + +### object + +```ts +object: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The instance that has raised the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`object`](SceneEventData.md#object) + +*** + +### scene? + +```ts +optional scene?: UIWindowScene; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindowScene instance associated with this event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`scene`](SceneEventData.md#scene) + +*** + +### uiWindow? + +```ts +optional uiWindow?: UIWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindow associated with this scene (if applicable). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`uiWindow`](SceneEventData.md#uiwindow) + +*** + +### urlContexts + +```ts +urlContexts: NSSet; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The URL contexts to open. A single delivery may carry more than one URL. + +*** + +### userInfo? + +```ts +optional userInfo?: NSDictionary; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Additional user info from the notification. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`userInfo`](SceneEventData.md#userinfo) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the scene belongs to, when one is registered for it. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`window`](SceneEventData.md#window) diff --git a/content/api/interfaces/ScenePerformActionForShortcutItemEventData.md b/content/api/interfaces/ScenePerformActionForShortcutItemEventData.md new file mode 100644 index 00000000..9cb44c7f --- /dev/null +++ b/content/api/interfaces/ScenePerformActionForShortcutItemEventData.md @@ -0,0 +1,202 @@ +--- +title: ScenePerformActionForShortcutItemEventData +titleTemplate: :title - API / NativeScript +description: iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home screen quick action targets a scene. Replaces the `applicationPerformAct... +contributors: false +--- + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home +screen quick action targets a scene. + +Replaces the `applicationPerformActionForShortcutItemCompletionHandler` app delegate +callback, which UIKit no longer calls once the app adopts scenes. + +## Extends + +- [`SceneEventData`](SceneEventData.md) + +## Properties + +### android? + +```ts +optional android?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native Android event arguments. Valid only when running on Android. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`android`](SceneEventData.md#android) + +*** + +### completionHandler + +```ts +completionHandler: (handled: boolean) => void; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Reports back to iOS whether the action was handled. Only the first call is delivered; +later ones are ignored. + +Unless a legacy `applicationPerformActionForShortcutItemCompletionHandler` handler is +registered — in which case that handler owns the result — the action is reported as +unhandled as soon as the listeners return, so a listener that wants to report otherwise +must call this before returning. + +#### Parameters + +| Parameter | Type | +| ------ | ------ | +| `handled` | `boolean` | + +#### Returns + +`void` + +*** + +### connectionOptions? + +```ts +optional connectionOptions?: UISceneConnectionOptions; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Scene connection options (for sceneWillConnect event). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`connectionOptions`](SceneEventData.md#connectionoptions) + +*** + +### eventName + +```ts +eventName: string; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The name of the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`eventName`](SceneEventData.md#eventname) + +*** + +### ios? + +```ts +optional ios?: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Gets the native iOS event arguments. Valid only when running on iOS. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`ios`](SceneEventData.md#ios) + +*** + +### object + +```ts +object: any; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The instance that has raised the event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`object`](SceneEventData.md#object) + +*** + +### scene? + +```ts +optional scene?: UIWindowScene; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindowScene instance associated with this event. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`scene`](SceneEventData.md#scene) + +*** + +### shortcutItem + +```ts +shortcutItem: UIApplicationShortcutItem; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The quick action the user selected. + +*** + +### uiWindow? + +```ts +optional uiWindow?: UIWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The UIWindow associated with this scene (if applicable). + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`uiWindow`](SceneEventData.md#uiwindow) + +*** + +### userInfo? + +```ts +optional userInfo?: NSDictionary; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +Additional user info from the notification. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`userInfo`](SceneEventData.md#userinfo) + +*** + +### window? + +```ts +optional window?: NativeWindow; +``` + +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) + +The NativeWindow the scene belongs to, when one is registered for it. + +#### Inherited from + +[`SceneEventData`](SceneEventData.md).[`window`](SceneEventData.md#window) diff --git a/content/api/interfaces/ScrollEventData.md b/content/api/interfaces/ScrollEventData.md index f3e5ae81..e66620ab 100644 --- a/content/api/interfaces/ScrollEventData.md +++ b/content/api/interfaces/ScrollEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/scroll-view/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L94) +Defined in: [ui/scroll-view/index.d.ts:105](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L105) Base event data. @@ -21,7 +21,7 @@ Base event data. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -53,7 +53,7 @@ The Observable instance that has raised the event. scrollX: number; ``` -Defined in: [ui/scroll-view/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L95) +Defined in: [ui/scroll-view/index.d.ts:106](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L106) *** @@ -63,4 +63,4 @@ Defined in: [ui/scroll-view/index.d.ts:95](https://github.com/NativeScript/Nativ scrollY: number; ``` -Defined in: [ui/scroll-view/index.d.ts:96](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/scroll-view/index.d.ts#L96) +Defined in: [ui/scroll-view/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/scroll-view/index.d.ts#L107) diff --git a/content/api/interfaces/SearchEventData.md b/content/api/interfaces/SearchEventData.md index fe54f5c9..660da580 100644 --- a/content/api/interfaces/SearchEventData.md +++ b/content/api/interfaces/SearchEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for the search text change event. contributors: false --- -Defined in: [ui/list-view/index.d.ts:260](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L260) +Defined in: [ui/list-view/index.d.ts:272](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L272) Event data containing information for the search text change event. @@ -21,7 +21,7 @@ Event data containing information for the search text change event. optional android?: any; ``` -Defined in: [ui/list-view/index.d.ts:274](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L274) +Defined in: [ui/list-view/index.d.ts:286](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L286) Gets the native Android search view. Valid only when running on Android OS. @@ -33,7 +33,7 @@ Gets the native Android search view. Valid only when running on Android OS. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -49,7 +49,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [ui/list-view/index.d.ts:269](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L269) +Defined in: [ui/list-view/index.d.ts:281](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L281) Gets the native [iOS UISearchController](https://developer.apple.com/documentation/uikit/uisearchcontroller) that represents the search controller. Valid only when running on iOS. @@ -61,7 +61,7 @@ Gets the native [iOS UISearchController](https://developer.apple.com/documentati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -77,6 +77,6 @@ The Observable instance that has raised the event. text: string; ``` -Defined in: [ui/list-view/index.d.ts:264](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L264) +Defined in: [ui/list-view/index.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L276) The current search text value. diff --git a/content/api/interfaces/SelectedIndexChangedEventData.md b/content/api/interfaces/SelectedIndexChangedEventData.md index 5b69fe63..3d3b7222 100644 --- a/content/api/interfaces/SelectedIndexChangedEventData.md +++ b/content/api/interfaces/SelectedIndexChangedEventData.md @@ -5,7 +5,7 @@ description: Defines the data for the SegmentedBar.selectedIndexChanged event. contributors: false --- -Defined in: [ui/segmented-bar/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L25) +Defined in: [ui/segmented-bar/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L25) Defines the data for the SegmentedBar.selectedIndexChanged event. @@ -21,7 +21,7 @@ Defines the data for the SegmentedBar.selectedIndexChanged event. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -37,7 +37,7 @@ The name of the event. newIndex: number; ``` -Defined in: [ui/segmented-bar/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L34) +Defined in: [ui/segmented-bar/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L34) The new selected index. @@ -49,7 +49,7 @@ The new selected index. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -65,6 +65,6 @@ The Observable instance that has raised the event. oldIndex: number; ``` -Defined in: [ui/segmented-bar/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/segmented-bar/index.d.ts#L29) +Defined in: [ui/segmented-bar/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/segmented-bar/index.d.ts#L29) The old selected index. diff --git a/content/api/interfaces/ShadeCoverOptions.md b/content/api/interfaces/ShadeCoverOptions.md index 53cdb6cd..ca8c4463 100644 --- a/content/api/interfaces/ShadeCoverOptions.md +++ b/content/api/interfaces/ShadeCoverOptions.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/layouts/root-layout/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L29) +Defined in: [ui/layouts/root-layout/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L29) ## Properties @@ -17,7 +17,7 @@ optional animation?: { }; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L33) +Defined in: [ui/layouts/root-layout/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L33) #### enterFrom? @@ -39,7 +39,7 @@ optional exitTo?: TransitionAnimation; optional color?: string; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L31) +Defined in: [ui/layouts/root-layout/index.d.ts:31](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L31) *** @@ -49,7 +49,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:31](https://github.com/NativeScri optional ignoreShadeRestore?: boolean; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L37) +Defined in: [ui/layouts/root-layout/index.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L37) *** @@ -59,7 +59,7 @@ Defined in: [ui/layouts/root-layout/index.d.ts:37](https://github.com/NativeScri optional opacity?: number; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L30) +Defined in: [ui/layouts/root-layout/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L30) *** @@ -69,4 +69,4 @@ Defined in: [ui/layouts/root-layout/index.d.ts:30](https://github.com/NativeScri optional tapToClose?: boolean; ``` -Defined in: [ui/layouts/root-layout/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/root-layout/index.d.ts#L32) +Defined in: [ui/layouts/root-layout/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/root-layout/index.d.ts#L32) diff --git a/content/api/interfaces/ShadowCSSValues.md b/content/api/interfaces/ShadowCSSValues.md index 9829f145..bd761013 100644 --- a/content/api/interfaces/ShadowCSSValues.md +++ b/content/api/interfaces/ShadowCSSValues.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr optional blurRadius?: LengthType; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) *** @@ -24,7 +24,7 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr color: Color; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) *** @@ -34,7 +34,7 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr inset: boolean; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) *** @@ -44,7 +44,7 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr offsetX: LengthType; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) *** @@ -54,7 +54,7 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr offsetY: LengthType; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) *** @@ -64,4 +64,4 @@ Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScr optional spreadRadius?: LengthType; ``` -Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-shadow.ts) +Defined in: [ui/styling/css-shadow.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-shadow.ts) diff --git a/content/api/interfaces/SharedTransitionConfig.md b/content/api/interfaces/SharedTransitionConfig.md index 026e602f..bcfc1466 100644 --- a/content/api/interfaces/SharedTransitionConfig.md +++ b/content/api/interfaces/SharedTransitionConfig.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) ## Properties @@ -16,7 +16,7 @@ optional interactive?: { }; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Interactive transition settings. (iOS only at the moment) @@ -37,7 +37,7 @@ Defaults to using 'pan' gesture for dismissal however you can customize your own optional pageEnd?: SharedTransitionPageWithDurationProperties; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) View settings applied to the incoming page to end your transition with. @@ -49,7 +49,7 @@ View settings applied to the incoming page to end your transition with. optional pageOut?: SharedTransitionPageWithDurationProperties; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) View settings applied to the outgoing page in your transition. @@ -59,6 +59,7 @@ View settings applied to the outgoing page in your transition. ```ts optional pageReturn?: SharedRect & { + cornerRadius?: number; opacity?: number; scale?: { x?: number; @@ -76,12 +77,23 @@ optional pageReturn?: SharedRect & { }; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) View settings to return to the original page with. #### Type Declaration +##### cornerRadius? + +```ts +optional cornerRadius?: number; +``` + +(iOS only) Page-level corner radius to animate alongside the transition. +Useful for sheet-style modals where the top corners are rounded at the +starting offscreen position and flatten as the page reaches fullscreen +(and vice versa for dismiss). Top-left + top-right corners are masked. + ##### opacity? ```ts @@ -168,6 +180,6 @@ Note: you can try enabling this property in cases where your return animation do optional pageStart?: SharedTransitionPageProperties; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) View settings applied to the incoming page to start your transition with. diff --git a/content/api/interfaces/ShowModalOptions.md b/content/api/interfaces/ShowModalOptions.md index a1001d17..589441b1 100644 --- a/content/api/interfaces/ShowModalOptions.md +++ b/content/api/interfaces/ShowModalOptions.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) ## Properties @@ -17,7 +17,7 @@ optional android?: { }; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) #### ~~cancelable?~~ @@ -47,7 +47,7 @@ For possible values see https://developer.android.com/reference/android/view/Win optional animated?: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional parameter specifying whether to show the modal view with animation. @@ -59,7 +59,7 @@ An optional parameter specifying whether to show the modal view with animation. optional cancelable?: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode. @@ -71,7 +71,7 @@ An optional parameter specifying whether the modal view can be dismissed when no closeCallback: (...args: any[]) => void; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) A function that will be called when the view is closed. Any arguments provided when calling ShownModallyData.closeCallback will be available here. @@ -93,7 +93,7 @@ A function that will be called when the view is closed. Any arguments provided w context: any; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) Any context you want to pass to the modally shown view. This same context will be available in the arguments of the shownModally event handler. @@ -105,7 +105,7 @@ Any context you want to pass to the modally shown view. This same context will b optional fullscreen?: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional parameter specifying whether to show the modal view in full-screen mode. @@ -122,7 +122,7 @@ optional ios?: { }; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional parameter that specify options specific to iOS as an object. @@ -166,7 +166,7 @@ width of the popup dialog optional stretched?: boolean; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional parameter specifying whether to stretch the modal view when not in full-screen mode. @@ -178,6 +178,6 @@ An optional parameter specifying whether to stretch the modal view when not in f optional transition?: ModalTransitionType; ``` -Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view-base/index.ts) +Defined in: [ui/core/view-base/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view-base/index.ts) An optional custom transition effect diff --git a/content/api/interfaces/ShownModallyData.md b/content/api/interfaces/ShownModallyData.md index 6fc89b79..ce1290ce 100644 --- a/content/api/interfaces/ShownModallyData.md +++ b/content/api/interfaces/ShownModallyData.md @@ -5,7 +5,7 @@ description: Defines the data for the shownModally event. contributors: false --- -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) Defines the data for the shownModally event. @@ -21,7 +21,7 @@ Defines the data for the shownModally event. optional closeCallback?: Function; ``` -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) A callback to call when you want to close the modally shown view. Pass in any kind of arguments and you will receive when the callback parameter @@ -35,7 +35,7 @@ of View.showModal is executed. optional context?: any; ``` -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) The context (optional, may be undefined) passed to the view when shown modally. @@ -47,7 +47,7 @@ The context (optional, may be undefined) passed to the view when shown modally. eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -63,7 +63,7 @@ The name of the event. object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. diff --git a/content/api/interfaces/Size.md b/content/api/interfaces/Size.md index 6be3969f..726b726f 100644 --- a/content/api/interfaces/Size.md +++ b/content/api/interfaces/Size.md @@ -5,7 +5,7 @@ description: The Size interface describes abstract dimensions in two dimensional contributors: false --- -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) The Size interface describes abstract dimensions in two dimensional space. It has two properties width and height, representing the width and height values of the size. @@ -18,7 +18,7 @@ It has two properties width and height, representing the width and height values height: number; ``` -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) Represents the height of the size. @@ -30,6 +30,6 @@ Represents the height of the size. width: number; ``` -Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-interfaces.ts) +Defined in: [ui/core/view/view-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-interfaces.ts) Represents the width of the size. diff --git a/content/api/interfaces/StrokeCSSValues.md b/content/api/interfaces/StrokeCSSValues.md index b7854793..b1f8cf7a 100644 --- a/content/api/interfaces/StrokeCSSValues.md +++ b/content/api/interfaces/StrokeCSSValues.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-stroke.ts) +Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-stroke.ts) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScr color: Color; ``` -Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-stroke.ts) +Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-stroke.ts) *** @@ -24,4 +24,4 @@ Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScr width: LengthType; ``` -Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-stroke.ts) +Defined in: [ui/styling/css-stroke.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-stroke.ts) diff --git a/content/api/interfaces/SwipeGestureEventData.md b/content/api/interfaces/SwipeGestureEventData.md index 4d858d33..020bec52 100644 --- a/content/api/interfaces/SwipeGestureEventData.md +++ b/content/api/interfaces/SwipeGestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -35,7 +35,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati direction: SwipeDirection; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) *** @@ -45,7 +45,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -61,7 +61,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -75,7 +75,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -91,7 +91,7 @@ The Observable instance that has raised the event. type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -105,7 +105,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from diff --git a/content/api/interfaces/SystemAppearanceChangedEventData.md b/content/api/interfaces/SystemAppearanceChangedEventData.md index 1c9a721f..7a3a55ab 100644 --- a/content/api/interfaces/SystemAppearanceChangedEventData.md +++ b/content/api/interfaces/SystemAppearanceChangedEventData.md @@ -5,7 +5,7 @@ description: Event data containing information for system appearance changed eve contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information for system appearance changed event. @@ -21,7 +21,7 @@ Event data containing information for system appearance changed event. optional android?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -53,7 +53,7 @@ The name of the event. optional ios?: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -69,7 +69,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. newValue: "dark" | "light"; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) New system appearance value. @@ -81,7 +81,7 @@ New system appearance value. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/TapGestureEventData.md b/content/api/interfaces/TapGestureEventData.md index 3a7e0ab1..a79943d2 100644 --- a/content/api/interfaces/TapGestureEventData.md +++ b/content/api/interfaces/TapGestureEventData.md @@ -5,7 +5,7 @@ description: Base event data. contributors: false --- -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) Base event data. @@ -21,7 +21,7 @@ Base event data. android: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -35,7 +35,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati eventName: string; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The name of the event. @@ -51,7 +51,7 @@ The name of the event. ios: any; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -65,7 +65,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati object: Observable; ``` -Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/data/observable/index.ts) +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) The Observable instance that has raised the event. @@ -81,7 +81,7 @@ The Observable instance that has raised the event. type: GestureTypes; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -95,7 +95,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati view: View; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Inherited from @@ -109,7 +109,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati getPointerCount(): number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Returns @@ -123,7 +123,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati getX(): number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Returns @@ -137,7 +137,7 @@ Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/Nati getY(): number; ``` -Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/gestures-types.ts) +Defined in: [ui/gestures/gestures-types.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/gestures-types.ts) #### Returns diff --git a/content/api/interfaces/Template.md b/content/api/interfaces/Template.md index 770b6d63..67aa3592 100644 --- a/content/api/interfaces/Template.md +++ b/content/api/interfaces/Template.md @@ -5,7 +5,7 @@ description: Defines an interface for a View factory function. Commonly used to contributors: false --- -Defined in: [ui/core/view/index.d.ts:1157](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1157) +Defined in: [ui/core/view/index.d.ts:1214](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1214) Defines an interface for a View factory function. Commonly used to specify the visualization of data objects. @@ -14,7 +14,7 @@ Commonly used to specify the visualization of data objects. Template(): View; ``` -Defined in: [ui/core/view/index.d.ts:1162](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1162) +Defined in: [ui/core/view/index.d.ts:1219](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1219) Call signature of the factory function. Returns a new View instance. diff --git a/content/api/interfaces/TemplatedItemsView.md b/content/api/interfaces/TemplatedItemsView.md index 5a0b44b6..5baac8e6 100644 --- a/content/api/interfaces/TemplatedItemsView.md +++ b/content/api/interfaces/TemplatedItemsView.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/list-view/index.d.ts:282](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L282) +Defined in: [ui/list-view/index.d.ts:294](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L294) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/list-view/index.d.ts:282](https://github.com/NativeScript/Native items: any[] | ItemsSource; ``` -Defined in: [ui/list-view/index.d.ts:283](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L283) +Defined in: [ui/list-view/index.d.ts:295](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L295) *** @@ -24,7 +24,7 @@ Defined in: [ui/list-view/index.d.ts:283](https://github.com/NativeScript/Native itemTemplate: string | Template; ``` -Defined in: [ui/list-view/index.d.ts:284](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L284) +Defined in: [ui/list-view/index.d.ts:296](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L296) *** @@ -34,7 +34,7 @@ Defined in: [ui/list-view/index.d.ts:284](https://github.com/NativeScript/Native optional itemTemplates?: string | KeyedTemplate[]; ``` -Defined in: [ui/list-view/index.d.ts:285](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L285) +Defined in: [ui/list-view/index.d.ts:297](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L297) ## Methods @@ -47,7 +47,7 @@ off( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:288](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L288) +Defined in: [ui/list-view/index.d.ts:300](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L300) #### Parameters @@ -72,7 +72,7 @@ on( thisArg?: any): void; ``` -Defined in: [ui/list-view/index.d.ts:287](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L287) +Defined in: [ui/list-view/index.d.ts:299](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L299) #### Parameters @@ -94,7 +94,7 @@ Defined in: [ui/list-view/index.d.ts:287](https://github.com/NativeScript/Native refresh(): void; ``` -Defined in: [ui/list-view/index.d.ts:286](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/list-view/index.d.ts#L286) +Defined in: [ui/list-view/index.d.ts:298](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/list-view/index.d.ts#L298) #### Returns diff --git a/content/api/interfaces/TimerInfo.md b/content/api/interfaces/TimerInfo.md index 4b6c1d8a..4fd05732 100644 --- a/content/api/interfaces/TimerInfo.md +++ b/content/api/interfaces/TimerInfo.md @@ -5,7 +5,7 @@ description: Contains contains utility methods for profiling. All methods in thi contributors: false --- -Defined in: [profiling/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L6) +Defined in: [profiling/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L6) Contains contains utility methods for profiling. All methods in this module are experimental and may be changed in a non-major version. @@ -18,7 +18,7 @@ All methods in this module are experimental and may be changed in a non-major ve count: number; ``` -Defined in: [profiling/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L8) +Defined in: [profiling/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L8) *** @@ -28,4 +28,4 @@ Defined in: [profiling/index.d.ts:8](https://github.com/NativeScript/NativeScrip totalTime: number; ``` -Defined in: [profiling/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L7) +Defined in: [profiling/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L7) diff --git a/content/api/interfaces/TouchGestureEventData.md b/content/api/interfaces/TouchGestureEventData.md index 883b6267..a6dc5489 100644 --- a/content/api/interfaces/TouchGestureEventData.md +++ b/content/api/interfaces/TouchGestureEventData.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/gestures/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L65) +Defined in: [ui/gestures/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L65) ## Properties @@ -14,7 +14,7 @@ Defined in: [ui/gestures/index.d.ts:65](https://github.com/NativeScript/NativeSc action: string; ``` -Defined in: [ui/gestures/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L69) +Defined in: [ui/gestures/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L69) *** @@ -24,7 +24,7 @@ Defined in: [ui/gestures/index.d.ts:69](https://github.com/NativeScript/NativeSc android: MotionEvent; ``` -Defined in: [ui/gestures/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L71) +Defined in: [ui/gestures/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L71) *** @@ -34,7 +34,7 @@ Defined in: [ui/gestures/index.d.ts:71](https://github.com/NativeScript/NativeSc eventName: string; ``` -Defined in: [ui/gestures/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L66) +Defined in: [ui/gestures/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L66) *** @@ -44,7 +44,7 @@ Defined in: [ui/gestures/index.d.ts:66](https://github.com/NativeScript/NativeSc ios: any; ``` -Defined in: [ui/gestures/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L68) +Defined in: [ui/gestures/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L68) *** @@ -54,7 +54,7 @@ Defined in: [ui/gestures/index.d.ts:68](https://github.com/NativeScript/NativeSc object: any; ``` -Defined in: [ui/gestures/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L72) +Defined in: [ui/gestures/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L72) *** @@ -64,7 +64,7 @@ Defined in: [ui/gestures/index.d.ts:72](https://github.com/NativeScript/NativeSc type: GestureTypes; ``` -Defined in: [ui/gestures/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L67) +Defined in: [ui/gestures/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L67) *** @@ -74,7 +74,7 @@ Defined in: [ui/gestures/index.d.ts:67](https://github.com/NativeScript/NativeSc view: View; ``` -Defined in: [ui/gestures/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L70) +Defined in: [ui/gestures/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L70) ## Methods @@ -84,7 +84,7 @@ Defined in: [ui/gestures/index.d.ts:70](https://github.com/NativeScript/NativeSc getActivePointers(): Pointer[]; ``` -Defined in: [ui/gestures/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L78) +Defined in: [ui/gestures/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L78) #### Returns @@ -98,7 +98,7 @@ Defined in: [ui/gestures/index.d.ts:78](https://github.com/NativeScript/NativeSc getAllPointers(): Pointer[]; ``` -Defined in: [ui/gestures/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L80) +Defined in: [ui/gestures/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L80) #### Returns @@ -112,7 +112,7 @@ Defined in: [ui/gestures/index.d.ts:80](https://github.com/NativeScript/NativeSc getPointerCount(): number; ``` -Defined in: [ui/gestures/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L76) +Defined in: [ui/gestures/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L76) #### Returns @@ -126,7 +126,7 @@ Defined in: [ui/gestures/index.d.ts:76](https://github.com/NativeScript/NativeSc getX(): number; ``` -Defined in: [ui/gestures/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L82) +Defined in: [ui/gestures/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L82) #### Returns @@ -140,7 +140,7 @@ Defined in: [ui/gestures/index.d.ts:82](https://github.com/NativeScript/NativeSc getY(): number; ``` -Defined in: [ui/gestures/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L84) +Defined in: [ui/gestures/index.d.ts:84](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L84) #### Returns @@ -154,7 +154,7 @@ Defined in: [ui/gestures/index.d.ts:84](https://github.com/NativeScript/NativeSc prepare(view: View, e: any): void; ``` -Defined in: [ui/gestures/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/index.d.ts#L74) +Defined in: [ui/gestures/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/index.d.ts#L74) #### Parameters diff --git a/content/api/interfaces/TraceErrorHandler.md b/content/api/interfaces/TraceErrorHandler.md index ed3b51f6..1862e571 100644 --- a/content/api/interfaces/TraceErrorHandler.md +++ b/content/api/interfaces/TraceErrorHandler.md @@ -5,7 +5,7 @@ description: An interface used to for handling trace error contributors: false --- -Defined in: [trace/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L19) +Defined in: [trace/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L19) An interface used to for handling trace error @@ -17,7 +17,7 @@ An interface used to for handling trace error handlerError(error: Error): any; ``` -Defined in: [trace/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L20) +Defined in: [trace/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L20) #### Parameters diff --git a/content/api/interfaces/TraceEventListener.md b/content/api/interfaces/TraceEventListener.md index e782a0b1..11eb3164 100644 --- a/content/api/interfaces/TraceEventListener.md +++ b/content/api/interfaces/TraceEventListener.md @@ -5,7 +5,7 @@ description: An interface used to trace information about specific event. contributors: false --- -Defined in: [trace/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L11) +Defined in: [trace/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L11) An interface used to trace information about specific event. @@ -17,7 +17,7 @@ An interface used to trace information about specific event. filter: string; ``` -Defined in: [trace/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L12) +Defined in: [trace/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L12) ## Methods @@ -30,7 +30,7 @@ on( data?: any): void; ``` -Defined in: [trace/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L13) +Defined in: [trace/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L13) #### Parameters diff --git a/content/api/interfaces/TraceWriter.md b/content/api/interfaces/TraceWriter.md index 5d8ef786..47470bfe 100644 --- a/content/api/interfaces/TraceWriter.md +++ b/content/api/interfaces/TraceWriter.md @@ -5,7 +5,7 @@ description: An interface used to define a writer used by trace to print (log). contributors: false --- -Defined in: [trace/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L4) +Defined in: [trace/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L4) An interface used to define a writer used by trace to print (log). @@ -20,7 +20,7 @@ write( type?: number): void; ``` -Defined in: [trace/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L5) +Defined in: [trace/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L5) #### Parameters diff --git a/content/api/interfaces/UnhandledErrorEventData.md b/content/api/interfaces/UnhandledErrorEventData.md index d624448c..3edd7d22 100644 --- a/content/api/interfaces/UnhandledErrorEventData.md +++ b/content/api/interfaces/UnhandledErrorEventData.md @@ -5,7 +5,7 @@ description: Event data containing information about unhandled application error contributors: false --- -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Event data containing information about unhandled application errors. @@ -21,7 +21,7 @@ Event data containing information about unhandled application errors. optional android?: NativeScriptError; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native Android event arguments. Valid only when running on Android. @@ -37,7 +37,7 @@ Gets the native Android event arguments. Valid only when running on Android. error: NativeScriptError; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) *** @@ -47,7 +47,7 @@ Defined in: [application/application-interfaces.ts](https://github.com/NativeScr eventName: string; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The name of the event. @@ -63,7 +63,7 @@ The name of the event. optional ios?: NativeScriptError; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) Gets the native iOS event arguments. Valid only when running on iOS. @@ -79,7 +79,7 @@ Gets the native iOS event arguments. Valid only when running on iOS. object: any; ``` -Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-interfaces.ts) +Defined in: [application/application-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-interfaces.ts) The instance that has raised the event. diff --git a/content/api/interfaces/ViewEntry.md b/content/api/interfaces/ViewEntry.md index 10f51b42..3443155a 100644 --- a/content/api/interfaces/ViewEntry.md +++ b/content/api/interfaces/ViewEntry.md @@ -5,7 +5,7 @@ description: Represents an entry to be used to create a view or load it form fil contributors: false --- -Defined in: [ui/frame/index.d.ts:348](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L348) +Defined in: [ui/frame/index.d.ts:358](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L358) Represents an entry to be used to create a view or load it form file @@ -21,7 +21,7 @@ Represents an entry to be used to create a view or load it form file optional create?: () => View; ``` -Defined in: [ui/frame/index.d.ts:357](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L357) +Defined in: [ui/frame/index.d.ts:367](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L367) A function used to create the View instance. Optional. @@ -37,6 +37,6 @@ A function used to create the View instance. Optional. optional moduleName?: string; ``` -Defined in: [ui/frame/index.d.ts:352](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/frame/index.d.ts#L352) +Defined in: [ui/frame/index.d.ts:362](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/frame/index.d.ts#L362) The name of the module containing the View instance to load. Optional. diff --git a/content/api/interfaces/WindowBaseEventData.md b/content/api/interfaces/WindowBaseEventData.md new file mode 100644 index 00000000..841c315e --- /dev/null +++ b/content/api/interfaces/WindowBaseEventData.md @@ -0,0 +1,62 @@ +--- +title: WindowBaseEventData +titleTemplate: :title - API / NativeScript +description: Base event data for window surface events. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Base event data for window surface events. + +## Extends + +- [`EventData`](EventData.md) + +## Extended by + +- [`NativeWindowEventData`](NativeWindowEventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`EventData`](EventData.md).[`eventName`](EventData.md#eventname) + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`EventData`](EventData.md).[`object`](EventData.md#object) + +*** + +### window + +```ts +window: WindowBase; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The window that emitted the event. diff --git a/content/api/interfaces/WindowCloseEventData.md b/content/api/interfaces/WindowCloseEventData.md new file mode 100644 index 00000000..51902806 --- /dev/null +++ b/content/api/interfaces/WindowCloseEventData.md @@ -0,0 +1,58 @@ +--- +title: WindowCloseEventData +titleTemplate: :title - API / NativeScript +description: Event data fired on Application when a window closes. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data fired on Application when a window closes. + +## Extends + +- [`EventData`](EventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`EventData`](EventData.md).[`eventName`](EventData.md#eventname) + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`EventData`](EventData.md).[`object`](EventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that was closed. diff --git a/content/api/interfaces/WindowContentRequest.md b/content/api/interfaces/WindowContentRequest.md new file mode 100644 index 00000000..fad702dd --- /dev/null +++ b/content/api/interfaces/WindowContentRequest.md @@ -0,0 +1,89 @@ +--- +title: WindowContentRequest +titleTemplate: :title - API / NativeScript +description: Describes the window asking for content. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Describes the window asking for content. + +## Properties + +### android? + +```ts +optional android?: { + intent?: Intent; + savedInstanceState?: Bundle; +}; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +#### intent? + +```ts +optional intent?: Intent; +``` + +#### savedInstanceState? + +```ts +optional savedInstanceState?: Bundle; +``` + +*** + +### data? + +```ts +optional data?: Record; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +NSUserActivity.userInfo on iOS, intent extras on Android. + +*** + +### ios? + +```ts +optional ios?: { + connectionOptions?: UISceneConnectionOptions; +}; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +#### connectionOptions? + +```ts +optional connectionOptions?: UISceneConnectionOptions; +``` + +*** + +### isPrimary + +```ts +isPrimary: boolean; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Whether the window is the application's primary window. + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The window that needs content. diff --git a/content/api/interfaces/WindowLayoutDirectionChangedEventData.md b/content/api/interfaces/WindowLayoutDirectionChangedEventData.md new file mode 100644 index 00000000..d7508557 --- /dev/null +++ b/content/api/interfaces/WindowLayoutDirectionChangedEventData.md @@ -0,0 +1,74 @@ +--- +title: WindowLayoutDirectionChangedEventData +titleTemplate: :title - API / NativeScript +description: Event data for the `layoutDirectionChanged` event of a NativeWindow. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data for the `layoutDirectionChanged` event of a NativeWindow. + +## Extends + +- [`NativeWindowEventData`](NativeWindowEventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`eventName`](NativeWindowEventData.md#eventname) + +*** + +### newValue + +```ts +newValue: LayoutDirectionType; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The layout direction the window is now using. + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`object`](NativeWindowEventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that emitted the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`window`](NativeWindowEventData.md#window) diff --git a/content/api/interfaces/WindowOpenEventData.md b/content/api/interfaces/WindowOpenEventData.md new file mode 100644 index 00000000..0d61380c --- /dev/null +++ b/content/api/interfaces/WindowOpenEventData.md @@ -0,0 +1,58 @@ +--- +title: WindowOpenEventData +titleTemplate: :title - API / NativeScript +description: Event data fired on Application when a window opens. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data fired on Application when a window opens. + +## Extends + +- [`EventData`](EventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`EventData`](EventData.md).[`eventName`](EventData.md#eventname) + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`EventData`](EventData.md).[`object`](EventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that was opened. diff --git a/content/api/interfaces/WindowOpenOptions.md b/content/api/interfaces/WindowOpenOptions.md new file mode 100644 index 00000000..1d33ad0b --- /dev/null +++ b/content/api/interfaces/WindowOpenOptions.md @@ -0,0 +1,24 @@ +--- +title: WindowOpenOptions +titleTemplate: :title - API / NativeScript +description: Options for opening a new window. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Options for opening a new window. + +## Properties + +### data? + +```ts +optional data?: Record; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Data to pass to the new window. +On iOS: serialized into NSUserActivity.userInfo. +On Android: added as intent extras. diff --git a/content/api/interfaces/WindowOrientationChangedEventData.md b/content/api/interfaces/WindowOrientationChangedEventData.md new file mode 100644 index 00000000..1a2736d7 --- /dev/null +++ b/content/api/interfaces/WindowOrientationChangedEventData.md @@ -0,0 +1,74 @@ +--- +title: WindowOrientationChangedEventData +titleTemplate: :title - API / NativeScript +description: Event data for the `orientationChanged` event of a NativeWindow. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data for the `orientationChanged` event of a NativeWindow. + +## Extends + +- [`NativeWindowEventData`](NativeWindowEventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`eventName`](NativeWindowEventData.md#eventname) + +*** + +### newValue + +```ts +newValue: "portrait" | "landscape" | "unknown"; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The orientation the window is now in. + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`object`](NativeWindowEventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that emitted the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`window`](NativeWindowEventData.md#window) diff --git a/content/api/interfaces/WindowSystemAppearanceChangedEventData.md b/content/api/interfaces/WindowSystemAppearanceChangedEventData.md new file mode 100644 index 00000000..21aeee9e --- /dev/null +++ b/content/api/interfaces/WindowSystemAppearanceChangedEventData.md @@ -0,0 +1,74 @@ +--- +title: WindowSystemAppearanceChangedEventData +titleTemplate: :title - API / NativeScript +description: Event data for the `systemAppearanceChanged` event of a NativeWindow. +contributors: false +--- + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Event data for the `systemAppearanceChanged` event of a NativeWindow. + +## Extends + +- [`NativeWindowEventData`](NativeWindowEventData.md) + +## Properties + +### eventName + +```ts +eventName: string; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The name of the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`eventName`](NativeWindowEventData.md#eventname) + +*** + +### newValue + +```ts +newValue: "dark" | "light"; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The system appearance the window is now showing. + +*** + +### object + +```ts +object: Observable; +``` + +Defined in: [data/observable/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/data/observable/index.ts) + +The Observable instance that has raised the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`object`](NativeWindowEventData.md#object) + +*** + +### window + +```ts +window: NativeWindow; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +The NativeWindow that emitted the event. + +#### Inherited from + +[`NativeWindowEventData`](NativeWindowEventData.md).[`window`](NativeWindowEventData.md#window) diff --git a/content/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent.md b/content/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent.md index 5e8c5fef..96cb7df0 100644 --- a/content/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent.md +++ b/content/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent.md @@ -8,4 +8,4 @@ contributors: false const accessibilityBlurEvent: "accessibilityBlur"; ``` -Defined in: [index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/index.d.ts#L15) +Defined in: [index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/index.d.ts#L17) diff --git a/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent.md b/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent.md index 1af30f62..c20686ef 100644 --- a/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent.md +++ b/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent.md @@ -8,4 +8,4 @@ contributors: false const accessibilityFocusChangedEvent: "accessibilityFocusChanged"; ``` -Defined in: [index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/index.d.ts#L17) +Defined in: [index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/index.d.ts#L19) diff --git a/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent.md b/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent.md index 045b4f5e..e19b40d5 100644 --- a/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent.md +++ b/content/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent.md @@ -8,4 +8,4 @@ contributors: false const accessibilityFocusEvent: "accessibilityFocus"; ``` -Defined in: [index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/index.d.ts#L16) +Defined in: [index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/index.d.ts#L18) diff --git a/content/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent.md b/content/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent.md index a19e3fef..42e7e07c 100644 --- a/content/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent.md +++ b/content/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent.md @@ -8,4 +8,4 @@ contributors: false const accessibilityPerformEscapeEvent: "accessibilityPerformEscape"; ``` -Defined in: [index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/index.d.ts#L18) +Defined in: [index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/index.d.ts#L20) diff --git a/content/api/namespaces/AndroidHelper/functions/clearDrawableColor.md b/content/api/namespaces/AndroidHelper/functions/clearDrawableColor.md index d3fefbfe..e8fa8142 100644 --- a/content/api/namespaces/AndroidHelper/functions/clearDrawableColor.md +++ b/content/api/namespaces/AndroidHelper/functions/clearDrawableColor.md @@ -8,7 +8,7 @@ contributors: false function clearDrawableColor(drawable: any): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L42) +Defined in: [ui/core/view/view-helper/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L42) ## Parameters diff --git a/content/api/namespaces/AndroidHelper/functions/getCopyOrDrawable.md b/content/api/namespaces/AndroidHelper/functions/getCopyOrDrawable.md index 292893c3..54d4afa7 100644 --- a/content/api/namespaces/AndroidHelper/functions/getCopyOrDrawable.md +++ b/content/api/namespaces/AndroidHelper/functions/getCopyOrDrawable.md @@ -8,7 +8,7 @@ contributors: false function getCopyOrDrawable(drawable: any, resources?: any): any; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L43) +Defined in: [ui/core/view/view-helper/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L43) ## Parameters diff --git a/content/api/namespaces/AndroidHelper/functions/getDrawableColor.md b/content/api/namespaces/AndroidHelper/functions/getDrawableColor.md index cc28765f..6b947f44 100644 --- a/content/api/namespaces/AndroidHelper/functions/getDrawableColor.md +++ b/content/api/namespaces/AndroidHelper/functions/getDrawableColor.md @@ -8,7 +8,7 @@ contributors: false function getDrawableColor(drawable: any): Color; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L40) +Defined in: [ui/core/view/view-helper/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L40) ## Parameters diff --git a/content/api/namespaces/AndroidHelper/functions/setDrawableColor.md b/content/api/namespaces/AndroidHelper/functions/setDrawableColor.md index c81525d1..722c4534 100644 --- a/content/api/namespaces/AndroidHelper/functions/setDrawableColor.md +++ b/content/api/namespaces/AndroidHelper/functions/setDrawableColor.md @@ -11,7 +11,7 @@ function setDrawableColor( blendMode?: any): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L41) +Defined in: [ui/core/view/view-helper/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L41) ## Parameters diff --git a/content/api/namespaces/ApplicationSettings/functions/clear.md b/content/api/namespaces/ApplicationSettings/functions/clear.md index d652926f..0c6866a5 100644 --- a/content/api/namespaces/ApplicationSettings/functions/clear.md +++ b/content/api/namespaces/ApplicationSettings/functions/clear.md @@ -8,7 +8,7 @@ contributors: false function clear(): void; ``` -Defined in: [application-settings/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L58) +Defined in: [application-settings/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L58) Removes all values. diff --git a/content/api/namespaces/ApplicationSettings/functions/flush.md b/content/api/namespaces/ApplicationSettings/functions/flush.md index 61a52cb0..7a753ad2 100644 --- a/content/api/namespaces/ApplicationSettings/functions/flush.md +++ b/content/api/namespaces/ApplicationSettings/functions/flush.md @@ -8,7 +8,7 @@ contributors: false function flush(): boolean; ``` -Defined in: [application-settings/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L64) +Defined in: [application-settings/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L64) Flush all changes to disk synchronously. diff --git a/content/api/namespaces/ApplicationSettings/functions/getAllKeys.md b/content/api/namespaces/ApplicationSettings/functions/getAllKeys.md index 9445fe73..e6b1de21 100644 --- a/content/api/namespaces/ApplicationSettings/functions/getAllKeys.md +++ b/content/api/namespaces/ApplicationSettings/functions/getAllKeys.md @@ -8,7 +8,7 @@ contributors: false function getAllKeys(): string[]; ``` -Defined in: [application-settings/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L70) +Defined in: [application-settings/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L70) Get all stored keys diff --git a/content/api/namespaces/ApplicationSettings/functions/getBoolean.md b/content/api/namespaces/ApplicationSettings/functions/getBoolean.md index b659aad0..50a2e5cc 100644 --- a/content/api/namespaces/ApplicationSettings/functions/getBoolean.md +++ b/content/api/namespaces/ApplicationSettings/functions/getBoolean.md @@ -8,7 +8,7 @@ contributors: false function getBoolean(key: string, defaultValue?: boolean): boolean; ``` -Defined in: [application-settings/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L12) +Defined in: [application-settings/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L12) Gets a value (if existing) for a key as a Boolean Object. A default value can be provided in case there is no existing value. diff --git a/content/api/namespaces/ApplicationSettings/functions/getNumber.md b/content/api/namespaces/ApplicationSettings/functions/getNumber.md index 770548ed..df4eb50a 100644 --- a/content/api/namespaces/ApplicationSettings/functions/getNumber.md +++ b/content/api/namespaces/ApplicationSettings/functions/getNumber.md @@ -8,7 +8,7 @@ contributors: false function getNumber(key: string, defaultValue?: number): number; ``` -Defined in: [application-settings/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L26) +Defined in: [application-settings/index.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L26) Gets a value (if existing) for a key as a Number Object. A default value can be provided in case there is no existing value. diff --git a/content/api/namespaces/ApplicationSettings/functions/getString.md b/content/api/namespaces/ApplicationSettings/functions/getString.md index 7bb1263f..5586fae9 100644 --- a/content/api/namespaces/ApplicationSettings/functions/getString.md +++ b/content/api/namespaces/ApplicationSettings/functions/getString.md @@ -8,7 +8,7 @@ contributors: false function getString(key: string, defaultValue?: string): string; ``` -Defined in: [application-settings/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L19) +Defined in: [application-settings/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L19) Gets a value (if existing) for a key as a String Object. A default value can be provided in case there is no existing value. diff --git a/content/api/namespaces/ApplicationSettings/functions/hasKey.md b/content/api/namespaces/ApplicationSettings/functions/hasKey.md index 8244f2dc..f27dd5a6 100644 --- a/content/api/namespaces/ApplicationSettings/functions/hasKey.md +++ b/content/api/namespaces/ApplicationSettings/functions/hasKey.md @@ -8,7 +8,7 @@ contributors: false function hasKey(key: string): boolean; ``` -Defined in: [application-settings/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L5) +Defined in: [application-settings/index.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L5) Checks whether such a key exists. diff --git a/content/api/namespaces/ApplicationSettings/functions/remove.md b/content/api/namespaces/ApplicationSettings/functions/remove.md index 6e14bb44..075c86b8 100644 --- a/content/api/namespaces/ApplicationSettings/functions/remove.md +++ b/content/api/namespaces/ApplicationSettings/functions/remove.md @@ -8,7 +8,7 @@ contributors: false function remove(key: string): void; ``` -Defined in: [application-settings/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L53) +Defined in: [application-settings/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L53) Removes a value (if existing) for a key. diff --git a/content/api/namespaces/ApplicationSettings/functions/setBoolean.md b/content/api/namespaces/ApplicationSettings/functions/setBoolean.md index 9fca6ffc..f71866e7 100644 --- a/content/api/namespaces/ApplicationSettings/functions/setBoolean.md +++ b/content/api/namespaces/ApplicationSettings/functions/setBoolean.md @@ -8,7 +8,7 @@ contributors: false function setBoolean(key: string, value: boolean): void; ``` -Defined in: [application-settings/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L33) +Defined in: [application-settings/index.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L33) Sets a Boolean Object for a key. diff --git a/content/api/namespaces/ApplicationSettings/functions/setNumber.md b/content/api/namespaces/ApplicationSettings/functions/setNumber.md index d8cd333e..73a91d7f 100644 --- a/content/api/namespaces/ApplicationSettings/functions/setNumber.md +++ b/content/api/namespaces/ApplicationSettings/functions/setNumber.md @@ -8,7 +8,7 @@ contributors: false function setNumber(key: string, value: number): void; ``` -Defined in: [application-settings/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L47) +Defined in: [application-settings/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L47) Sets a Number Object for a key. diff --git a/content/api/namespaces/ApplicationSettings/functions/setString.md b/content/api/namespaces/ApplicationSettings/functions/setString.md index dab341f4..362b3723 100644 --- a/content/api/namespaces/ApplicationSettings/functions/setString.md +++ b/content/api/namespaces/ApplicationSettings/functions/setString.md @@ -8,7 +8,7 @@ contributors: false function setString(key: string, value: string): void; ``` -Defined in: [application-settings/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application-settings/index.d.ts#L40) +Defined in: [application-settings/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application-settings/index.d.ts#L40) Sets a String Object for a key. diff --git a/content/api/namespaces/CSSUtils/functions/getModalRootViewCssClass.md b/content/api/namespaces/CSSUtils/functions/getModalRootViewCssClass.md index 23a9c288..73e27394 100644 --- a/content/api/namespaces/CSSUtils/functions/getModalRootViewCssClass.md +++ b/content/api/namespaces/CSSUtils/functions/getModalRootViewCssClass.md @@ -8,7 +8,7 @@ contributors: false function getModalRootViewCssClass(): string; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Returns diff --git a/content/api/namespaces/CSSUtils/functions/getRootViewCssClasses.md b/content/api/namespaces/CSSUtils/functions/getRootViewCssClasses.md index 4cdb79a2..ab2d8589 100644 --- a/content/api/namespaces/CSSUtils/functions/getRootViewCssClasses.md +++ b/content/api/namespaces/CSSUtils/functions/getRootViewCssClasses.md @@ -8,7 +8,7 @@ contributors: false function getRootViewCssClasses(): string[]; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Returns diff --git a/content/api/namespaces/CSSUtils/functions/getSystemCssClasses.md b/content/api/namespaces/CSSUtils/functions/getSystemCssClasses.md index ae7f2e56..15e9de8e 100644 --- a/content/api/namespaces/CSSUtils/functions/getSystemCssClasses.md +++ b/content/api/namespaces/CSSUtils/functions/getSystemCssClasses.md @@ -8,7 +8,7 @@ contributors: false function getSystemCssClasses(): string[]; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Returns diff --git a/content/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses.md b/content/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses.md index c877bec7..3bb166e0 100644 --- a/content/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses.md +++ b/content/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses.md @@ -8,7 +8,7 @@ contributors: false function pushToRootViewCssClasses(value: string): number; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Parameters diff --git a/content/api/namespaces/CSSUtils/functions/pushToSystemCssClasses.md b/content/api/namespaces/CSSUtils/functions/pushToSystemCssClasses.md index 249ffa69..b31d69e9 100644 --- a/content/api/namespaces/CSSUtils/functions/pushToSystemCssClasses.md +++ b/content/api/namespaces/CSSUtils/functions/pushToSystemCssClasses.md @@ -8,7 +8,7 @@ contributors: false function pushToSystemCssClasses(value: string): number; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Parameters diff --git a/content/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses.md b/content/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses.md index f603ae66..8bef61ef 100644 --- a/content/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses.md +++ b/content/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses.md @@ -8,7 +8,7 @@ contributors: false function removeFromRootViewCssClasses(value: string): string; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Parameters diff --git a/content/api/namespaces/CSSUtils/functions/removeSystemCssClass.md b/content/api/namespaces/CSSUtils/functions/removeSystemCssClass.md index 94d2b096..a97f85c4 100644 --- a/content/api/namespaces/CSSUtils/functions/removeSystemCssClass.md +++ b/content/api/namespaces/CSSUtils/functions/removeSystemCssClass.md @@ -8,7 +8,7 @@ contributors: false function removeSystemCssClass(value: string): string; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) ## Parameters diff --git a/content/api/namespaces/CSSUtils/index.md b/content/api/namespaces/CSSUtils/index.md index 6f9d25c9..59e0201f 100644 --- a/content/api/namespaces/CSSUtils/index.md +++ b/content/api/namespaces/CSSUtils/index.md @@ -9,8 +9,12 @@ contributors: false | Variable | Description | | ------ | ------ | | [CLASS\_PREFIX](variables/CLASS_PREFIX.md) | - | +| [LAYOUT\_DIRECTION\_CSS\_CLASSES](variables/LAYOUT_DIRECTION_CSS_CLASSES.md) | - | | [MODAL\_ROOT\_VIEW\_CSS\_CLASS](variables/MODAL_ROOT_VIEW_CSS_CLASS.md) | - | +| [ORIENTATION\_CSS\_CLASSES](variables/ORIENTATION_CSS_CLASSES.md) | - | | [ROOT\_VIEW\_CSS\_CLASS](variables/ROOT_VIEW_CSS_CLASS.md) | - | +| [SYSTEM\_APPEARANCE\_CSS\_CLASSES](variables/SYSTEM_APPEARANCE_CSS_CLASSES.md) | - | +| [WINDOW\_SCOPED\_CSS\_CLASSES](variables/WINDOW_SCOPED_CSS_CLASSES.md) | Classes describing the state of a single window. Two windows can legitimately disagree on all of them, so they live on each window's root view (and the modals presented over it) rather than in the process-wide system class list. | ## Functions diff --git a/content/api/namespaces/CSSUtils/variables/CLASS_PREFIX.md b/content/api/namespaces/CSSUtils/variables/CLASS_PREFIX.md index 162583ff..ddb57401 100644 --- a/content/api/namespaces/CSSUtils/variables/CLASS_PREFIX.md +++ b/content/api/namespaces/CSSUtils/variables/CLASS_PREFIX.md @@ -8,4 +8,4 @@ contributors: false const CLASS_PREFIX: "ns-" = "ns-"; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/LAYOUT_DIRECTION_CSS_CLASSES.md b/content/api/namespaces/CSSUtils/variables/LAYOUT_DIRECTION_CSS_CLASSES.md new file mode 100644 index 00000000..e2e04d8b --- /dev/null +++ b/content/api/namespaces/CSSUtils/variables/LAYOUT_DIRECTION_CSS_CLASSES.md @@ -0,0 +1,11 @@ +--- +title: LAYOUT_DIRECTION_CSS_CLASSES +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const LAYOUT_DIRECTION_CSS_CLASSES: string[]; +``` + +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS.md b/content/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS.md index c3e6220b..6eed5238 100644 --- a/content/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS.md +++ b/content/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS.md @@ -8,4 +8,4 @@ contributors: false const MODAL_ROOT_VIEW_CSS_CLASS: "ns-modal" = "ns-modal"; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/ORIENTATION_CSS_CLASSES.md b/content/api/namespaces/CSSUtils/variables/ORIENTATION_CSS_CLASSES.md new file mode 100644 index 00000000..cb2f1f6a --- /dev/null +++ b/content/api/namespaces/CSSUtils/variables/ORIENTATION_CSS_CLASSES.md @@ -0,0 +1,11 @@ +--- +title: ORIENTATION_CSS_CLASSES +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const ORIENTATION_CSS_CLASSES: string[]; +``` + +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS.md b/content/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS.md index f5de2230..bd4ca544 100644 --- a/content/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS.md +++ b/content/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS.md @@ -8,4 +8,4 @@ contributors: false const ROOT_VIEW_CSS_CLASS: "ns-root" = "ns-root"; ``` -Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/css/system-classes.ts) +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/SYSTEM_APPEARANCE_CSS_CLASSES.md b/content/api/namespaces/CSSUtils/variables/SYSTEM_APPEARANCE_CSS_CLASSES.md new file mode 100644 index 00000000..8e1cb88a --- /dev/null +++ b/content/api/namespaces/CSSUtils/variables/SYSTEM_APPEARANCE_CSS_CLASSES.md @@ -0,0 +1,11 @@ +--- +title: SYSTEM_APPEARANCE_CSS_CLASSES +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const SYSTEM_APPEARANCE_CSS_CLASSES: string[]; +``` + +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) diff --git a/content/api/namespaces/CSSUtils/variables/WINDOW_SCOPED_CSS_CLASSES.md b/content/api/namespaces/CSSUtils/variables/WINDOW_SCOPED_CSS_CLASSES.md new file mode 100644 index 00000000..d3a57ec8 --- /dev/null +++ b/content/api/namespaces/CSSUtils/variables/WINDOW_SCOPED_CSS_CLASSES.md @@ -0,0 +1,16 @@ +--- +title: WINDOW_SCOPED_CSS_CLASSES +titleTemplate: :title - API / NativeScript +description: Classes describing the state of a single window. Two windows can legitimately disagree on all of them, so they live on each window's root view (and the modal... +contributors: false +--- + +```ts +const WINDOW_SCOPED_CSS_CLASSES: string[]; +``` + +Defined in: [css/system-classes.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/css/system-classes.ts) + +Classes describing the state of a single window. Two windows can legitimately +disagree on all of them, so they live on each window's root view (and the modals +presented over it) rather than in the process-wide system class list. diff --git a/content/api/namespaces/Connectivity/enumerations/connectionType.md b/content/api/namespaces/Connectivity/enumerations/connectionType.md index 3a67802f..55d003c1 100644 --- a/content/api/namespaces/Connectivity/enumerations/connectionType.md +++ b/content/api/namespaces/Connectivity/enumerations/connectionType.md @@ -5,7 +5,7 @@ description: Defines the different connection types. contributors: false --- -Defined in: [connectivity/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L11) +Defined in: [connectivity/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L11) Defines the different connection types. @@ -13,9 +13,9 @@ Defines the different connection types. | Enumeration Member | Value | Description | Defined in | | ------ | ------ | ------ | ------ | -| `bluetooth` | `4` | Denotes a bluetooth connection | [connectivity/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L35) | -| `ethernet` | `3` | Denotes an ethernet connection | [connectivity/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L30) | -| `mobile` | `2` | Denotes a mobile connection, i.e. cellular network or WAN. | [connectivity/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L25) | -| `none` | `0` | Denotes no connection. | [connectivity/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L15) | -| `vpn` | `5` | Denotes a vpn connection | [connectivity/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L40) | -| `wifi` | `1` | Denotes a WiFi connection. | [connectivity/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L20) | +| `bluetooth` | `4` | Denotes a bluetooth connection | [connectivity/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L35) | +| `ethernet` | `3` | Denotes an ethernet connection | [connectivity/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L30) | +| `mobile` | `2` | Denotes a mobile connection, i.e. cellular network or WAN. | [connectivity/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L25) | +| `none` | `0` | Denotes no connection. | [connectivity/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L15) | +| `vpn` | `5` | Denotes a vpn connection | [connectivity/index.d.ts:40](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L40) | +| `wifi` | `1` | Denotes a WiFi connection. | [connectivity/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L20) | diff --git a/content/api/namespaces/Connectivity/functions/getConnectionType.md b/content/api/namespaces/Connectivity/functions/getConnectionType.md index 4d3b5aab..e0ec94c9 100644 --- a/content/api/namespaces/Connectivity/functions/getConnectionType.md +++ b/content/api/namespaces/Connectivity/functions/getConnectionType.md @@ -8,7 +8,7 @@ contributors: false function getConnectionType(): number; ``` -Defined in: [connectivity/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L6) +Defined in: [connectivity/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L6) Gets the type of connection. Returns a value from the connectivity.connectionType enumeration. diff --git a/content/api/namespaces/Connectivity/functions/startMonitoring.md b/content/api/namespaces/Connectivity/functions/startMonitoring.md index a08cdd77..e0a0db60 100644 --- a/content/api/namespaces/Connectivity/functions/startMonitoring.md +++ b/content/api/namespaces/Connectivity/functions/startMonitoring.md @@ -8,7 +8,7 @@ contributors: false function startMonitoring(connectionTypeChangedCallback: (newConnectionType: number) => void): void; ``` -Defined in: [connectivity/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L47) +Defined in: [connectivity/index.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L47) Starts monitoring the connection type. diff --git a/content/api/namespaces/Connectivity/functions/stopMonitoring.md b/content/api/namespaces/Connectivity/functions/stopMonitoring.md index 0d341d1f..d175522e 100644 --- a/content/api/namespaces/Connectivity/functions/stopMonitoring.md +++ b/content/api/namespaces/Connectivity/functions/stopMonitoring.md @@ -8,7 +8,7 @@ contributors: false function stopMonitoring(): void; ``` -Defined in: [connectivity/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/connectivity/index.d.ts#L52) +Defined in: [connectivity/index.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/connectivity/index.d.ts#L52) Stops monitoring the connection type. diff --git a/content/api/namespaces/CoreTypes/index.md b/content/api/namespaces/CoreTypes/index.md index 59548583..67a52584 100644 --- a/content/api/namespaces/CoreTypes/index.md +++ b/content/api/namespaces/CoreTypes/index.md @@ -15,6 +15,7 @@ contributors: false | [AutocapitalizationType](namespaces/AutocapitalizationType/index.md) | - | | [AutofillType](namespaces/AutofillType/index.md) | - | | [BackgroundRepeat](namespaces/BackgroundRepeat/index.md) | - | +| [CornerShape](namespaces/CornerShape/index.md) | - | | [DeviceOrientation](namespaces/DeviceOrientation/index.md) | - | | [DeviceType](namespaces/DeviceType/index.md) | - | | [Dock](namespaces/Dock/index.md) | - | @@ -50,6 +51,7 @@ contributors: false | [AutocapitalizationInputType](type-aliases/AutocapitalizationInputType.md) | - | | [AutofillType](type-aliases/AutofillType.md) | - | | [BackgroundRepeatType](type-aliases/BackgroundRepeatType.md) | - | +| [CornerShapeType](type-aliases/CornerShapeType.md) | - | | [CSSWideKeywords](type-aliases/CSSWideKeywords.md) | - | | [DeviceOrientationType](type-aliases/DeviceOrientationType.md) | - | | [dip](type-aliases/dip.md) | Denotes a length number that is in device independent pixel units. | diff --git a/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any.md b/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any.md index afc8b354..5d87c900 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any.md +++ b/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any.md @@ -8,4 +8,4 @@ contributors: false const any: number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high.md b/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high.md index c5637c0b..e039b7a3 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high.md +++ b/content/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high.md @@ -8,4 +8,4 @@ contributors: false const high: number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always.md index 5232cc23..e773e809 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always.md @@ -8,4 +8,4 @@ contributors: false const always: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto.md index 2b515bdb..a6fee1c7 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto.md @@ -8,4 +8,4 @@ contributors: false const auto: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never.md index f0e8903c..bc15fb21 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never.md @@ -8,4 +8,4 @@ contributors: false const never: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar.md index 8f58d777..11136bed 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar.md @@ -8,4 +8,4 @@ contributors: false const actionBar: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom.md index 604c9e21..0df52d23 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom.md @@ -8,4 +8,4 @@ contributors: false const actionBarIfRoom: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup.md b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup.md index 705fae63..cffa316c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup.md +++ b/content/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup.md @@ -8,4 +8,4 @@ contributors: false const popup: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier.md index a5bf86b2..a0896240 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier.md @@ -12,7 +12,7 @@ function cubicBezier( y2: number): CubicBezierAnimationCurve; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease.md index fcfa1772..7a4931c6 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease.md @@ -8,4 +8,4 @@ contributors: false const ease: "ease" = "ease"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn.md index d917d90e..867020ad 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn.md @@ -8,4 +8,4 @@ contributors: false const easeIn: "easeIn" = "easeIn"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut.md index 541c9415..f4cc2e71 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut.md @@ -8,4 +8,4 @@ contributors: false const easeInOut: "easeInOut" = "easeInOut"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut.md index 7aa26fab..a54a7e25 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut.md @@ -8,4 +8,4 @@ contributors: false const easeOut: "easeOut" = "easeOut"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear.md index a1f3a37b..a909b124 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear.md @@ -8,4 +8,4 @@ contributors: false const linear: "linear" = "linear"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring.md b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring.md index 6cedfe53..e5667749 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring.md +++ b/content/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring.md @@ -8,4 +8,4 @@ contributors: false const spring: "spring" = "spring"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters.md b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters.md index 84699432..6e6f16b5 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters.md @@ -8,4 +8,4 @@ contributors: false const allCharacters: AutocapitalizationInputType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none.md b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none.md index 73bbda70..a0e1fa9b 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none.md @@ -8,4 +8,4 @@ contributors: false const none: AutocapitalizationInputType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences.md b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences.md index 09751ca9..c0385d02 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences.md @@ -8,4 +8,4 @@ contributors: false const sentences: AutocapitalizationInputType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words.md b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words.md index 1936c20b..c9c2b6eb 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words.md @@ -8,4 +8,4 @@ contributors: false const words: AutocapitalizationInputType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword.md index 0bf6d934..088321ae 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword.md @@ -8,4 +8,4 @@ contributors: false const newPassword: "newPassword" = "newPassword"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername.md index 10ad9575..35154333 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername.md @@ -8,4 +8,4 @@ contributors: false const newUsername: "newUsername" = "newUsername"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none.md index f2f4d01a..c63e656a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none.md @@ -8,4 +8,4 @@ contributors: false const none: "none" = "none"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode.md index 382b7451..a4d69ac3 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode.md @@ -8,4 +8,4 @@ contributors: false const oneTimeCode: "oneTimeCode" = "oneTimeCode"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password.md index 17cb56a7..8ea3dbdf 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password.md @@ -8,4 +8,4 @@ contributors: false const password: "password" = "password"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username.md b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username.md index fea891e0..411af9ab 100644 --- a/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username.md +++ b/content/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username.md @@ -8,4 +8,4 @@ contributors: false const username: "username" = "username"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid.md index 3d2b9040..525e7c9e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid.md @@ -8,7 +8,7 @@ contributors: false const isValid: (value: any) => value is BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat.md index e29f2aa7..a93a55d4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat.md @@ -8,4 +8,4 @@ contributors: false const noRepeat: BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse.md index 525d9a82..8c44266f 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse.md @@ -8,7 +8,7 @@ contributors: false const parse: (value: any) => BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat.md index 6e089fc5..bb7144e4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat.md @@ -8,4 +8,4 @@ contributors: false const repeat: BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX.md index 919191d6..7532b1a2 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX.md @@ -8,4 +8,4 @@ contributors: false const repeatX: BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY.md b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY.md index 623903b4..e5e2c413 100644 --- a/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY.md +++ b/content/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY.md @@ -8,4 +8,4 @@ contributors: false const repeatY: BackgroundRepeatType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/CornerShape/index.md b/content/api/namespaces/CoreTypes/namespaces/CornerShape/index.md new file mode 100644 index 00000000..b921c66b --- /dev/null +++ b/content/api/namespaces/CoreTypes/namespaces/CornerShape/index.md @@ -0,0 +1,14 @@ +--- +title: CornerShape +titleTemplate: :title - API / NativeScript +contributors: false +--- + +## Variables + +| Variable | Description | +| ------ | ------ | +| [isValid](variables/isValid.md) | - | +| [parse](variables/parse.md) | - | +| [round](variables/round.md) | - | +| [squircle](variables/squircle.md) | - | diff --git a/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/isValid.md b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/isValid.md new file mode 100644 index 00000000..35b0413d --- /dev/null +++ b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/isValid.md @@ -0,0 +1,21 @@ +--- +title: isValid +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const isValid: (value: any) => value is CornerShapeType; +``` + +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) + +## Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `any` | + +## Returns + +`value is CornerShapeType` diff --git a/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/parse.md b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/parse.md new file mode 100644 index 00000000..c83ccfb4 --- /dev/null +++ b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/parse.md @@ -0,0 +1,21 @@ +--- +title: parse +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const parse: (value: any) => CornerShapeType; +``` + +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) + +## Parameters + +| Parameter | Type | +| ------ | ------ | +| `value` | `any` | + +## Returns + +[`CornerShapeType`](../../../type-aliases/CornerShapeType.md) diff --git a/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/round.md b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/round.md new file mode 100644 index 00000000..2ce6fd2c --- /dev/null +++ b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/round.md @@ -0,0 +1,11 @@ +--- +title: round +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const round: CornerShapeType; +``` + +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/squircle.md b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/squircle.md new file mode 100644 index 00000000..4218cb33 --- /dev/null +++ b/content/api/namespaces/CoreTypes/namespaces/CornerShape/variables/squircle.md @@ -0,0 +1,11 @@ +--- +title: squircle +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const squircle: CornerShapeType; +``` + +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape.md b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape.md index 1868f43e..d8107b01 100644 --- a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape.md +++ b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape.md @@ -8,4 +8,4 @@ contributors: false const landscape: "landscape" = "landscape"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait.md b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait.md index b00a9641..d9a661f9 100644 --- a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait.md +++ b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait.md @@ -8,4 +8,4 @@ contributors: false const portrait: "portrait" = "portrait"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown.md b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown.md index b19b151a..3d432eb1 100644 --- a/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown.md +++ b/content/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown.md @@ -8,4 +8,4 @@ contributors: false const unknown: "unknown" = "unknown"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone.md b/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone.md index aae356db..787d3666 100644 --- a/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone.md +++ b/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone.md @@ -8,4 +8,4 @@ contributors: false const Phone: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet.md b/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet.md index fcdc066f..8c92960c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet.md +++ b/content/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet.md @@ -8,4 +8,4 @@ contributors: false const Tablet: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom.md b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom.md index dd9df961..6be7e229 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom.md +++ b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom.md @@ -8,4 +8,4 @@ contributors: false const bottom: DockType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/left.md b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/left.md index d2ae91b4..959c5512 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/left.md +++ b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/left.md @@ -8,4 +8,4 @@ contributors: false const left: DockType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/right.md b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/right.md index 5d1943c3..ecbe95b2 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/right.md +++ b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/right.md @@ -8,4 +8,4 @@ contributors: false const right: DockType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/top.md b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/top.md index 2b0dab77..0acdb831 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Dock/variables/top.md +++ b/content/api/namespaces/CoreTypes/namespaces/Dock/variables/top.md @@ -8,4 +8,4 @@ contributors: false const top: DockType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold.md b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold.md index d9d13b15..b6dc647e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold.md @@ -8,4 +8,4 @@ contributors: false const Bold: 1 = 1; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic.md b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic.md index 6f727e14..24cd01a9 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic.md @@ -8,4 +8,4 @@ contributors: false const Italic: number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal.md b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal.md index 490dc264..e00bda7e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal.md @@ -8,4 +8,4 @@ contributors: false const Normal: 0 = 0; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic.md b/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic.md index d2364c68..fb16f6c4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic.md @@ -8,4 +8,4 @@ contributors: false const italic: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal.md b/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal.md index 1a904a87..84662b1b 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal.md @@ -8,4 +8,4 @@ contributors: false const normal: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black.md index 9d0b0ca9..aca8da1a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black.md @@ -8,4 +8,4 @@ contributors: false const black: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold.md index ba743dfb..bdf17a4b 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold.md @@ -8,4 +8,4 @@ contributors: false const bold: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold.md index 6e2ce55a..8ba2d6b9 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold.md @@ -8,4 +8,4 @@ contributors: false const extraBold: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight.md index fa937ea4..20f2c282 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight.md @@ -8,4 +8,4 @@ contributors: false const extraLight: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light.md index 40909ace..33dcda81 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light.md @@ -8,4 +8,4 @@ contributors: false const light: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium.md index a7d9d127..053219f6 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium.md @@ -8,4 +8,4 @@ contributors: false const medium: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal.md index 1a904a87..84662b1b 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal.md @@ -8,4 +8,4 @@ contributors: false const normal: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold.md index 1b17f1b3..a5668b80 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold.md @@ -8,4 +8,4 @@ contributors: false const semiBold: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin.md b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin.md index d284e25c..5e63eb05 100644 --- a/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin.md +++ b/content/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin.md @@ -8,4 +8,4 @@ contributors: false const thin: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center.md index 53586af2..27b2875e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center.md @@ -8,4 +8,4 @@ contributors: false const center: "center" = "center"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end.md index 372acd9c..7ba90573 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end.md @@ -8,4 +8,4 @@ contributors: false const end: "end" = "end"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid.md index dc8a6565..44e218fa 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid.md @@ -8,7 +8,7 @@ contributors: false const isValid: (value: any) => value is HorizontalAlignmentType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left.md index 4fbc5622..697d3b96 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left.md @@ -8,4 +8,4 @@ contributors: false const left: "left" = "left"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse.md index 79f142ab..c2e961df 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse.md @@ -8,7 +8,7 @@ contributors: false const parse: (value: any) => HorizontalAlignmentType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right.md index 5934ddfa..48ddf8c5 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right.md @@ -8,4 +8,4 @@ contributors: false const right: "right" = "right"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start.md index 02dc7f3f..3e55f813 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start.md @@ -8,4 +8,4 @@ contributors: false const start: "start" = "start"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch.md b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch.md index eef23ac9..b70a2cc3 100644 --- a/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch.md +++ b/content/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch.md @@ -8,4 +8,4 @@ contributors: false const stretch: "stretch" = "stretch"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left.md b/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left.md index 72222d6f..883c701f 100644 --- a/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left.md +++ b/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left.md @@ -8,4 +8,4 @@ contributors: false const left: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right.md b/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right.md index 37e03130..809953b8 100644 --- a/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right.md +++ b/content/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right.md @@ -8,4 +8,4 @@ contributors: false const right: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg.md b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg.md index 095b3434..6e11c461 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg.md @@ -8,4 +8,4 @@ contributors: false const jpeg: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg.md b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg.md index 382a8025..151aa7fc 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg.md @@ -8,4 +8,4 @@ contributors: false const jpg: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png.md b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png.md index fac73cac..22cccd32 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png.md @@ -8,4 +8,4 @@ contributors: false const png: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill.md b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill.md index cb4ef72a..b3cc9116 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill.md @@ -8,4 +8,4 @@ contributors: false const aspectFill: ImageStretchType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit.md b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit.md index 74008784..a383a2b1 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit.md @@ -8,4 +8,4 @@ contributors: false const aspectFit: ImageStretchType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill.md b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill.md index 19ebac96..cd6d33ab 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill.md @@ -8,4 +8,4 @@ contributors: false const fill: ImageStretchType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none.md b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none.md index 1009613e..8699f2e4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none.md +++ b/content/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none.md @@ -8,4 +8,4 @@ contributors: false const none: ImageStretchType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime.md index dcc84a38..d4fe7aed 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime.md @@ -8,4 +8,4 @@ contributors: false const datetime: "datetime" = "datetime"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal.md index dc19eafa..c89c33bf 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal.md @@ -8,4 +8,4 @@ contributors: false const decimal: "decimal" = "decimal"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email.md index cef5c991..11041292 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email.md @@ -8,4 +8,4 @@ contributors: false const email: "email" = "email"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer.md index b94f84a7..3ed43a5a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer.md @@ -8,4 +8,4 @@ contributors: false const integer: "integer" = "integer"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number.md index 6d7fab81..b1631f50 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number.md @@ -8,4 +8,4 @@ contributors: false const number: "number" = "number"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone.md index 0f3da30c..ef19ed75 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone.md @@ -8,4 +8,4 @@ contributors: false const phone: "phone" = "phone"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url.md b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url.md index 730617cd..b6dfb0b9 100644 --- a/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url.md +++ b/content/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url.md @@ -8,4 +8,4 @@ contributors: false const url: "url" = "url"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr.md b/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr.md index 42dd9b12..0d1bdb77 100644 --- a/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr.md +++ b/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr.md @@ -8,4 +8,4 @@ contributors: false const ltr: "ltr" = "ltr"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl.md b/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl.md index 485c6e80..bd8d119c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl.md +++ b/content/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl.md @@ -8,4 +8,4 @@ contributors: false const rtl: "rtl" = "rtl"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always.md b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always.md index 5232cc23..e773e809 100644 --- a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always.md +++ b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always.md @@ -8,4 +8,4 @@ contributors: false const always: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto.md b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto.md index 2b515bdb..a6fee1c7 100644 --- a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto.md +++ b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto.md @@ -8,4 +8,4 @@ contributors: false const auto: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never.md b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never.md index f0e8903c..bc15fb21 100644 --- a/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never.md +++ b/content/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never.md @@ -8,4 +8,4 @@ contributors: false const never: string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal.md b/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal.md index ec7a5dd5..849ce88c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal.md +++ b/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal.md @@ -8,4 +8,4 @@ contributors: false const horizontal: "horizontal" = "horizontal"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical.md b/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical.md index 8532ec6b..5002fe41 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical.md +++ b/content/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical.md @@ -8,4 +8,4 @@ contributors: false const vertical: "vertical" = "vertical"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done.md b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done.md index 1097e1c2..53d9f38d 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done.md +++ b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done.md @@ -8,4 +8,4 @@ contributors: false const done: "done" = "done"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go.md b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go.md index 8d812a9b..5a4da310 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go.md +++ b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go.md @@ -8,4 +8,4 @@ contributors: false const go: "go" = "go"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next.md b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next.md index b9cfc8c5..32e39726 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next.md +++ b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next.md @@ -8,4 +8,4 @@ contributors: false const next: "next" = "next"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search.md b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search.md index fd247704..2cce452f 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search.md +++ b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search.md @@ -8,4 +8,4 @@ contributors: false const search: "search" = "search"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send.md b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send.md index 561c9af8..a076413b 100644 --- a/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send.md +++ b/content/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send.md @@ -8,4 +8,4 @@ contributors: false const send: "send" = "send"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark.md b/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark.md index 01afd5dd..7148ebe0 100644 --- a/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark.md +++ b/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark.md @@ -8,4 +8,4 @@ contributors: false const dark: "dark" = "dark"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light.md b/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light.md index ef84aa21..c76c98d1 100644 --- a/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light.md +++ b/content/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light.md @@ -8,4 +8,4 @@ contributors: false const light: "light" = "light"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark.md b/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark.md index 01afd5dd..7148ebe0 100644 --- a/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark.md +++ b/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark.md @@ -8,4 +8,4 @@ contributors: false const dark: "dark" = "dark"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light.md b/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light.md index ef84aa21..c76c98d1 100644 --- a/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light.md +++ b/content/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light.md @@ -8,4 +8,4 @@ contributors: false const light: "light" = "light"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center.md b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center.md index 53586af2..27b2875e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center.md @@ -8,4 +8,4 @@ contributors: false const center: "center" = "center"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify.md b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify.md index 33ff8973..9db87509 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify.md @@ -8,4 +8,4 @@ contributors: false const justify: "justify" = "justify"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left.md b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left.md index 4fbc5622..697d3b96 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left.md @@ -8,4 +8,4 @@ contributors: false const left: "left" = "left"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right.md b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right.md index 5934ddfa..48ddf8c5 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right.md @@ -8,4 +8,4 @@ contributors: false const right: "right" = "right"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough.md b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough.md index 76c92154..3da0b79c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough.md @@ -8,4 +8,4 @@ contributors: false const lineThrough: "line-through" = "line-through"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none.md b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none.md index f2f4d01a..c63e656a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none.md @@ -8,4 +8,4 @@ contributors: false const none: "none" = "none"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline.md b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline.md index 858df537..1d43f8d5 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline.md @@ -8,4 +8,4 @@ contributors: false const underline: "underline" = "underline"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip.md b/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip.md index 3cd2dead..07f288c8 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip.md @@ -8,4 +8,4 @@ contributors: false const clip: "clip" = "clip"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis.md b/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis.md index b8f0ef2a..535cba2c 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis.md @@ -8,4 +8,4 @@ contributors: false const ellipsis: "ellipsis" = "ellipsis"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize.md b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize.md index 108586de..024ba3f8 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize.md @@ -8,4 +8,4 @@ contributors: false const capitalize: "capitalize" = "capitalize"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase.md b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase.md index c17441d2..ef33f43e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase.md @@ -8,4 +8,4 @@ contributors: false const lowercase: "lowercase" = "lowercase"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none.md b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none.md index f2f4d01a..c63e656a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none.md @@ -8,4 +8,4 @@ contributors: false const none: "none" = "none"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase.md b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase.md index c8ad9afd..832112c4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase.md +++ b/content/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase.md @@ -8,4 +8,4 @@ contributors: false const uppercase: "uppercase" = "uppercase"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost.md b/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost.md index 14d14c03..17c3a01a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost.md +++ b/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost.md @@ -8,4 +8,4 @@ contributors: false const focusLost: UpdateTextTriggerType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged.md b/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged.md index 4803ba83..c31c2707 100644 --- a/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged.md +++ b/content/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged.md @@ -8,4 +8,4 @@ contributors: false const textChanged: UpdateTextTriggerType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom.md index 3663a467..ae8855e6 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom.md @@ -8,4 +8,4 @@ contributors: false const bottom: "bottom" = "bottom"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle.md index 0261b716..98fcb22a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle.md @@ -8,4 +8,4 @@ contributors: false const middle: "middle" = "middle"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch.md index eef23ac9..b70a2cc3 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch.md @@ -8,4 +8,4 @@ contributors: false const stretch: "stretch" = "stretch"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top.md index 7f687948..106e5ed7 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top.md @@ -8,4 +8,4 @@ contributors: false const top: "top" = "top"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline.md index c0316822..a1bbb5ff 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline.md @@ -8,4 +8,4 @@ contributors: false const baseline: "baseline" = "baseline"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom.md index 3663a467..ae8855e6 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom.md @@ -8,4 +8,4 @@ contributors: false const bottom: "bottom" = "bottom"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid.md index cdbdc0ee..ae3158f1 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid.md @@ -8,7 +8,7 @@ contributors: false const isValid: (value: any) => value is VerticalAlignmentTextType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle.md index 0261b716..98fcb22a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle.md @@ -8,4 +8,4 @@ contributors: false const middle: "middle" = "middle"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse.md index 204bc11e..84704c9f 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse.md @@ -8,7 +8,7 @@ contributors: false const parse: (value: string) => VerticalAlignmentTextType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch.md index eef23ac9..b70a2cc3 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch.md @@ -8,4 +8,4 @@ contributors: false const stretch: "stretch" = "stretch"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub.md index 08e87161..59f3e85a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub.md @@ -8,4 +8,4 @@ contributors: false const sub: "sub" = "sub"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup.md index 97807a87..d48ce850 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup.md @@ -8,4 +8,4 @@ contributors: false const sup: "sup" = "sup"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom.md index 3cf870bb..eedb45d4 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom.md @@ -8,4 +8,4 @@ contributors: false const textbottom: "text-bottom" = "text-bottom"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop.md index 51ac8e29..d1b71fd2 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop.md @@ -8,4 +8,4 @@ contributors: false const texttop: "text-top" = "text-top"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top.md b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top.md index 7f687948..106e5ed7 100644 --- a/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top.md +++ b/content/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top.md @@ -8,4 +8,4 @@ contributors: false const top: "top" = "top"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse.md index 70169cc6..f2b6f4e2 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse.md @@ -8,4 +8,4 @@ contributors: false const collapse: VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed.md index 766d17c7..d4b5a02e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed.md @@ -8,4 +8,4 @@ contributors: false const collapsed: VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden.md index c83b6a8a..d105f604 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden.md @@ -8,4 +8,4 @@ contributors: false const hidden: VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid.md index 33f36f95..4cdf4690 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid.md @@ -8,7 +8,7 @@ contributors: false const isValid: (value: any) => value is VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse.md index cd26a11e..74c18a7a 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse.md @@ -8,7 +8,7 @@ contributors: false const parse: (value: string) => VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Parameters diff --git a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible.md b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible.md index 1ead3234..36c4d8f7 100644 --- a/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible.md +++ b/content/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible.md @@ -8,4 +8,4 @@ contributors: false const visible: VisibilityType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal.md b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal.md index ea31728d..a49d0caa 100644 --- a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal.md +++ b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal.md @@ -8,4 +8,4 @@ contributors: false const normal: "normal" = "normal"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap.md b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap.md index 64560b7d..d140855e 100644 --- a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap.md +++ b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap.md @@ -8,4 +8,4 @@ contributors: false const nowrap: "nowrap" = "nowrap"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap.md b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap.md index 26597753..d7af9344 100644 --- a/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap.md +++ b/content/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap.md @@ -8,4 +8,4 @@ contributors: false const wrap: "wrap" = "wrap"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/AndroidOverflow.md b/content/api/namespaces/CoreTypes/type-aliases/AndroidOverflow.md index 0c116d6a..f8c50a59 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/AndroidOverflow.md +++ b/content/api/namespaces/CoreTypes/type-aliases/AndroidOverflow.md @@ -11,4 +11,4 @@ type AndroidOverflow = | AndroidOverflowStacked; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType.md b/content/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType.md index db8ba4ff..d5d45d5e 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType.md @@ -8,4 +8,4 @@ contributors: false type AutocapitalizationInputType = "none" | "words" | "sentences" | "allcharacters"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/AutofillType.md b/content/api/namespaces/CoreTypes/type-aliases/AutofillType.md index 8f9071bb..1fb9597d 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/AutofillType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/AutofillType.md @@ -8,4 +8,4 @@ contributors: false type AutofillType = "username" | "password" | "none" | string; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType.md b/content/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType.md index 5033bd6d..f1ce65e9 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType.md @@ -13,4 +13,4 @@ type BackgroundRepeatType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords.md b/content/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords.md index 75df1fe3..0ef1eda3 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords.md +++ b/content/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords.md @@ -8,4 +8,4 @@ contributors: false type CSSWideKeywords = "initial" | "inherit" | "unset" | "revert"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/CornerShapeType.md b/content/api/namespaces/CoreTypes/type-aliases/CornerShapeType.md new file mode 100644 index 00000000..e554d694 --- /dev/null +++ b/content/api/namespaces/CoreTypes/type-aliases/CornerShapeType.md @@ -0,0 +1,11 @@ +--- +title: CornerShapeType +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +type CornerShapeType = "round" | "squircle"; +``` + +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType.md b/content/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType.md index ecda401e..03418997 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType.md @@ -8,4 +8,4 @@ contributors: false type DeviceOrientationType = "portrait" | "landscape" | "unknown"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/DockType.md b/content/api/namespaces/CoreTypes/type-aliases/DockType.md index badfea2a..3983f21d 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/DockType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/DockType.md @@ -8,4 +8,4 @@ contributors: false type DockType = "left" | "top" | "right" | "bottom"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/FixedLengthType.md b/content/api/namespaces/CoreTypes/type-aliases/FixedLengthType.md index 7d9469ff..c0e83f7e 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/FixedLengthType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/FixedLengthType.md @@ -9,7 +9,9 @@ type FixedLengthType = | dip | LengthDipUnit | LengthPxUnit + | `${number}dip` + | `${number}px` | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType.md b/content/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType.md index 2daee8d3..a1799b4e 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType.md @@ -15,4 +15,4 @@ type HorizontalAlignmentType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/ImageStretchType.md b/content/api/namespaces/CoreTypes/type-aliases/ImageStretchType.md index 9c82d069..5a3d4510 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/ImageStretchType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/ImageStretchType.md @@ -8,4 +8,4 @@ contributors: false type ImageStretchType = "none" | "aspectFill" | "aspectFit" | "fill"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/KeyboardInputType.md b/content/api/namespaces/CoreTypes/type-aliases/KeyboardInputType.md index 3737151d..2ff0d4dc 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/KeyboardInputType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/KeyboardInputType.md @@ -8,4 +8,4 @@ contributors: false type KeyboardInputType = "datetime" | "phone" | "number" | "decimal" | "url" | "email" | "integer"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType.md b/content/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType.md index 8f4a3a4d..9a40fa32 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType.md @@ -8,4 +8,4 @@ contributors: false type LayoutDirectionType = "ltr" | "rtl"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/LengthDipUnit.md b/content/api/namespaces/CoreTypes/type-aliases/LengthDipUnit.md index 5e6d6fd3..2a7a3bb4 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/LengthDipUnit.md +++ b/content/api/namespaces/CoreTypes/type-aliases/LengthDipUnit.md @@ -11,7 +11,7 @@ type LengthDipUnit = { }; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Properties @@ -21,7 +21,7 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly unit: "dip"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) *** @@ -31,4 +31,4 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly value: dip; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit.md b/content/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit.md index 2ac7b9aa..eacd595c 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit.md +++ b/content/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit.md @@ -11,7 +11,7 @@ type LengthPercentUnit = { }; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Properties @@ -21,7 +21,7 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly unit: "%"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) *** @@ -31,4 +31,4 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly value: percent; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/LengthPxUnit.md b/content/api/namespaces/CoreTypes/type-aliases/LengthPxUnit.md index 24d61bf6..ea493f5f 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/LengthPxUnit.md +++ b/content/api/namespaces/CoreTypes/type-aliases/LengthPxUnit.md @@ -11,7 +11,7 @@ type LengthPxUnit = { }; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Properties @@ -21,7 +21,7 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly unit: "px"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) *** @@ -31,4 +31,4 @@ Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/b readonly value: px; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/LengthType.md b/content/api/namespaces/CoreTypes/type-aliases/LengthType.md index d5c2b815..a91c2e99 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/LengthType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/LengthType.md @@ -8,4 +8,4 @@ contributors: false type LengthType = "auto" | FixedLengthType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/MaxLinesType.md b/content/api/namespaces/CoreTypes/type-aliases/MaxLinesType.md index a268d83b..5b9d05f8 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/MaxLinesType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/MaxLinesType.md @@ -8,4 +8,4 @@ contributors: false type MaxLinesType = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/OrientationType.md b/content/api/namespaces/CoreTypes/type-aliases/OrientationType.md index 551b09ac..1c07f90f 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/OrientationType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/OrientationType.md @@ -8,4 +8,4 @@ contributors: false type OrientationType = "horizontal" | "vertical"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/PercentLengthType.md b/content/api/namespaces/CoreTypes/type-aliases/PercentLengthType.md index 2053da16..72a2bb3c 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/PercentLengthType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/PercentLengthType.md @@ -8,7 +8,8 @@ contributors: false type PercentLengthType = | "auto" | FixedLengthType - | LengthPercentUnit; + | LengthPercentUnit + | `${number}%`; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType.md b/content/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType.md index 64734a86..b15c6a24 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType.md @@ -8,4 +8,4 @@ contributors: false type ReturnKeyButtonType = "done" | "next" | "go" | "search" | "send"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/TextAlignmentType.md b/content/api/namespaces/CoreTypes/type-aliases/TextAlignmentType.md index 7c0715d1..faac06d1 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/TextAlignmentType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/TextAlignmentType.md @@ -13,4 +13,4 @@ type TextAlignmentType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/TextDecorationType.md b/content/api/namespaces/CoreTypes/type-aliases/TextDecorationType.md index 2ae249d7..6771bfca 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/TextDecorationType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/TextDecorationType.md @@ -13,4 +13,4 @@ type TextDecorationType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/TextOverflowType.md b/content/api/namespaces/CoreTypes/type-aliases/TextOverflowType.md index 42e15e7e..0534e5be 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/TextOverflowType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/TextOverflowType.md @@ -8,4 +8,4 @@ contributors: false type TextOverflowType = "clip" | "ellipsis" | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/TextTransformType.md b/content/api/namespaces/CoreTypes/type-aliases/TextTransformType.md index 74ff6eef..ebf571c9 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/TextTransformType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/TextTransformType.md @@ -13,4 +13,4 @@ type TextTransformType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType.md b/content/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType.md index 21850c78..9d1cdf06 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType.md @@ -8,4 +8,4 @@ contributors: false type UpdateTextTriggerType = "focusLost" | "textChanged"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType.md b/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType.md index c74ec6c5..73da4cae 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType.md @@ -14,4 +14,4 @@ type VerticalAlignmentTextType = | "baseline"; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType.md b/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType.md index 5b227515..b7411c3f 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType.md @@ -13,4 +13,4 @@ type VerticalAlignmentType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/VisibilityType.md b/content/api/namespaces/CoreTypes/type-aliases/VisibilityType.md index 023ab619..3a8029f4 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/VisibilityType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/VisibilityType.md @@ -13,4 +13,4 @@ type VisibilityType = | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType.md b/content/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType.md index eeefcbef..bdcfdafa 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType.md +++ b/content/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType.md @@ -8,4 +8,4 @@ contributors: false type WhiteSpaceType = "normal" | "nowrap" | "wrap" | CSSWideKeywords; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/CoreTypes/type-aliases/dip.md b/content/api/namespaces/CoreTypes/type-aliases/dip.md index 80989594..21b8a523 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/dip.md +++ b/content/api/namespaces/CoreTypes/type-aliases/dip.md @@ -9,6 +9,6 @@ contributors: false type dip = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) Denotes a length number that is in device independent pixel units. diff --git a/content/api/namespaces/CoreTypes/type-aliases/percent.md b/content/api/namespaces/CoreTypes/type-aliases/percent.md index 65a40eeb..87383de7 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/percent.md +++ b/content/api/namespaces/CoreTypes/type-aliases/percent.md @@ -9,7 +9,7 @@ contributors: false type percent = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) Denotes a normalized percent number. 0% is represented as 0 diff --git a/content/api/namespaces/CoreTypes/type-aliases/px.md b/content/api/namespaces/CoreTypes/type-aliases/px.md index 449c8f78..cb528f28 100644 --- a/content/api/namespaces/CoreTypes/type-aliases/px.md +++ b/content/api/namespaces/CoreTypes/type-aliases/px.md @@ -9,6 +9,6 @@ contributors: false type px = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) Denotes a length number that is in physical device pixels. diff --git a/content/api/namespaces/CoreTypes/variables/zeroLength.md b/content/api/namespaces/CoreTypes/variables/zeroLength.md index 0678f886..577d827d 100644 --- a/content/api/namespaces/CoreTypes/variables/zeroLength.md +++ b/content/api/namespaces/CoreTypes/variables/zeroLength.md @@ -8,4 +8,4 @@ contributors: false const zeroLength: LengthType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) diff --git a/content/api/namespaces/DialogStrings/variables/ALERT.md b/content/api/namespaces/DialogStrings/variables/ALERT.md index f26aaf47..81138a90 100644 --- a/content/api/namespaces/DialogStrings/variables/ALERT.md +++ b/content/api/namespaces/DialogStrings/variables/ALERT.md @@ -8,4 +8,4 @@ contributors: false const ALERT: "Alert" = "Alert"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/CANCEL.md b/content/api/namespaces/DialogStrings/variables/CANCEL.md index 79c75675..c6c83177 100644 --- a/content/api/namespaces/DialogStrings/variables/CANCEL.md +++ b/content/api/namespaces/DialogStrings/variables/CANCEL.md @@ -8,4 +8,4 @@ contributors: false const CANCEL: "Cancel" = "Cancel"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/CONFIRM.md b/content/api/namespaces/DialogStrings/variables/CONFIRM.md index 7d58c6e3..62bc56a1 100644 --- a/content/api/namespaces/DialogStrings/variables/CONFIRM.md +++ b/content/api/namespaces/DialogStrings/variables/CONFIRM.md @@ -8,4 +8,4 @@ contributors: false const CONFIRM: "Confirm" = "Confirm"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/LOGIN.md b/content/api/namespaces/DialogStrings/variables/LOGIN.md index c56a5026..3be679d5 100644 --- a/content/api/namespaces/DialogStrings/variables/LOGIN.md +++ b/content/api/namespaces/DialogStrings/variables/LOGIN.md @@ -8,4 +8,4 @@ contributors: false const LOGIN: "Login" = "Login"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/OK.md b/content/api/namespaces/DialogStrings/variables/OK.md index da67904c..da474a90 100644 --- a/content/api/namespaces/DialogStrings/variables/OK.md +++ b/content/api/namespaces/DialogStrings/variables/OK.md @@ -8,4 +8,4 @@ contributors: false const OK: "OK" = "OK"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/PROMPT.md b/content/api/namespaces/DialogStrings/variables/PROMPT.md index 57ff1631..91dd5889 100644 --- a/content/api/namespaces/DialogStrings/variables/PROMPT.md +++ b/content/api/namespaces/DialogStrings/variables/PROMPT.md @@ -8,4 +8,4 @@ contributors: false const PROMPT: "Prompt" = "Prompt"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/DialogStrings/variables/STRING.md b/content/api/namespaces/DialogStrings/variables/STRING.md index 5db5338e..cc8e5541 100644 --- a/content/api/namespaces/DialogStrings/variables/STRING.md +++ b/content/api/namespaces/DialogStrings/variables/STRING.md @@ -8,4 +8,4 @@ contributors: false const STRING: "string" = "string"; ``` -Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/dialogs-common.ts) +Defined in: [ui/dialogs/dialogs-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/dialogs-common.ts) diff --git a/content/api/namespaces/FixedLength/functions/parse.md b/content/api/namespaces/FixedLength/functions/parse.md index a2a2bfde..6d6c1280 100644 --- a/content/api/namespaces/FixedLength/functions/parse.md +++ b/content/api/namespaces/FixedLength/functions/parse.md @@ -12,7 +12,7 @@ function parse(fromValue: | LengthPxUnit): FixedLengthType; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/FixedLength/variables/convertToString.md b/content/api/namespaces/FixedLength/variables/convertToString.md index 5a8dfe5a..90d8bf30 100644 --- a/content/api/namespaces/FixedLength/variables/convertToString.md +++ b/content/api/namespaces/FixedLength/variables/convertToString.md @@ -8,7 +8,7 @@ contributors: false const convertToString: (length: FixedLengthType) => string; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/FixedLength/variables/equals.md b/content/api/namespaces/FixedLength/variables/equals.md index af4269ac..eadcccc0 100644 --- a/content/api/namespaces/FixedLength/variables/equals.md +++ b/content/api/namespaces/FixedLength/variables/equals.md @@ -8,7 +8,7 @@ contributors: false const equals: (a: FixedLengthType, b: FixedLengthType) => boolean; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/FixedLength/variables/toDevicePixels.md b/content/api/namespaces/FixedLength/variables/toDevicePixels.md index 86c46cf4..8040040c 100644 --- a/content/api/namespaces/FixedLength/variables/toDevicePixels.md +++ b/content/api/namespaces/FixedLength/variables/toDevicePixels.md @@ -9,7 +9,7 @@ contributors: false const toDevicePixels: (length: FixedLengthType) => number; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) Converts FixedLengthType unit to device pixels. diff --git a/content/api/namespaces/FontStyle/functions/isValid.md b/content/api/namespaces/FontStyle/functions/isValid.md index 57a2cb92..b65c0058 100644 --- a/content/api/namespaces/FontStyle/functions/isValid.md +++ b/content/api/namespaces/FontStyle/functions/isValid.md @@ -8,7 +8,7 @@ contributors: false function isValid(value: any): boolean; ``` -Defined in: [ui/styling/font.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L37) +Defined in: [ui/styling/font.d.ts:37](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L37) ## Parameters diff --git a/content/api/namespaces/FontStyle/functions/parse.md b/content/api/namespaces/FontStyle/functions/parse.md index 493c031c..41007a3f 100644 --- a/content/api/namespaces/FontStyle/functions/parse.md +++ b/content/api/namespaces/FontStyle/functions/parse.md @@ -8,7 +8,7 @@ contributors: false function parse(value: string): FontStyleType; ``` -Defined in: [ui/styling/font.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L38) +Defined in: [ui/styling/font.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L38) ## Parameters diff --git a/content/api/namespaces/FontStyle/variables/ITALIC.md b/content/api/namespaces/FontStyle/variables/ITALIC.md index 1c07a0fb..15e1d472 100644 --- a/content/api/namespaces/FontStyle/variables/ITALIC.md +++ b/content/api/namespaces/FontStyle/variables/ITALIC.md @@ -8,4 +8,4 @@ contributors: false const ITALIC: "italic"; ``` -Defined in: [ui/styling/font.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L36) +Defined in: [ui/styling/font.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L36) diff --git a/content/api/namespaces/FontStyle/variables/NORMAL.md b/content/api/namespaces/FontStyle/variables/NORMAL.md index afd1bd7a..ee96ff61 100644 --- a/content/api/namespaces/FontStyle/variables/NORMAL.md +++ b/content/api/namespaces/FontStyle/variables/NORMAL.md @@ -8,4 +8,4 @@ contributors: false const NORMAL: "normal"; ``` -Defined in: [ui/styling/font.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L35) +Defined in: [ui/styling/font.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L35) diff --git a/content/api/namespaces/FontVariationSettings/functions/parse.md b/content/api/namespaces/FontVariationSettings/functions/parse.md index 9375298b..89f7b9ef 100644 --- a/content/api/namespaces/FontVariationSettings/functions/parse.md +++ b/content/api/namespaces/FontVariationSettings/functions/parse.md @@ -8,7 +8,7 @@ contributors: false function parse(fontVariationSettings: string): FontVariationSettingsType[]; ``` -Defined in: [ui/styling/font.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L56) +Defined in: [ui/styling/font.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L56) ## Parameters diff --git a/content/api/namespaces/FontVariationSettings/functions/toString.md b/content/api/namespaces/FontVariationSettings/functions/toString.md index 2b7e9865..e543ca78 100644 --- a/content/api/namespaces/FontVariationSettings/functions/toString.md +++ b/content/api/namespaces/FontVariationSettings/functions/toString.md @@ -8,7 +8,7 @@ contributors: false function toString(fontVariationSettings: FontVariationSettingsType[]): string; ``` -Defined in: [ui/styling/font.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L57) +Defined in: [ui/styling/font.d.ts:57](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L57) ## Parameters diff --git a/content/api/namespaces/FontWeight/functions/isValid.md b/content/api/namespaces/FontWeight/functions/isValid.md index 567925cd..696ce4a2 100644 --- a/content/api/namespaces/FontWeight/functions/isValid.md +++ b/content/api/namespaces/FontWeight/functions/isValid.md @@ -8,7 +8,7 @@ contributors: false function isValid(value: any): boolean; ``` -Defined in: [ui/styling/font.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L51) +Defined in: [ui/styling/font.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L51) ## Parameters diff --git a/content/api/namespaces/FontWeight/functions/parse.md b/content/api/namespaces/FontWeight/functions/parse.md index 5abbc9e1..d9a99411 100644 --- a/content/api/namespaces/FontWeight/functions/parse.md +++ b/content/api/namespaces/FontWeight/functions/parse.md @@ -8,7 +8,7 @@ contributors: false function parse(value: string): FontWeightType; ``` -Defined in: [ui/styling/font.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L52) +Defined in: [ui/styling/font.d.ts:52](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L52) ## Parameters diff --git a/content/api/namespaces/FontWeight/variables/BLACK.md b/content/api/namespaces/FontWeight/variables/BLACK.md index 3a9cbfaa..83e259df 100644 --- a/content/api/namespaces/FontWeight/variables/BLACK.md +++ b/content/api/namespaces/FontWeight/variables/BLACK.md @@ -8,4 +8,4 @@ contributors: false const BLACK: "900"; ``` -Defined in: [ui/styling/font.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L50) +Defined in: [ui/styling/font.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L50) diff --git a/content/api/namespaces/FontWeight/variables/BOLD.md b/content/api/namespaces/FontWeight/variables/BOLD.md index 9b397385..f894b612 100644 --- a/content/api/namespaces/FontWeight/variables/BOLD.md +++ b/content/api/namespaces/FontWeight/variables/BOLD.md @@ -8,4 +8,4 @@ contributors: false const BOLD: "bold"; ``` -Defined in: [ui/styling/font.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L48) +Defined in: [ui/styling/font.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L48) diff --git a/content/api/namespaces/FontWeight/variables/EXTRA_BOLD.md b/content/api/namespaces/FontWeight/variables/EXTRA_BOLD.md index 1ed8087f..493ffaa6 100644 --- a/content/api/namespaces/FontWeight/variables/EXTRA_BOLD.md +++ b/content/api/namespaces/FontWeight/variables/EXTRA_BOLD.md @@ -8,4 +8,4 @@ contributors: false const EXTRA_BOLD: "800"; ``` -Defined in: [ui/styling/font.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L49) +Defined in: [ui/styling/font.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L49) diff --git a/content/api/namespaces/FontWeight/variables/EXTRA_LIGHT.md b/content/api/namespaces/FontWeight/variables/EXTRA_LIGHT.md index 12a9ce0f..764309bf 100644 --- a/content/api/namespaces/FontWeight/variables/EXTRA_LIGHT.md +++ b/content/api/namespaces/FontWeight/variables/EXTRA_LIGHT.md @@ -8,4 +8,4 @@ contributors: false const EXTRA_LIGHT: "200"; ``` -Defined in: [ui/styling/font.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L43) +Defined in: [ui/styling/font.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L43) diff --git a/content/api/namespaces/FontWeight/variables/LIGHT.md b/content/api/namespaces/FontWeight/variables/LIGHT.md index 723595fa..bd8c4905 100644 --- a/content/api/namespaces/FontWeight/variables/LIGHT.md +++ b/content/api/namespaces/FontWeight/variables/LIGHT.md @@ -8,4 +8,4 @@ contributors: false const LIGHT: "300"; ``` -Defined in: [ui/styling/font.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L44) +Defined in: [ui/styling/font.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L44) diff --git a/content/api/namespaces/FontWeight/variables/MEDIUM.md b/content/api/namespaces/FontWeight/variables/MEDIUM.md index 7280bcfa..909d5a2d 100644 --- a/content/api/namespaces/FontWeight/variables/MEDIUM.md +++ b/content/api/namespaces/FontWeight/variables/MEDIUM.md @@ -8,4 +8,4 @@ contributors: false const MEDIUM: "500"; ``` -Defined in: [ui/styling/font.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L46) +Defined in: [ui/styling/font.d.ts:46](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L46) diff --git a/content/api/namespaces/FontWeight/variables/NORMAL.md b/content/api/namespaces/FontWeight/variables/NORMAL.md index 5ee6f5c1..2a393e88 100644 --- a/content/api/namespaces/FontWeight/variables/NORMAL.md +++ b/content/api/namespaces/FontWeight/variables/NORMAL.md @@ -8,4 +8,4 @@ contributors: false const NORMAL: "normal"; ``` -Defined in: [ui/styling/font.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L45) +Defined in: [ui/styling/font.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L45) diff --git a/content/api/namespaces/FontWeight/variables/SEMI_BOLD.md b/content/api/namespaces/FontWeight/variables/SEMI_BOLD.md index f5dea5e8..158cb84d 100644 --- a/content/api/namespaces/FontWeight/variables/SEMI_BOLD.md +++ b/content/api/namespaces/FontWeight/variables/SEMI_BOLD.md @@ -8,4 +8,4 @@ contributors: false const SEMI_BOLD: "600"; ``` -Defined in: [ui/styling/font.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L47) +Defined in: [ui/styling/font.d.ts:47](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L47) diff --git a/content/api/namespaces/FontWeight/variables/THIN.md b/content/api/namespaces/FontWeight/variables/THIN.md index 3fab5d8f..3e24dee1 100644 --- a/content/api/namespaces/FontWeight/variables/THIN.md +++ b/content/api/namespaces/FontWeight/variables/THIN.md @@ -8,4 +8,4 @@ contributors: false const THIN: "100"; ``` -Defined in: [ui/styling/font.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font.d.ts#L42) +Defined in: [ui/styling/font.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font.d.ts#L42) diff --git a/content/api/namespaces/GridUnitType/functions/isValid.md b/content/api/namespaces/GridUnitType/functions/isValid.md index b69903c5..a184d39f 100644 --- a/content/api/namespaces/GridUnitType/functions/isValid.md +++ b/content/api/namespaces/GridUnitType/functions/isValid.md @@ -8,7 +8,7 @@ contributors: false function isValid(value: any): boolean; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:199](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L199) +Defined in: [ui/layouts/grid-layout/index.d.ts:199](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L199) ## Parameters diff --git a/content/api/namespaces/GridUnitType/functions/parse.md b/content/api/namespaces/GridUnitType/functions/parse.md index d6543849..78188be6 100644 --- a/content/api/namespaces/GridUnitType/functions/parse.md +++ b/content/api/namespaces/GridUnitType/functions/parse.md @@ -8,7 +8,7 @@ contributors: false function parse(value: string): GridUnitType; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:200](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L200) +Defined in: [ui/layouts/grid-layout/index.d.ts:200](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L200) ## Parameters diff --git a/content/api/namespaces/GridUnitType/variables/AUTO.md b/content/api/namespaces/GridUnitType/variables/AUTO.md index d386f538..f4063216 100644 --- a/content/api/namespaces/GridUnitType/variables/AUTO.md +++ b/content/api/namespaces/GridUnitType/variables/AUTO.md @@ -8,4 +8,4 @@ contributors: false const AUTO: "auto"; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L198) +Defined in: [ui/layouts/grid-layout/index.d.ts:198](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L198) diff --git a/content/api/namespaces/GridUnitType/variables/PIXEL.md b/content/api/namespaces/GridUnitType/variables/PIXEL.md index d2d89085..3734ad80 100644 --- a/content/api/namespaces/GridUnitType/variables/PIXEL.md +++ b/content/api/namespaces/GridUnitType/variables/PIXEL.md @@ -8,4 +8,4 @@ contributors: false const PIXEL: "pixel"; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:196](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L196) +Defined in: [ui/layouts/grid-layout/index.d.ts:196](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L196) diff --git a/content/api/namespaces/GridUnitType/variables/STAR.md b/content/api/namespaces/GridUnitType/variables/STAR.md index f27f1888..e57faf9d 100644 --- a/content/api/namespaces/GridUnitType/variables/STAR.md +++ b/content/api/namespaces/GridUnitType/variables/STAR.md @@ -8,4 +8,4 @@ contributors: false const STAR: "star"; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L197) +Defined in: [ui/layouts/grid-layout/index.d.ts:197](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L197) diff --git a/content/api/namespaces/Http/functions/getBinary.md b/content/api/namespaces/Http/functions/getBinary.md index 3162c106..97bd4cab 100644 --- a/content/api/namespaces/Http/functions/getBinary.md +++ b/content/api/namespaces/Http/functions/getBinary.md @@ -10,7 +10,7 @@ contributors: false function getBinary(url: string): Promise; ``` -Defined in: [http/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L61) +Defined in: [http/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L61) Downloads the content from the specified URL as binary and returns an ArrayBuffer. @@ -30,7 +30,7 @@ Downloads the content from the specified URL as binary and returns an ArrayBuffe function getBinary(options: HttpRequestOptions): Promise; ``` -Defined in: [http/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L67) +Defined in: [http/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L67) Downloads the content from the specified URL as binary and returns an ArrayBuffer. diff --git a/content/api/namespaces/Http/functions/getFile.md b/content/api/namespaces/Http/functions/getFile.md index f70b04db..e3e3e80d 100644 --- a/content/api/namespaces/Http/functions/getFile.md +++ b/content/api/namespaces/Http/functions/getFile.md @@ -10,7 +10,7 @@ contributors: false function getFile(url: string, destinationFilePath?: string): Promise; ``` -Defined in: [http/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L48) +Defined in: [http/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L48) Downloads the content from the specified URL and attempts to save it as file. @@ -31,7 +31,7 @@ Downloads the content from the specified URL and attempts to save it as file. function getFile(options: HttpRequestOptions, destinationFilePath?: string): Promise; ``` -Defined in: [http/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L55) +Defined in: [http/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L55) Downloads the content from the specified URL and attempts to save it as file. diff --git a/content/api/namespaces/Http/functions/getImage.md b/content/api/namespaces/Http/functions/getImage.md index fba2fb5c..84611ec7 100644 --- a/content/api/namespaces/Http/functions/getImage.md +++ b/content/api/namespaces/Http/functions/getImage.md @@ -10,7 +10,7 @@ contributors: false function getImage(url: string): Promise; ``` -Defined in: [http/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L35) +Defined in: [http/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L35) Downloads the content from the specified URL and attempts to decode it as an image. @@ -30,7 +30,7 @@ Downloads the content from the specified URL and attempts to decode it as an ima function getImage(options: HttpRequestOptions): Promise; ``` -Defined in: [http/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L41) +Defined in: [http/index.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L41) Downloads the content from the specified URL and attempts to decode it as an image. diff --git a/content/api/namespaces/Http/functions/getJSON.md b/content/api/namespaces/Http/functions/getJSON.md index d7504def..eee35686 100644 --- a/content/api/namespaces/Http/functions/getJSON.md +++ b/content/api/namespaces/Http/functions/getJSON.md @@ -10,7 +10,7 @@ contributors: false function getJSON(url: string): Promise; ``` -Defined in: [http/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L23) +Defined in: [http/index.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L23) Downloads the content from the specified URL as a string and returns its JSON.parse representation. @@ -36,7 +36,7 @@ Downloads the content from the specified URL as a string and returns its JSON.pa function getJSON(options: HttpRequestOptions): Promise; ``` -Defined in: [http/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L29) +Defined in: [http/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L29) Downloads the content from the specified URL as a string and returns its JSON.parse representation. diff --git a/content/api/namespaces/Http/functions/getString.md b/content/api/namespaces/Http/functions/getString.md index 715e230f..597c4273 100644 --- a/content/api/namespaces/Http/functions/getString.md +++ b/content/api/namespaces/Http/functions/getString.md @@ -10,7 +10,7 @@ contributors: false function getString(url: string): Promise; ``` -Defined in: [http/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L11) +Defined in: [http/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L11) Downloads the content from the specified URL as a string. @@ -30,7 +30,7 @@ Downloads the content from the specified URL as a string. function getString(options: HttpRequestOptions): Promise; ``` -Defined in: [http/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/index.d.ts#L17) +Defined in: [http/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/index.d.ts#L17) Downloads the content from the specified URL as a string. diff --git a/content/api/namespaces/Http/interfaces/HttpContentHandler.md b/content/api/namespaces/Http/interfaces/HttpContentHandler.md index f6305616..9de583ea 100644 --- a/content/api/namespaces/Http/interfaces/HttpContentHandler.md +++ b/content/api/namespaces/Http/interfaces/HttpContentHandler.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) ## Extended by @@ -18,7 +18,7 @@ Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScri toArrayBuffer: () => ArrayBuffer; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as ArrayBuffer @@ -34,7 +34,7 @@ Gets the response body as ArrayBuffer toFile: (destinationFilePath?: string) => File; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as file. @@ -56,7 +56,7 @@ Gets the response body as file. toImage: () => Promise; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as ImageSource. @@ -72,7 +72,7 @@ Gets the response body as ImageSource. toJSON: (encoding?: HttpResponseEncoding) => any; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as JSON object. @@ -94,7 +94,7 @@ Gets the response body as JSON object. toString: (encoding?: HttpResponseEncoding) => string; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) Gets the response body as string. diff --git a/content/api/namespaces/Http/variables/request.md b/content/api/namespaces/Http/variables/request.md index 90b2353e..4b63ddc0 100644 --- a/content/api/namespaces/Http/variables/request.md +++ b/content/api/namespaces/Http/variables/request.md @@ -9,7 +9,7 @@ contributors: false const request: (options: HttpRequestOptions) => Promise; ``` -Defined in: [http/http-request/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-request/index.d.ts#L7) +Defined in: [http/http-request/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-request/index.d.ts#L7) Makes a generic http request using the provided options and returns a HttpResponse Object. diff --git a/content/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp.md b/content/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp.md index 50980887..cf7765d4 100644 --- a/content/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp.md +++ b/content/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view/view-helper/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L76) +Defined in: [ui/core/view/view-helper/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L77) ## Constructors @@ -26,7 +26,7 @@ new UIAdaptivePresentationControllerDelegateImp(): UIAdaptivePresentationControl static initWithOwnerAndCallback(owner: WeakRef, whenClosedCallback: Function): UIAdaptivePresentationControllerDelegateImp; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:77](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L77) +Defined in: [ui/core/view/view-helper/index.d.ts:78](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L78) #### Parameters diff --git a/content/api/namespaces/IOSHelper/classes/UILayoutViewController.md b/content/api/namespaces/IOSHelper/classes/UILayoutViewController.md index ec672791..db1630da 100644 --- a/content/api/namespaces/IOSHelper/classes/UILayoutViewController.md +++ b/content/api/namespaces/IOSHelper/classes/UILayoutViewController.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view/view-helper/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L73) +Defined in: [ui/core/view/view-helper/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L74) ## Constructors @@ -26,7 +26,7 @@ new UILayoutViewController(): UILayoutViewController; static initWithOwner(owner: WeakRef): UILayoutViewController; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L74) +Defined in: [ui/core/view/view-helper/index.d.ts:75](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L75) #### Parameters diff --git a/content/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp.md b/content/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp.md index 5618f0c4..8bbb0a02 100644 --- a/content/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp.md +++ b/content/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp.md @@ -4,7 +4,7 @@ titleTemplate: :title - API / NativeScript contributors: false --- -Defined in: [ui/core/view/view-helper/index.d.ts:79](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L79) +Defined in: [ui/core/view/view-helper/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L80) ## Constructors @@ -26,7 +26,7 @@ new UIPopoverPresentationControllerDelegateImp(): UIPopoverPresentationControlle static initWithOwnerAndCallback(owner: WeakRef, whenClosedCallback: Function): UIPopoverPresentationControllerDelegateImp; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:80](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L80) +Defined in: [ui/core/view/view-helper/index.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L81) #### Parameters diff --git a/content/api/namespaces/IOSHelper/functions/expandBeyondSafeArea.md b/content/api/namespaces/IOSHelper/functions/expandBeyondSafeArea.md index 2dae9bb5..4217b624 100644 --- a/content/api/namespaces/IOSHelper/functions/expandBeyondSafeArea.md +++ b/content/api/namespaces/IOSHelper/functions/expandBeyondSafeArea.md @@ -8,7 +8,7 @@ contributors: false function expandBeyondSafeArea(view: View, frame: any): any; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L72) +Defined in: [ui/core/view/view-helper/index.d.ts:73](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L73) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/getFrameFromPosition.md b/content/api/namespaces/IOSHelper/functions/getFrameFromPosition.md index fb069c23..158350b4 100644 --- a/content/api/namespaces/IOSHelper/functions/getFrameFromPosition.md +++ b/content/api/namespaces/IOSHelper/functions/getFrameFromPosition.md @@ -8,7 +8,7 @@ contributors: false function getFrameFromPosition(position: Position, insets?: Position): any; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L70) +Defined in: [ui/core/view/view-helper/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L71) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/getParentWithViewController.md b/content/api/namespaces/IOSHelper/functions/getParentWithViewController.md index 6002a2aa..a8ff0c9e 100644 --- a/content/api/namespaces/IOSHelper/functions/getParentWithViewController.md +++ b/content/api/namespaces/IOSHelper/functions/getParentWithViewController.md @@ -8,7 +8,7 @@ contributors: false function getParentWithViewController(view: View): View; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:64](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L64) +Defined in: [ui/core/view/view-helper/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L65) Returns a view with viewController or undefined if no such found along the view's parent chain. diff --git a/content/api/namespaces/IOSHelper/functions/getPositionFromFrame.md b/content/api/namespaces/IOSHelper/functions/getPositionFromFrame.md index 5e0ee3ce..ede24a39 100644 --- a/content/api/namespaces/IOSHelper/functions/getPositionFromFrame.md +++ b/content/api/namespaces/IOSHelper/functions/getPositionFromFrame.md @@ -8,7 +8,7 @@ contributors: false function getPositionFromFrame(frame: any): Position; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L69) +Defined in: [ui/core/view/view-helper/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L70) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/hasIOSManagedInsetAncestor.md b/content/api/namespaces/IOSHelper/functions/hasIOSManagedInsetAncestor.md new file mode 100644 index 00000000..b8280ad3 --- /dev/null +++ b/content/api/namespaces/IOSHelper/functions/hasIOSManagedInsetAncestor.md @@ -0,0 +1,21 @@ +--- +title: hasIOSManagedInsetAncestor +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +function hasIOSManagedInsetAncestor(view: View): boolean; +``` + +Defined in: [ui/core/view/view-helper/index.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L50) + +## Parameters + +| Parameter | Type | +| ------ | ------ | +| `view` | [`View`](../../../../classes/View.md) | + +## Returns + +`boolean` diff --git a/content/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance.md b/content/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance.md index fad3a2d2..222b9fa1 100644 --- a/content/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance.md +++ b/content/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance.md @@ -8,7 +8,7 @@ contributors: false function invalidateStatusBarAppearance(controller?: any, reason?: string): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L65) +Defined in: [ui/core/view/view-helper/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L66) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/layoutView.md b/content/api/namespaces/IOSHelper/functions/layoutView.md index a5a62ea7..35b7d988 100644 --- a/content/api/namespaces/IOSHelper/functions/layoutView.md +++ b/content/api/namespaces/IOSHelper/functions/layoutView.md @@ -8,7 +8,7 @@ contributors: false function layoutView(controller: any, owner: View): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L68) +Defined in: [ui/core/view/view-helper/index.d.ts:69](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L69) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/shrinkToSafeArea.md b/content/api/namespaces/IOSHelper/functions/shrinkToSafeArea.md index 3d7adfaa..587b32ee 100644 --- a/content/api/namespaces/IOSHelper/functions/shrinkToSafeArea.md +++ b/content/api/namespaces/IOSHelper/functions/shrinkToSafeArea.md @@ -8,7 +8,7 @@ contributors: false function shrinkToSafeArea(view: View, frame: any): any; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L71) +Defined in: [ui/core/view/view-helper/index.d.ts:72](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L72) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets.md b/content/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets.md index 49edb170..c2cd5076 100644 --- a/content/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets.md +++ b/content/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets.md @@ -8,7 +8,7 @@ contributors: false function updateAutoAdjustScrollInsets(controller: any, owner: View): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:66](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L66) +Defined in: [ui/core/view/view-helper/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L67) ## Parameters diff --git a/content/api/namespaces/IOSHelper/functions/updateConstraints.md b/content/api/namespaces/IOSHelper/functions/updateConstraints.md index eda52b42..7666868e 100644 --- a/content/api/namespaces/IOSHelper/functions/updateConstraints.md +++ b/content/api/namespaces/IOSHelper/functions/updateConstraints.md @@ -8,7 +8,7 @@ contributors: false function updateConstraints(controller: any, owner: View): void; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:67](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L67) +Defined in: [ui/core/view/view-helper/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L68) ## Parameters diff --git a/content/api/namespaces/IOSHelper/index.md b/content/api/namespaces/IOSHelper/index.md index 504563a2..2a4e3dce 100644 --- a/content/api/namespaces/IOSHelper/index.md +++ b/content/api/namespaces/IOSHelper/index.md @@ -30,6 +30,7 @@ Various iOS view helper methods | [getFrameFromPosition](functions/getFrameFromPosition.md) | - | | [getParentWithViewController](functions/getParentWithViewController.md) | Returns a view with viewController or undefined if no such found along the view's parent chain. | | [getPositionFromFrame](functions/getPositionFromFrame.md) | - | +| [hasIOSManagedInsetAncestor](functions/hasIOSManagedInsetAncestor.md) | - | | [invalidateStatusBarAppearance](functions/invalidateStatusBarAppearance.md) | - | | [layoutView](functions/layoutView.md) | - | | [shrinkToSafeArea](functions/shrinkToSafeArea.md) | - | diff --git a/content/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent.md b/content/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent.md index 52a32506..d42c556a 100644 --- a/content/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent.md +++ b/content/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent.md @@ -9,6 +9,6 @@ contributors: false const traitCollectionColorAppearanceChangedEvent: string; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L53) +Defined in: [ui/core/view/view-helper/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L54) String value used when hooking to traitCollectionColorAppearanceChangedEvent event. diff --git a/content/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent.md b/content/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent.md index e4128a86..9d9d2ad3 100644 --- a/content/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent.md +++ b/content/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent.md @@ -9,6 +9,6 @@ contributors: false const traitCollectionLayoutDirectionChangedEvent: string; ``` -Defined in: [ui/core/view/view-helper/index.d.ts:58](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-helper/index.d.ts#L58) +Defined in: [ui/core/view/view-helper/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-helper/index.d.ts#L59) String value used when hooking to traitCollectionLayoutDirectionChangedEvent event. diff --git a/content/api/namespaces/Length/functions/parse.md b/content/api/namespaces/Length/functions/parse.md index dcc24ba2..2e7dfa40 100644 --- a/content/api/namespaces/Length/functions/parse.md +++ b/content/api/namespaces/Length/functions/parse.md @@ -12,7 +12,7 @@ function parse(fromValue: | LengthPxUnit): LengthType; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/Length/variables/convertToString.md b/content/api/namespaces/Length/variables/convertToString.md index 75d3a9eb..bef413d0 100644 --- a/content/api/namespaces/Length/variables/convertToString.md +++ b/content/api/namespaces/Length/variables/convertToString.md @@ -8,7 +8,7 @@ contributors: false const convertToString: (length: LengthType) => string; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/Length/variables/equals.md b/content/api/namespaces/Length/variables/equals.md index f0b5baab..bb7cf606 100644 --- a/content/api/namespaces/Length/variables/equals.md +++ b/content/api/namespaces/Length/variables/equals.md @@ -8,7 +8,7 @@ contributors: false const equals: (a: LengthType, b: LengthType) => boolean; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/Length/variables/toDevicePixels.md b/content/api/namespaces/Length/variables/toDevicePixels.md index 814c670b..24ab0ef1 100644 --- a/content/api/namespaces/Length/variables/toDevicePixels.md +++ b/content/api/namespaces/Length/variables/toDevicePixels.md @@ -9,7 +9,7 @@ contributors: false const toDevicePixels: (length: LengthType, auto?: number) => number; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) Converts LengthType unit to device pixels. diff --git a/content/api/namespaces/PercentLength/functions/parse.md b/content/api/namespaces/PercentLength/functions/parse.md index 4506fa52..aef889b9 100644 --- a/content/api/namespaces/PercentLength/functions/parse.md +++ b/content/api/namespaces/PercentLength/functions/parse.md @@ -12,7 +12,7 @@ function parse(fromValue: | LengthPxUnit): PercentLengthType; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/PercentLength/variables/convertToString.md b/content/api/namespaces/PercentLength/variables/convertToString.md index 41817aca..2ffe16c1 100644 --- a/content/api/namespaces/PercentLength/variables/convertToString.md +++ b/content/api/namespaces/PercentLength/variables/convertToString.md @@ -8,7 +8,7 @@ contributors: false const convertToString: (length: PercentLengthType) => string; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/PercentLength/variables/equals.md b/content/api/namespaces/PercentLength/variables/equals.md index 4331c595..6b9eac07 100644 --- a/content/api/namespaces/PercentLength/variables/equals.md +++ b/content/api/namespaces/PercentLength/variables/equals.md @@ -8,7 +8,7 @@ contributors: false const equals: (a: PercentLengthType, b: PercentLengthType) => boolean; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) ## Parameters diff --git a/content/api/namespaces/PercentLength/variables/toDevicePixels.md b/content/api/namespaces/PercentLength/variables/toDevicePixels.md index ca1fc5fc..feba3875 100644 --- a/content/api/namespaces/PercentLength/variables/toDevicePixels.md +++ b/content/api/namespaces/PercentLength/variables/toDevicePixels.md @@ -9,7 +9,7 @@ contributors: false const toDevicePixels: (length: PercentLengthType, auto: number, parentAvailableWidth: number) => number; ``` -Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/length-shared.ts) +Defined in: [ui/styling/length-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/length-shared.ts) Converts PercentLengthType unit to device pixels. diff --git a/content/api/namespaces/Trace/classes/ConsoleWriter.md b/content/api/namespaces/Trace/classes/ConsoleWriter.md index d86f3b48..a327ed69 100644 --- a/content/api/namespaces/Trace/classes/ConsoleWriter.md +++ b/content/api/namespaces/Trace/classes/ConsoleWriter.md @@ -5,7 +5,7 @@ description: An interface used to define a writer used by trace to print (log). contributors: false --- -Defined in: [trace/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L130) +Defined in: [trace/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L130) An interface used to define a writer used by trace to print (log). @@ -36,7 +36,7 @@ write( type?: number): void; ``` -Defined in: [trace/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L131) +Defined in: [trace/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L131) #### Parameters diff --git a/content/api/namespaces/Trace/classes/DefaultErrorHandler.md b/content/api/namespaces/Trace/classes/DefaultErrorHandler.md index 4a411415..b80a6adb 100644 --- a/content/api/namespaces/Trace/classes/DefaultErrorHandler.md +++ b/content/api/namespaces/Trace/classes/DefaultErrorHandler.md @@ -5,7 +5,7 @@ description: An interface used to for handling trace error contributors: false --- -Defined in: [trace/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L134) +Defined in: [trace/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L134) An interface used to for handling trace error @@ -33,7 +33,7 @@ new DefaultErrorHandler(): DefaultErrorHandler; handlerError(error: any): void; ``` -Defined in: [trace/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L135) +Defined in: [trace/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L135) #### Parameters diff --git a/content/api/namespaces/Trace/functions/addCategories.md b/content/api/namespaces/Trace/functions/addCategories.md index cfb8a454..bd9312f2 100644 --- a/content/api/namespaces/Trace/functions/addCategories.md +++ b/content/api/namespaces/Trace/functions/addCategories.md @@ -8,7 +8,7 @@ contributors: false function addCategories(categories: string): void; ``` -Defined in: [trace/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L68) +Defined in: [trace/index.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L68) Adds categories to existing categories the module will trace. diff --git a/content/api/namespaces/Trace/functions/addEventListener.md b/content/api/namespaces/Trace/functions/addEventListener.md index 1b6917d9..eacc9d63 100644 --- a/content/api/namespaces/Trace/functions/addEventListener.md +++ b/content/api/namespaces/Trace/functions/addEventListener.md @@ -8,7 +8,7 @@ contributors: false function addEventListener(listener: TraceEventListener): void; ``` -Defined in: [trace/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L92) +Defined in: [trace/index.d.ts:92](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L92) ## Parameters diff --git a/content/api/namespaces/Trace/functions/addWriter.md b/content/api/namespaces/Trace/functions/addWriter.md index 50ae2e1f..2e0c27c9 100644 --- a/content/api/namespaces/Trace/functions/addWriter.md +++ b/content/api/namespaces/Trace/functions/addWriter.md @@ -8,7 +8,7 @@ contributors: false function addWriter(writer: TraceWriter): void; ``` -Defined in: [trace/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L45) +Defined in: [trace/index.d.ts:45](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L45) Adds a TraceWriter instance to the trace module. diff --git a/content/api/namespaces/Trace/functions/clearWriters.md b/content/api/namespaces/Trace/functions/clearWriters.md index 92b15839..e55f97c0 100644 --- a/content/api/namespaces/Trace/functions/clearWriters.md +++ b/content/api/namespaces/Trace/functions/clearWriters.md @@ -8,7 +8,7 @@ contributors: false function clearWriters(): void; ``` -Defined in: [trace/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L56) +Defined in: [trace/index.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L56) Clears all the writers from the trace module. diff --git a/content/api/namespaces/Trace/functions/disable.md b/content/api/namespaces/Trace/functions/disable.md index ee49cb2f..dec52916 100644 --- a/content/api/namespaces/Trace/functions/disable.md +++ b/content/api/namespaces/Trace/functions/disable.md @@ -8,7 +8,7 @@ contributors: false function disable(): void; ``` -Defined in: [trace/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L32) +Defined in: [trace/index.d.ts:32](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L32) Disables the trace module. diff --git a/content/api/namespaces/Trace/functions/enable.md b/content/api/namespaces/Trace/functions/enable.md index 7b3ca77a..97276a21 100644 --- a/content/api/namespaces/Trace/functions/enable.md +++ b/content/api/namespaces/Trace/functions/enable.md @@ -8,7 +8,7 @@ contributors: false function enable(): void; ``` -Defined in: [trace/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L27) +Defined in: [trace/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L27) Enables the trace module. diff --git a/content/api/namespaces/Trace/functions/error.md b/content/api/namespaces/Trace/functions/error.md index 78717105..6066ffed 100644 --- a/content/api/namespaces/Trace/functions/error.md +++ b/content/api/namespaces/Trace/functions/error.md @@ -8,7 +8,7 @@ contributors: false function error(error: string | Error): void; ``` -Defined in: [trace/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L146) +Defined in: [trace/index.d.ts:146](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L146) Passes an error to the registered ErrorHandler diff --git a/content/api/namespaces/Trace/functions/getErrorHandler.md b/content/api/namespaces/Trace/functions/getErrorHandler.md index 243eeb78..31600a56 100644 --- a/content/api/namespaces/Trace/functions/getErrorHandler.md +++ b/content/api/namespaces/Trace/functions/getErrorHandler.md @@ -8,7 +8,7 @@ contributors: false function getErrorHandler(): TraceErrorHandler; ``` -Defined in: [trace/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L138) +Defined in: [trace/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L138) ## Returns diff --git a/content/api/namespaces/Trace/functions/isCategorySet.md b/content/api/namespaces/Trace/functions/isCategorySet.md index d688436c..58604f42 100644 --- a/content/api/namespaces/Trace/functions/isCategorySet.md +++ b/content/api/namespaces/Trace/functions/isCategorySet.md @@ -8,7 +8,7 @@ contributors: false function isCategorySet(category: string): boolean; ``` -Defined in: [trace/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L74) +Defined in: [trace/index.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L74) Check if category is already set in trace module. diff --git a/content/api/namespaces/Trace/functions/isEnabled.md b/content/api/namespaces/Trace/functions/isEnabled.md index e440b145..91f69c64 100644 --- a/content/api/namespaces/Trace/functions/isEnabled.md +++ b/content/api/namespaces/Trace/functions/isEnabled.md @@ -8,7 +8,7 @@ contributors: false function isEnabled(): boolean; ``` -Defined in: [trace/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L39) +Defined in: [trace/index.d.ts:39](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L39) A function that returns whether the tracer is enabled and there is a point in writing messages. Check this to avoid writing complex string templates. diff --git a/content/api/namespaces/Trace/functions/notifyEvent.md b/content/api/namespaces/Trace/functions/notifyEvent.md index b31b60a3..737888fc 100644 --- a/content/api/namespaces/Trace/functions/notifyEvent.md +++ b/content/api/namespaces/Trace/functions/notifyEvent.md @@ -11,7 +11,7 @@ function notifyEvent( data?: any): void; ``` -Defined in: [trace/index.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L90) +Defined in: [trace/index.d.ts:90](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L90) Notifies all the attached listeners for an event that has occurred in the sender object. diff --git a/content/api/namespaces/Trace/functions/removeEventListener.md b/content/api/namespaces/Trace/functions/removeEventListener.md index 5e25cf45..361cf4f7 100644 --- a/content/api/namespaces/Trace/functions/removeEventListener.md +++ b/content/api/namespaces/Trace/functions/removeEventListener.md @@ -8,7 +8,7 @@ contributors: false function removeEventListener(listener: TraceEventListener): void; ``` -Defined in: [trace/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L94) +Defined in: [trace/index.d.ts:94](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L94) ## Parameters diff --git a/content/api/namespaces/Trace/functions/removeWriter.md b/content/api/namespaces/Trace/functions/removeWriter.md index fc510e43..11845196 100644 --- a/content/api/namespaces/Trace/functions/removeWriter.md +++ b/content/api/namespaces/Trace/functions/removeWriter.md @@ -8,7 +8,7 @@ contributors: false function removeWriter(writer: TraceWriter): void; ``` -Defined in: [trace/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L51) +Defined in: [trace/index.d.ts:51](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L51) Removes a TraceWriter instance from the trace module. diff --git a/content/api/namespaces/Trace/functions/setCategories.md b/content/api/namespaces/Trace/functions/setCategories.md index 2f0b560f..0f0b7f11 100644 --- a/content/api/namespaces/Trace/functions/setCategories.md +++ b/content/api/namespaces/Trace/functions/setCategories.md @@ -8,7 +8,7 @@ contributors: false function setCategories(categories: string): void; ``` -Defined in: [trace/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L62) +Defined in: [trace/index.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L62) Sets the categories the module will trace. diff --git a/content/api/namespaces/Trace/functions/setErrorHandler.md b/content/api/namespaces/Trace/functions/setErrorHandler.md index ea636a45..472fc73d 100644 --- a/content/api/namespaces/Trace/functions/setErrorHandler.md +++ b/content/api/namespaces/Trace/functions/setErrorHandler.md @@ -8,7 +8,7 @@ contributors: false function setErrorHandler(handler: TraceErrorHandler): void; ``` -Defined in: [trace/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L140) +Defined in: [trace/index.d.ts:140](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L140) ## Parameters diff --git a/content/api/namespaces/Trace/functions/write.md b/content/api/namespaces/Trace/functions/write.md index fdd24025..0ec46cf9 100644 --- a/content/api/namespaces/Trace/functions/write.md +++ b/content/api/namespaces/Trace/functions/write.md @@ -11,7 +11,7 @@ function write( type?: number): void; ``` -Defined in: [trace/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L82) +Defined in: [trace/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L82) Writes a message using the available writers. diff --git a/content/api/namespaces/Trace/namespaces/categories/functions/concat.md b/content/api/namespaces/Trace/namespaces/categories/functions/concat.md index 76a504ce..554303ac 100644 --- a/content/api/namespaces/Trace/namespaces/categories/functions/concat.md +++ b/content/api/namespaces/Trace/namespaces/categories/functions/concat.md @@ -8,7 +8,7 @@ contributors: false function concat(...args: any): string; ``` -Defined in: [trace/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L127) +Defined in: [trace/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L127) ## Parameters diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/All.md b/content/api/namespaces/Trace/namespaces/categories/variables/All.md index 1920242b..c4d6bf46 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/All.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/All.md @@ -8,4 +8,4 @@ contributors: false const All: string; ``` -Defined in: [trace/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L125) +Defined in: [trace/index.d.ts:125](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L125) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Animation.md b/content/api/namespaces/Trace/namespaces/categories/variables/Animation.md index b728f82b..eb0578b5 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Animation.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Animation.md @@ -8,4 +8,4 @@ contributors: false const Animation: "Animation" = 'Animation'; ``` -Defined in: [trace/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L118) +Defined in: [trace/index.d.ts:118](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L118) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Binding.md b/content/api/namespaces/Trace/namespaces/categories/variables/Binding.md index 4bfaa330..12c149d6 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Binding.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Binding.md @@ -8,4 +8,4 @@ contributors: false const Binding: "Binding" = 'Binding'; ``` -Defined in: [trace/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L115) +Defined in: [trace/index.d.ts:115](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L115) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/BindingError.md b/content/api/namespaces/Trace/namespaces/categories/variables/BindingError.md index ba274811..77f05f12 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/BindingError.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/BindingError.md @@ -8,4 +8,4 @@ contributors: false const BindingError: "BindingError" = 'BindingError'; ``` -Defined in: [trace/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L116) +Defined in: [trace/index.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L116) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Debug.md b/content/api/namespaces/Trace/namespaces/categories/variables/Debug.md index 501d5d1a..96294905 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Debug.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Debug.md @@ -8,4 +8,4 @@ contributors: false const Debug: "Debug" = 'Debug'; ``` -Defined in: [trace/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L112) +Defined in: [trace/index.d.ts:112](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L112) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Error.md b/content/api/namespaces/Trace/namespaces/categories/variables/Error.md index ef9a6791..c2bc9b66 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Error.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Error.md @@ -8,4 +8,4 @@ contributors: false const Error: "Error" = 'Error'; ``` -Defined in: [trace/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L117) +Defined in: [trace/index.d.ts:117](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L117) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Layout.md b/content/api/namespaces/Trace/namespaces/categories/variables/Layout.md index b57305a5..f2625c95 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Layout.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Layout.md @@ -8,4 +8,4 @@ contributors: false const Layout: "Layout" = 'Layout'; ``` -Defined in: [trace/index.d.ts:108](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L108) +Defined in: [trace/index.d.ts:108](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L108) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Livesync.md b/content/api/namespaces/Trace/namespaces/categories/variables/Livesync.md index a6d3bf1d..ba11a681 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Livesync.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Livesync.md @@ -8,4 +8,4 @@ contributors: false const Livesync: "Livesync" = 'Livesync'; ``` -Defined in: [trace/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L120) +Defined in: [trace/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L120) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/MediaQuery.md b/content/api/namespaces/Trace/namespaces/categories/variables/MediaQuery.md index 7629f1bf..602490a0 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/MediaQuery.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/MediaQuery.md @@ -8,4 +8,4 @@ contributors: false const MediaQuery: "MediaQuery" = 'MediaQuery'; ``` -Defined in: [trace/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L122) +Defined in: [trace/index.d.ts:122](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L122) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver.md b/content/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver.md index f7eefb05..fb73a15c 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver.md @@ -8,4 +8,4 @@ contributors: false const ModuleNameResolver: "ModuleNameResolver" = 'ModuleNameResolver'; ``` -Defined in: [trace/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L121) +Defined in: [trace/index.d.ts:121](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L121) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle.md b/content/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle.md index 58eb7506..7acc4614 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle.md @@ -8,4 +8,4 @@ contributors: false const NativeLifecycle: "NativeLifecycle" = 'NativeLifecycle'; ``` -Defined in: [trace/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L111) +Defined in: [trace/index.d.ts:111](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L111) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Navigation.md b/content/api/namespaces/Trace/namespaces/categories/variables/Navigation.md index 9dbed854..f8facc5e 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Navigation.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Navigation.md @@ -8,4 +8,4 @@ contributors: false const Navigation: "Navigation" = 'Navigation'; ``` -Defined in: [trace/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L113) +Defined in: [trace/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L113) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Style.md b/content/api/namespaces/Trace/namespaces/categories/variables/Style.md index e41a0035..ef1b2e58 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Style.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Style.md @@ -8,4 +8,4 @@ contributors: false const Style: "Style" = 'Style'; ``` -Defined in: [trace/index.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L109) +Defined in: [trace/index.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L109) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Test.md b/content/api/namespaces/Trace/namespaces/categories/variables/Test.md index ca5b5a71..580a08ca 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Test.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Test.md @@ -8,4 +8,4 @@ contributors: false const Test: "Test" = 'Test'; ``` -Defined in: [trace/index.d.ts:114](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L114) +Defined in: [trace/index.d.ts:114](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L114) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/Transition.md b/content/api/namespaces/Trace/namespaces/categories/variables/Transition.md index fcc78ab3..e502ae1e 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/Transition.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/Transition.md @@ -8,4 +8,4 @@ contributors: false const Transition: "Transition" = 'Transition'; ``` -Defined in: [trace/index.d.ts:119](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L119) +Defined in: [trace/index.d.ts:119](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L119) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy.md b/content/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy.md index 72b15335..4ef0d2bb 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy.md @@ -8,4 +8,4 @@ contributors: false const ViewHierarchy: "ViewHierarchy" = 'ViewHierarchy'; ``` -Defined in: [trace/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L110) +Defined in: [trace/index.d.ts:110](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L110) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents.md b/content/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents.md index 7ace5df1..27e7f3be 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents.md @@ -8,4 +8,4 @@ contributors: false const VisualTreeEvents: "VisualTreeEvents" = 'VisualTreeEvents'; ``` -Defined in: [trace/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L107) +Defined in: [trace/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L107) diff --git a/content/api/namespaces/Trace/namespaces/categories/variables/separator.md b/content/api/namespaces/Trace/namespaces/categories/variables/separator.md index 8ab2c820..1096a58c 100644 --- a/content/api/namespaces/Trace/namespaces/categories/variables/separator.md +++ b/content/api/namespaces/Trace/namespaces/categories/variables/separator.md @@ -8,4 +8,4 @@ contributors: false const separator: "," = ','; ``` -Defined in: [trace/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L124) +Defined in: [trace/index.d.ts:124](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L124) diff --git a/content/api/namespaces/Trace/namespaces/messageType/variables/error.md b/content/api/namespaces/Trace/namespaces/messageType/variables/error.md index ac16444c..0c628dea 100644 --- a/content/api/namespaces/Trace/namespaces/messageType/variables/error.md +++ b/content/api/namespaces/Trace/namespaces/messageType/variables/error.md @@ -8,4 +8,4 @@ contributors: false const error: 3 = 3; ``` -Defined in: [trace/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L100) +Defined in: [trace/index.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L100) diff --git a/content/api/namespaces/Trace/namespaces/messageType/variables/info.md b/content/api/namespaces/Trace/namespaces/messageType/variables/info.md index dcb035dc..5827efe1 100644 --- a/content/api/namespaces/Trace/namespaces/messageType/variables/info.md +++ b/content/api/namespaces/Trace/namespaces/messageType/variables/info.md @@ -8,4 +8,4 @@ contributors: false const info: 1 = 1; ``` -Defined in: [trace/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L98) +Defined in: [trace/index.d.ts:98](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L98) diff --git a/content/api/namespaces/Trace/namespaces/messageType/variables/log.md b/content/api/namespaces/Trace/namespaces/messageType/variables/log.md index b7243c92..5cfe3d6f 100644 --- a/content/api/namespaces/Trace/namespaces/messageType/variables/log.md +++ b/content/api/namespaces/Trace/namespaces/messageType/variables/log.md @@ -8,4 +8,4 @@ contributors: false const log: 0 = 0; ``` -Defined in: [trace/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L97) +Defined in: [trace/index.d.ts:97](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L97) diff --git a/content/api/namespaces/Trace/namespaces/messageType/variables/warn.md b/content/api/namespaces/Trace/namespaces/messageType/variables/warn.md index 797b4d28..689555ff 100644 --- a/content/api/namespaces/Trace/namespaces/messageType/variables/warn.md +++ b/content/api/namespaces/Trace/namespaces/messageType/variables/warn.md @@ -8,4 +8,4 @@ contributors: false const warn: 2 = 2; ``` -Defined in: [trace/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/trace/index.d.ts#L99) +Defined in: [trace/index.d.ts:99](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/trace/index.d.ts#L99) diff --git a/content/api/namespaces/Utils/classes/ClassInfo.md b/content/api/namespaces/Utils/classes/ClassInfo.md index c4d6089a..dc1c2fc0 100644 --- a/content/api/namespaces/Utils/classes/ClassInfo.md +++ b/content/api/namespaces/Utils/classes/ClassInfo.md @@ -5,7 +5,7 @@ description: A Class holding information about a class contributors: false --- -Defined in: [utils/types.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L100) +Defined in: [utils/types.d.ts:100](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L100) A Class holding information about a class @@ -29,7 +29,7 @@ new ClassInfo(): ClassInfo; baseClassInfo: ClassInfo; ``` -Defined in: [utils/types.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L109) +Defined in: [utils/types.d.ts:109](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L109) Gets the ClassInfo for the base class of the current info. @@ -41,6 +41,6 @@ Gets the ClassInfo for the base class of the current info. name: string; ``` -Defined in: [utils/types.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L104) +Defined in: [utils/types.d.ts:104](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L104) Gets the name of the class. diff --git a/content/api/namespaces/Utils/classes/ScopeError.md b/content/api/namespaces/Utils/classes/ScopeError.md index 134340eb..245fb0fb 100644 --- a/content/api/namespaces/Utils/classes/ScopeError.md +++ b/content/api/namespaces/Utils/classes/ScopeError.md @@ -5,7 +5,7 @@ description: An Error class that provides additional context to an error. contributors: false --- -Defined in: [utils/debug.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L44) +Defined in: [utils/debug.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L44) An Error class that provides additional context to an error. @@ -25,7 +25,7 @@ An Error class that provides additional context to an error. new ScopeError(child: Error, message?: string): ScopeError; ``` -Defined in: [utils/debug.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L50) +Defined in: [utils/debug.d.ts:50](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L50) Creates a new ScopeError providing addtional context to the child error. diff --git a/content/api/namespaces/Utils/classes/Source.md b/content/api/namespaces/Utils/classes/Source.md index 7dc07c09..3db04d8c 100644 --- a/content/api/namespaces/Utils/classes/Source.md +++ b/content/api/namespaces/Utils/classes/Source.md @@ -5,7 +5,7 @@ description: A class encapsulating information for source code origin. contributors: false --- -Defined in: [utils/debug.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L9) +Defined in: [utils/debug.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L9) A class encapsulating information for source code origin. @@ -20,7 +20,7 @@ new Source( column: number): Source; ``` -Defined in: [utils/debug.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L13) +Defined in: [utils/debug.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L13) Creates a new Source instance by given uri, line and column. @@ -44,7 +44,7 @@ Creates a new Source instance by given uri, line and column. column: number; ``` -Defined in: [utils/debug.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L28) +Defined in: [utils/debug.d.ts:28](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L28) Gets the position in the source document. @@ -56,7 +56,7 @@ Gets the position in the source document. line: number; ``` -Defined in: [utils/debug.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L23) +Defined in: [utils/debug.d.ts:23](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L23) Gets the line in the source document. @@ -68,7 +68,7 @@ Gets the line in the source document. uri: string; ``` -Defined in: [utils/debug.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L18) +Defined in: [utils/debug.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L18) Gets the URI of the source document; @@ -80,7 +80,7 @@ Gets the URI of the source document; static get(object: any): Source; ``` -Defined in: [utils/debug.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L33) +Defined in: [utils/debug.d.ts:33](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L33) Get the source of an object. @@ -102,7 +102,7 @@ Get the source of an object. static set(object: any, src: Source): any; ``` -Defined in: [utils/debug.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L38) +Defined in: [utils/debug.d.ts:38](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L38) Set the source of an object. diff --git a/content/api/namespaces/Utils/classes/SourceError.md b/content/api/namespaces/Utils/classes/SourceError.md index 8bdc01d7..7708a4e8 100644 --- a/content/api/namespaces/Utils/classes/SourceError.md +++ b/content/api/namespaces/Utils/classes/SourceError.md @@ -5,7 +5,7 @@ description: Represents a scope error providing addiot contributors: false --- -Defined in: [utils/debug.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L56) +Defined in: [utils/debug.d.ts:56](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L56) Represents a scope error providing addiot @@ -24,7 +24,7 @@ new SourceError( message?: string): SourceError; ``` -Defined in: [utils/debug.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L63) +Defined in: [utils/debug.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L63) Creates a new SourceError by child error, source and optional message. diff --git a/content/api/namespaces/Utils/functions/GC.md b/content/api/namespaces/Utils/functions/GC.md index eb8c44c9..63aee7c3 100644 --- a/content/api/namespaces/Utils/functions/GC.md +++ b/content/api/namespaces/Utils/functions/GC.md @@ -8,7 +8,7 @@ contributors: false function GC(): any; ``` -Defined in: [utils/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L29) +Defined in: [utils/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L29) An utility function that invokes garbage collection on the JavaScript side. diff --git a/content/api/namespaces/Utils/functions/clearInterval.md b/content/api/namespaces/Utils/functions/clearInterval.md index a3780abf..b92f7863 100644 --- a/content/api/namespaces/Utils/functions/clearInterval.md +++ b/content/api/namespaces/Utils/functions/clearInterval.md @@ -8,7 +8,7 @@ contributors: false function clearInterval(id: number): void; ``` -Defined in: [timer/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/timer/index.d.ts#L27) +Defined in: [timer/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/timer/index.d.ts#L27) Clears repeated function which was set up by calling setInterval(). diff --git a/content/api/namespaces/Utils/functions/clearTimeout.md b/content/api/namespaces/Utils/functions/clearTimeout.md index cf2d84ce..24befee6 100644 --- a/content/api/namespaces/Utils/functions/clearTimeout.md +++ b/content/api/namespaces/Utils/functions/clearTimeout.md @@ -8,7 +8,7 @@ contributors: false function clearTimeout(id: number): void; ``` -Defined in: [timer/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/timer/index.d.ts#L13) +Defined in: [timer/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/timer/index.d.ts#L13) Clears the delay set by a call to the setTimeout function. diff --git a/content/api/namespaces/Utils/functions/convertString.md b/content/api/namespaces/Utils/functions/convertString.md index 7ef7eaa9..61ebd76a 100644 --- a/content/api/namespaces/Utils/functions/convertString.md +++ b/content/api/namespaces/Utils/functions/convertString.md @@ -8,7 +8,7 @@ contributors: false function convertString(value: any): any; ``` -Defined in: [utils/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L132) +Defined in: [utils/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L132) Converts string value to number or boolean. diff --git a/content/api/namespaces/Utils/functions/copyToClipboard.md b/content/api/namespaces/Utils/functions/copyToClipboard.md index 1e92acf3..630a6c0b 100644 --- a/content/api/namespaces/Utils/functions/copyToClipboard.md +++ b/content/api/namespaces/Utils/functions/copyToClipboard.md @@ -8,7 +8,7 @@ contributors: false function copyToClipboard(value: string): void; ``` -Defined in: [utils/index.d.ts:177](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L177) +Defined in: [utils/index.d.ts:177](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L177) Copy value to device clipboard. diff --git a/content/api/namespaces/Utils/functions/dataDeserialize.md b/content/api/namespaces/Utils/functions/dataDeserialize.md index 04983851..34f87caf 100644 --- a/content/api/namespaces/Utils/functions/dataDeserialize.md +++ b/content/api/namespaces/Utils/functions/dataDeserialize.md @@ -8,7 +8,7 @@ contributors: false function dataDeserialize(nativeData?: any): any; ``` -Defined in: [utils/native-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L10) +Defined in: [utils/native-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L10) Data deserialization from Native \> JS diff --git a/content/api/namespaces/Utils/functions/dataSerialize.md b/content/api/namespaces/Utils/functions/dataSerialize.md index c2c7cff1..44acd45d 100644 --- a/content/api/namespaces/Utils/functions/dataSerialize.md +++ b/content/api/namespaces/Utils/functions/dataSerialize.md @@ -8,7 +8,7 @@ contributors: false function dataSerialize(data?: any, wrapPrimitives?: boolean): any; ``` -Defined in: [utils/native-helper.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L5) +Defined in: [utils/native-helper.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L5) Data serialization from JS \> Native diff --git a/content/api/namespaces/Utils/functions/debounce.md b/content/api/namespaces/Utils/functions/debounce.md index a0892189..39dba717 100644 --- a/content/api/namespaces/Utils/functions/debounce.md +++ b/content/api/namespaces/Utils/functions/debounce.md @@ -13,7 +13,7 @@ function debounce( }): (...args: any[]) => void; ``` -Defined in: [utils/shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/shared.ts) +Defined in: [utils/shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/shared.ts) Creates a debounced function that delays invoking the provided function until after a specified delay diff --git a/content/api/namespaces/Utils/functions/dismissKeyboard.md b/content/api/namespaces/Utils/functions/dismissKeyboard.md index 17216253..01c7c5ac 100644 --- a/content/api/namespaces/Utils/functions/dismissKeyboard.md +++ b/content/api/namespaces/Utils/functions/dismissKeyboard.md @@ -8,7 +8,7 @@ contributors: false function dismissKeyboard(): void; ``` -Defined in: [utils/index.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L172) +Defined in: [utils/index.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L172) Dismiss any keyboard visible on the screen. diff --git a/content/api/namespaces/Utils/functions/dismissSoftInput.md b/content/api/namespaces/Utils/functions/dismissSoftInput.md index 09d91d69..c913d2a0 100644 --- a/content/api/namespaces/Utils/functions/dismissSoftInput.md +++ b/content/api/namespaces/Utils/functions/dismissSoftInput.md @@ -8,7 +8,7 @@ contributors: false function dismissSoftInput(nativeView?: any): void; ``` -Defined in: [utils/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L167) +Defined in: [utils/index.d.ts:167](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L167) Hides the soft input method, usually a soft keyboard. diff --git a/content/api/namespaces/Utils/functions/dispatchToMainThread.md b/content/api/namespaces/Utils/functions/dispatchToMainThread.md index fcd82236..ffed0d66 100644 --- a/content/api/namespaces/Utils/functions/dispatchToMainThread.md +++ b/content/api/namespaces/Utils/functions/dispatchToMainThread.md @@ -8,7 +8,7 @@ contributors: false function dispatchToMainThread(func: Function): any; ``` -Defined in: [utils/mainthread-helper.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/mainthread-helper.d.ts#L5) +Defined in: [utils/mainthread-helper.d.ts:5](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/mainthread-helper.d.ts#L5) Dispatches the passed function for execution on the main thread diff --git a/content/api/namespaces/Utils/functions/dispatchToUIThread.md b/content/api/namespaces/Utils/functions/dispatchToUIThread.md index 5c9fa712..7ee0a53b 100644 --- a/content/api/namespaces/Utils/functions/dispatchToUIThread.md +++ b/content/api/namespaces/Utils/functions/dispatchToUIThread.md @@ -8,7 +8,7 @@ contributors: false function dispatchToUIThread(func: Function): any; ``` -Defined in: [utils/mainthread-helper.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/mainthread-helper.d.ts#L16) +Defined in: [utils/mainthread-helper.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/mainthread-helper.d.ts#L16) Dispatches the passed function for execution on the UI thread diff --git a/content/api/namespaces/Utils/functions/eliminateDuplicates.md b/content/api/namespaces/Utils/functions/eliminateDuplicates.md index 26434fc8..524b58a9 100644 --- a/content/api/namespaces/Utils/functions/eliminateDuplicates.md +++ b/content/api/namespaces/Utils/functions/eliminateDuplicates.md @@ -8,7 +8,7 @@ contributors: false function eliminateDuplicates(arr: any[]): any[]; ``` -Defined in: [utils/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L157) +Defined in: [utils/index.d.ts:157](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L157) Removes duplicate elements from array. diff --git a/content/api/namespaces/Utils/functions/escapeRegexSymbols.md b/content/api/namespaces/Utils/functions/escapeRegexSymbols.md index 6569c37c..bfc1b834 100644 --- a/content/api/namespaces/Utils/functions/escapeRegexSymbols.md +++ b/content/api/namespaces/Utils/functions/escapeRegexSymbols.md @@ -8,7 +8,7 @@ contributors: false function escapeRegexSymbols(source: string): string; ``` -Defined in: [utils/index.d.ts:126](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L126) +Defined in: [utils/index.d.ts:126](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L126) Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it. diff --git a/content/api/namespaces/Utils/functions/executeOnMainThread.md b/content/api/namespaces/Utils/functions/executeOnMainThread.md index 8e2033f9..b54606df 100644 --- a/content/api/namespaces/Utils/functions/executeOnMainThread.md +++ b/content/api/namespaces/Utils/functions/executeOnMainThread.md @@ -8,7 +8,7 @@ contributors: false function executeOnMainThread(func: Function): any; ``` -Defined in: [utils/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L55) +Defined in: [utils/index.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L55) Checks if the current thread is the main thread. Directly calls the passed function if it is, or dispatches it to the main thread otherwise. diff --git a/content/api/namespaces/Utils/functions/executeOnUIThread.md b/content/api/namespaces/Utils/functions/executeOnUIThread.md index 8b8b2e74..bd023479 100644 --- a/content/api/namespaces/Utils/functions/executeOnUIThread.md +++ b/content/api/namespaces/Utils/functions/executeOnUIThread.md @@ -8,7 +8,7 @@ contributors: false function executeOnUIThread(func: Function): any; ``` -Defined in: [utils/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L61) +Defined in: [utils/index.d.ts:61](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L61) Runs the passed function on the UI Thread. diff --git a/content/api/namespaces/Utils/functions/getBaseClasses.md b/content/api/namespaces/Utils/functions/getBaseClasses.md index baf0b3aa..527ab4e5 100644 --- a/content/api/namespaces/Utils/functions/getBaseClasses.md +++ b/content/api/namespaces/Utils/functions/getBaseClasses.md @@ -8,7 +8,7 @@ contributors: false function getBaseClasses(object: any): string[]; ``` -Defined in: [utils/types.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L88) +Defined in: [utils/types.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L88) A function that gets the entire class hierarchy of an object. diff --git a/content/api/namespaces/Utils/functions/getClass.md b/content/api/namespaces/Utils/functions/getClass.md index 8641c558..519ce23c 100644 --- a/content/api/namespaces/Utils/functions/getClass.md +++ b/content/api/namespaces/Utils/functions/getClass.md @@ -8,7 +8,7 @@ contributors: false function getClass(object: any): string; ``` -Defined in: [utils/types.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L81) +Defined in: [utils/types.d.ts:81](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L81) A function that gets the class name of an object. diff --git a/content/api/namespaces/Utils/functions/getClassInfo.md b/content/api/namespaces/Utils/functions/getClassInfo.md index 14dbcf96..392a497c 100644 --- a/content/api/namespaces/Utils/functions/getClassInfo.md +++ b/content/api/namespaces/Utils/functions/getClassInfo.md @@ -8,7 +8,7 @@ contributors: false function getClassInfo(object: Object): ClassInfo; ``` -Defined in: [utils/types.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L95) +Defined in: [utils/types.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L95) A function that gets the ClassInfo for an object. diff --git a/content/api/namespaces/Utils/functions/getDurationWithDampingFromSpring.md b/content/api/namespaces/Utils/functions/getDurationWithDampingFromSpring.md index 1dd733ac..7e067469 100644 --- a/content/api/namespaces/Utils/functions/getDurationWithDampingFromSpring.md +++ b/content/api/namespaces/Utils/functions/getDurationWithDampingFromSpring.md @@ -16,7 +16,7 @@ function getDurationWithDampingFromSpring(springSettings?: { }; ``` -Defined in: [utils/animation-helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/animation-helpers.ts) +Defined in: [utils/animation-helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/animation-helpers.ts) Get a duration with damping value from various spring related settings. Helpful when needing to convert spring settings to isolated duration value. diff --git a/content/api/namespaces/Utils/functions/getFileExtension.md b/content/api/namespaces/Utils/functions/getFileExtension.md index aef53b44..55ec1f98 100644 --- a/content/api/namespaces/Utils/functions/getFileExtension.md +++ b/content/api/namespaces/Utils/functions/getFileExtension.md @@ -8,7 +8,7 @@ contributors: false function getFileExtension(path: string): string; ``` -Defined in: [utils/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L95) +Defined in: [utils/index.d.ts:95](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L95) Get file extension from file path diff --git a/content/api/namespaces/Utils/functions/getModuleName.md b/content/api/namespaces/Utils/functions/getModuleName.md index 96b52078..a0af79db 100644 --- a/content/api/namespaces/Utils/functions/getModuleName.md +++ b/content/api/namespaces/Utils/functions/getModuleName.md @@ -8,7 +8,7 @@ contributors: false function getModuleName(path: string): string; ``` -Defined in: [utils/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L138) +Defined in: [utils/index.d.ts:138](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L138) Gets module name from path. diff --git a/content/api/namespaces/Utils/functions/getWindow.md b/content/api/namespaces/Utils/functions/getWindow.md index c6c2e2fc..dc870e02 100644 --- a/content/api/namespaces/Utils/functions/getWindow.md +++ b/content/api/namespaces/Utils/functions/getWindow.md @@ -8,7 +8,7 @@ contributors: false function getWindow(): T; ``` -Defined in: [utils/native-helper.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L21) +Defined in: [utils/native-helper.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L21) Get the UIWindow or android.view.Window of the app diff --git a/content/api/namespaces/Utils/functions/hasDuplicates.md b/content/api/namespaces/Utils/functions/hasDuplicates.md index 218c088e..7364c873 100644 --- a/content/api/namespaces/Utils/functions/hasDuplicates.md +++ b/content/api/namespaces/Utils/functions/hasDuplicates.md @@ -8,7 +8,7 @@ contributors: false function hasDuplicates(arr: any[]): boolean; ``` -Defined in: [utils/index.d.ts:151](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L151) +Defined in: [utils/index.d.ts:151](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L151) Checks if array has any duplicate elements. diff --git a/content/api/namespaces/Utils/functions/isBoolean.md b/content/api/namespaces/Utils/functions/isBoolean.md index de0eb003..51b8a7c2 100644 --- a/content/api/namespaces/Utils/functions/isBoolean.md +++ b/content/api/namespaces/Utils/functions/isBoolean.md @@ -8,7 +8,7 @@ contributors: false function isBoolean(value: any): boolean; ``` -Defined in: [utils/types.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L20) +Defined in: [utils/types.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L20) A function that checks if something is a valid boolean. diff --git a/content/api/namespaces/Utils/functions/isDataURI.md b/content/api/namespaces/Utils/functions/isDataURI.md index 7927bf5e..4f11f08b 100644 --- a/content/api/namespaces/Utils/functions/isDataURI.md +++ b/content/api/namespaces/Utils/functions/isDataURI.md @@ -8,7 +8,7 @@ contributors: false function isDataURI(uri: string): boolean; ``` -Defined in: [utils/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L101) +Defined in: [utils/index.d.ts:101](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L101) Returns true if the specified URI is data URI (http://en.wikipedia.org/wiki/Data_URI_scheme). diff --git a/content/api/namespaces/Utils/functions/isDefined.md b/content/api/namespaces/Utils/functions/isDefined.md index e8767371..5080ed41 100644 --- a/content/api/namespaces/Utils/functions/isDefined.md +++ b/content/api/namespaces/Utils/functions/isDefined.md @@ -8,7 +8,7 @@ contributors: false function isDefined(value: any): boolean; ``` -Defined in: [utils/types.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L48) +Defined in: [utils/types.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L48) A function that checks if something is defined (not undefined). diff --git a/content/api/namespaces/Utils/functions/isEmoji.md b/content/api/namespaces/Utils/functions/isEmoji.md index e07fbad1..2a30cb0b 100644 --- a/content/api/namespaces/Utils/functions/isEmoji.md +++ b/content/api/namespaces/Utils/functions/isEmoji.md @@ -8,7 +8,7 @@ contributors: false function isEmoji(value: string): boolean; ``` -Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/common.ts) +Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/common.ts) ## Parameters diff --git a/content/api/namespaces/Utils/functions/isFileOrResourcePath.md b/content/api/namespaces/Utils/functions/isFileOrResourcePath.md index 54738f6e..56a9c8a8 100644 --- a/content/api/namespaces/Utils/functions/isFileOrResourcePath.md +++ b/content/api/namespaces/Utils/functions/isFileOrResourcePath.md @@ -8,7 +8,7 @@ contributors: false function isFileOrResourcePath(path: string): boolean; ``` -Defined in: [utils/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L88) +Defined in: [utils/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L88) Returns true if the specified path points to a resource or local file. diff --git a/content/api/namespaces/Utils/functions/isFontIconURI.md b/content/api/namespaces/Utils/functions/isFontIconURI.md index 9aec601e..806fc22b 100644 --- a/content/api/namespaces/Utils/functions/isFontIconURI.md +++ b/content/api/namespaces/Utils/functions/isFontIconURI.md @@ -8,7 +8,7 @@ contributors: false function isFontIconURI(uri: string): boolean; ``` -Defined in: [utils/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L76) +Defined in: [utils/index.d.ts:76](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L76) Returns true if the specified URI is a font icon URI like "fontIcon://". diff --git a/content/api/namespaces/Utils/functions/isFunction.md b/content/api/namespaces/Utils/functions/isFunction.md index 74ab6fe1..6dae567d 100644 --- a/content/api/namespaces/Utils/functions/isFunction.md +++ b/content/api/namespaces/Utils/functions/isFunction.md @@ -8,7 +8,7 @@ contributors: false function isFunction(value: any): boolean; ``` -Defined in: [utils/types.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L27) +Defined in: [utils/types.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L27) A function that checks if something is a function. diff --git a/content/api/namespaces/Utils/functions/isMainThread.md b/content/api/namespaces/Utils/functions/isMainThread.md index cb116a51..59c20808 100644 --- a/content/api/namespaces/Utils/functions/isMainThread.md +++ b/content/api/namespaces/Utils/functions/isMainThread.md @@ -8,7 +8,7 @@ contributors: false function isMainThread(): boolean; ``` -Defined in: [utils/mainthread-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/mainthread-helper.d.ts#L10) +Defined in: [utils/mainthread-helper.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/mainthread-helper.d.ts#L10) ## Returns diff --git a/content/api/namespaces/Utils/functions/isNullOrUndefined.md b/content/api/namespaces/Utils/functions/isNullOrUndefined.md index 56b58729..a772eb53 100644 --- a/content/api/namespaces/Utils/functions/isNullOrUndefined.md +++ b/content/api/namespaces/Utils/functions/isNullOrUndefined.md @@ -8,7 +8,7 @@ contributors: false function isNullOrUndefined(value: any): boolean; ``` -Defined in: [utils/types.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L55) +Defined in: [utils/types.d.ts:55](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L55) A function that checks if something is not defined (null or undefined). diff --git a/content/api/namespaces/Utils/functions/isNumber.md b/content/api/namespaces/Utils/functions/isNumber.md index 3184df07..100e2eb2 100644 --- a/content/api/namespaces/Utils/functions/isNumber.md +++ b/content/api/namespaces/Utils/functions/isNumber.md @@ -8,7 +8,7 @@ contributors: false function isNumber(value: any): boolean; ``` -Defined in: [utils/types.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L13) +Defined in: [utils/types.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L13) A function that checks if something is a valid number. diff --git a/content/api/namespaces/Utils/functions/isObject.md b/content/api/namespaces/Utils/functions/isObject.md index 59a5a73c..af20b849 100644 --- a/content/api/namespaces/Utils/functions/isObject.md +++ b/content/api/namespaces/Utils/functions/isObject.md @@ -8,7 +8,7 @@ contributors: false function isObject(value: any): boolean; ``` -Defined in: [utils/types.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L34) +Defined in: [utils/types.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L34) A function that checks if something is an object. diff --git a/content/api/namespaces/Utils/functions/isRealDevice.md b/content/api/namespaces/Utils/functions/isRealDevice.md index adb0bb57..c1f68db6 100644 --- a/content/api/namespaces/Utils/functions/isRealDevice.md +++ b/content/api/namespaces/Utils/functions/isRealDevice.md @@ -8,7 +8,7 @@ contributors: false function isRealDevice(): boolean; ``` -Defined in: [utils/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L162) +Defined in: [utils/index.d.ts:162](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L162) Checks whether the application is running on real device and not on simulator/emulator. diff --git a/content/api/namespaces/Utils/functions/isString.md b/content/api/namespaces/Utils/functions/isString.md index fc5f4de1..307525e5 100644 --- a/content/api/namespaces/Utils/functions/isString.md +++ b/content/api/namespaces/Utils/functions/isString.md @@ -8,7 +8,7 @@ contributors: false function isString(value: any): boolean; ``` -Defined in: [utils/types.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L6) +Defined in: [utils/types.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L6) A function that checks if something is a valid string. diff --git a/content/api/namespaces/Utils/functions/isSystemURI.md b/content/api/namespaces/Utils/functions/isSystemURI.md index ddbafb4a..d6d3e89b 100644 --- a/content/api/namespaces/Utils/functions/isSystemURI.md +++ b/content/api/namespaces/Utils/functions/isSystemURI.md @@ -8,7 +8,7 @@ contributors: false function isSystemURI(uri: string): boolean; ``` -Defined in: [utils/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L82) +Defined in: [utils/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L82) Returns true if the specified URI is a system URI like "sys://...". diff --git a/content/api/namespaces/Utils/functions/isUndefined.md b/content/api/namespaces/Utils/functions/isUndefined.md index 78ae05c4..a5801655 100644 --- a/content/api/namespaces/Utils/functions/isUndefined.md +++ b/content/api/namespaces/Utils/functions/isUndefined.md @@ -8,7 +8,7 @@ contributors: false function isUndefined(value: any): boolean; ``` -Defined in: [utils/types.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L41) +Defined in: [utils/types.d.ts:41](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L41) A function that checks if something is "undefined". diff --git a/content/api/namespaces/Utils/functions/mainThreadify.md b/content/api/namespaces/Utils/functions/mainThreadify.md index 08d17741..71942a8e 100644 --- a/content/api/namespaces/Utils/functions/mainThreadify.md +++ b/content/api/namespaces/Utils/functions/mainThreadify.md @@ -8,7 +8,7 @@ contributors: false function mainThreadify(func: Function): (...args: any[]) => void; ``` -Defined in: [utils/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L70) +Defined in: [utils/index.d.ts:70](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L70) Returns a function wrapper which executes the supplied function on the main thread. The wrapper behaves like the original function and passes all of its arguments BUT diff --git a/content/api/namespaces/Utils/functions/merge.md b/content/api/namespaces/Utils/functions/merge.md index cea42994..69b27deb 100644 --- a/content/api/namespaces/Utils/functions/merge.md +++ b/content/api/namespaces/Utils/functions/merge.md @@ -11,7 +11,7 @@ function merge( compareFunc: any): any[]; ``` -Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/common.ts) +Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/common.ts) ## Parameters diff --git a/content/api/namespaces/Utils/functions/mergeSort.md b/content/api/namespaces/Utils/functions/mergeSort.md index 41552550..cc90b9d3 100644 --- a/content/api/namespaces/Utils/functions/mergeSort.md +++ b/content/api/namespaces/Utils/functions/mergeSort.md @@ -8,7 +8,7 @@ contributors: false function mergeSort(arr: any[], compareFunc: (a: any, b: any) => number): any[]; ``` -Defined in: [utils/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L145) +Defined in: [utils/index.d.ts:145](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L145) Sorts an array by using merge sort algorithm (which ensures stable sort since the built-in Array.sort() does not promise a stable sort). diff --git a/content/api/namespaces/Utils/functions/numberHasDecimals.md b/content/api/namespaces/Utils/functions/numberHasDecimals.md index 771ba133..61147096 100644 --- a/content/api/namespaces/Utils/functions/numberHasDecimals.md +++ b/content/api/namespaces/Utils/functions/numberHasDecimals.md @@ -8,7 +8,7 @@ contributors: false function numberHasDecimals(value: number): boolean; ``` -Defined in: [utils/types.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L68) +Defined in: [utils/types.d.ts:68](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L68) Checks if the number has decimals diff --git a/content/api/namespaces/Utils/functions/numberIs64Bit.md b/content/api/namespaces/Utils/functions/numberIs64Bit.md index fcd830ec..6d69f703 100644 --- a/content/api/namespaces/Utils/functions/numberIs64Bit.md +++ b/content/api/namespaces/Utils/functions/numberIs64Bit.md @@ -8,7 +8,7 @@ contributors: false function numberIs64Bit(value: number): boolean; ``` -Defined in: [utils/types.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L74) +Defined in: [utils/types.d.ts:74](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L74) Checks if the number is 64 bit diff --git a/content/api/namespaces/Utils/functions/openFile.md b/content/api/namespaces/Utils/functions/openFile.md index 03a25c2e..8883a746 100644 --- a/content/api/namespaces/Utils/functions/openFile.md +++ b/content/api/namespaces/Utils/functions/openFile.md @@ -8,7 +8,7 @@ contributors: false function openFile(filePath: string, title?: string): boolean; ``` -Defined in: [utils/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L120) +Defined in: [utils/index.d.ts:120](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L120) Opens file. diff --git a/content/api/namespaces/Utils/functions/openUrl.md b/content/api/namespaces/Utils/functions/openUrl.md index bc06a965..216690b6 100644 --- a/content/api/namespaces/Utils/functions/openUrl.md +++ b/content/api/namespaces/Utils/functions/openUrl.md @@ -8,7 +8,7 @@ contributors: false function openUrl(url: string): boolean; ``` -Defined in: [utils/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L107) +Defined in: [utils/index.d.ts:107](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L107) Opens url. diff --git a/content/api/namespaces/Utils/functions/openUrlAsync.md b/content/api/namespaces/Utils/functions/openUrlAsync.md index 95cb93da..b990437d 100644 --- a/content/api/namespaces/Utils/functions/openUrlAsync.md +++ b/content/api/namespaces/Utils/functions/openUrlAsync.md @@ -8,7 +8,7 @@ contributors: false function openUrlAsync(url: string): Promise; ``` -Defined in: [utils/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L113) +Defined in: [utils/index.d.ts:113](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L113) Opens url asynchronously. diff --git a/content/api/namespaces/Utils/functions/queueGC.md b/content/api/namespaces/Utils/functions/queueGC.md index fe5cb093..b963fc37 100644 --- a/content/api/namespaces/Utils/functions/queueGC.md +++ b/content/api/namespaces/Utils/functions/queueGC.md @@ -8,7 +8,7 @@ contributors: false function queueGC(delay?: number, useThrottle?: boolean): any; ``` -Defined in: [utils/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L36) +Defined in: [utils/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L36) An utility function that queues a garbage collection, multiple calls in quick succession are debounced by default and only one gc will be executed after 900ms. diff --git a/content/api/namespaces/Utils/functions/queueMacrotask.md b/content/api/namespaces/Utils/functions/queueMacrotask.md index 5878bb33..fc99c391 100644 --- a/content/api/namespaces/Utils/functions/queueMacrotask.md +++ b/content/api/namespaces/Utils/functions/queueMacrotask.md @@ -8,7 +8,7 @@ contributors: false function queueMacrotask(task: () => void): void; ``` -Defined in: [utils/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L48) +Defined in: [utils/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L48) Queues the passed function to be ran in a macroTask diff --git a/content/api/namespaces/Utils/functions/releaseNativeObject.md b/content/api/namespaces/Utils/functions/releaseNativeObject.md index 35a61d50..e0a93d90 100644 --- a/content/api/namespaces/Utils/functions/releaseNativeObject.md +++ b/content/api/namespaces/Utils/functions/releaseNativeObject.md @@ -8,7 +8,7 @@ contributors: false function releaseNativeObject(object: any): any; ``` -Defined in: [utils/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L42) +Defined in: [utils/index.d.ts:42](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L42) Releases the reference to the wrapped native object diff --git a/content/api/namespaces/Utils/functions/sanitizeModuleName.md b/content/api/namespaces/Utils/functions/sanitizeModuleName.md index 49e3c7fc..c1a7b72a 100644 --- a/content/api/namespaces/Utils/functions/sanitizeModuleName.md +++ b/content/api/namespaces/Utils/functions/sanitizeModuleName.md @@ -8,7 +8,7 @@ contributors: false function sanitizeModuleName(moduleName: string, removeExtension?: boolean): string; ``` -Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/common.ts) +Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/common.ts) Helps sanitize a module name if it is prefixed with '~/', '~' or '/' diff --git a/content/api/namespaces/Utils/functions/setInterval.md b/content/api/namespaces/Utils/functions/setInterval.md index ffb37dc5..b286c1e1 100644 --- a/content/api/namespaces/Utils/functions/setInterval.md +++ b/content/api/namespaces/Utils/functions/setInterval.md @@ -11,7 +11,7 @@ function setInterval( args: any[]): number; ``` -Defined in: [timer/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/timer/index.d.ts#L21) +Defined in: [timer/index.d.ts:21](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/timer/index.d.ts#L21) Calls a function repeatedly with a delay between each call. diff --git a/content/api/namespaces/Utils/functions/setTimeout.md b/content/api/namespaces/Utils/functions/setTimeout.md index 0bfc1185..11338485 100644 --- a/content/api/namespaces/Utils/functions/setTimeout.md +++ b/content/api/namespaces/Utils/functions/setTimeout.md @@ -11,7 +11,7 @@ function setTimeout( args: any[]): number; ``` -Defined in: [timer/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/timer/index.d.ts#L7) +Defined in: [timer/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/timer/index.d.ts#L7) Calls a function after a specified delay. diff --git a/content/api/namespaces/Utils/functions/supportsGlass.md b/content/api/namespaces/Utils/functions/supportsGlass.md index bc1f6c82..cf50e9f0 100644 --- a/content/api/namespaces/Utils/functions/supportsGlass.md +++ b/content/api/namespaces/Utils/functions/supportsGlass.md @@ -8,7 +8,7 @@ contributors: false function supportsGlass(): boolean; ``` -Defined in: [utils/constants.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/constants.d.ts#L2) +Defined in: [utils/constants.d.ts:2](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/constants.d.ts#L2) ## Returns diff --git a/content/api/namespaces/Utils/functions/throttle.md b/content/api/namespaces/Utils/functions/throttle.md index cc796099..5761baad 100644 --- a/content/api/namespaces/Utils/functions/throttle.md +++ b/content/api/namespaces/Utils/functions/throttle.md @@ -8,7 +8,7 @@ contributors: false function throttle(fn: Function, delay?: number): (...args: any[]) => void; ``` -Defined in: [utils/shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/shared.ts) +Defined in: [utils/shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/shared.ts) Creates a throttled function that only invokes the provided function at most once per specified delay diff --git a/content/api/namespaces/Utils/functions/toUIString.md b/content/api/namespaces/Utils/functions/toUIString.md index 28f55192..299b5cf1 100644 --- a/content/api/namespaces/Utils/functions/toUIString.md +++ b/content/api/namespaces/Utils/functions/toUIString.md @@ -8,7 +8,7 @@ contributors: false function toUIString(object: any): string; ``` -Defined in: [utils/types.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L116) +Defined in: [utils/types.d.ts:116](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L116) Returns a string representation of an object to be shown in UI. diff --git a/content/api/namespaces/Utils/functions/verifyCallback.md b/content/api/namespaces/Utils/functions/verifyCallback.md index bb6ef400..533fdc12 100644 --- a/content/api/namespaces/Utils/functions/verifyCallback.md +++ b/content/api/namespaces/Utils/functions/verifyCallback.md @@ -8,7 +8,7 @@ contributors: false function verifyCallback(value: any): void; ``` -Defined in: [utils/types.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/types.d.ts#L62) +Defined in: [utils/types.d.ts:62](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/types.d.ts#L62) A function that checks if something is a valid function. diff --git a/content/api/namespaces/Utils/index.md b/content/api/namespaces/Utils/index.md index 1e1800f6..18ca4d0b 100644 --- a/content/api/namespaces/Utils/index.md +++ b/content/api/namespaces/Utils/index.md @@ -23,7 +23,7 @@ contributors: false | Type Alias | Description | | ------ | ------ | -| [NativeWindow](type-aliases/NativeWindow.md) | - | +| [PlatformWindow](type-aliases/PlatformWindow.md) | - | ## Variables diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity.md b/content/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity.md index 50f6e0a8..7ff6056b 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity.md @@ -8,7 +8,7 @@ contributors: false function getDisplayDensity(): number; ``` -Defined in: [utils/layout-helper/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L53) +Defined in: [utils/layout-helper/index.d.ts:53](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L53) Gets display density for the current device. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode.md b/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode.md index fa6e6401..9499204d 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode.md @@ -8,7 +8,7 @@ contributors: false function getMeasureSpecMode(spec: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L30) +Defined in: [utils/layout-helper/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L30) Gets measure specification mode from a given specification. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize.md b/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize.md index 340ddd50..560e5199 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize.md @@ -8,7 +8,7 @@ contributors: false function getMeasureSpecSize(spec: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L36) +Defined in: [utils/layout-helper/index.d.ts:36](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L36) Gets measure specification size from a given specification. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/getMode.md b/content/api/namespaces/Utils/namespaces/layout/functions/getMode.md index c0010c1f..e1906cbd 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/getMode.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/getMode.md @@ -8,7 +8,7 @@ contributors: false function getMode(mode: number): string; ``` -Defined in: [utils/layout-helper/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L24) +Defined in: [utils/layout-helper/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L24) Gets layout mode from a given specification as string. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport.md b/content/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport.md index d4cd7ec7..9ddfd84c 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport.md @@ -8,7 +8,7 @@ contributors: false function hasRtlSupport(): boolean; ``` -Defined in: [utils/layout-helper/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L48) +Defined in: [utils/layout-helper/index.d.ts:48](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L48) Checks whether application has RTL support. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec.md b/content/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec.md index 67249943..1bff24a5 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec.md @@ -8,7 +8,7 @@ contributors: false function makeMeasureSpec(px: number, mode: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L43) +Defined in: [utils/layout-helper/index.d.ts:43](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L43) Creates measure specification size from size and mode. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/measureNativeView.md b/content/api/namespaces/Utils/namespaces/layout/functions/measureNativeView.md index 6b693e5c..f89ce25a 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/measureNativeView.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/measureNativeView.md @@ -16,7 +16,7 @@ function measureNativeView( }; ``` -Defined in: [utils/layout-helper/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L82) +Defined in: [utils/layout-helper/index.d.ts:82](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L82) Converts device pixels to device independent pixes and measure the nativeView. Returns the desired size of the nativeView in device pixels. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString.md b/content/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString.md index b531afac..be9d7f37 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString.md @@ -8,7 +8,7 @@ contributors: false function measureSpecToString(measureSpec: number): string; ``` -Defined in: [utils/layout-helper/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L88) +Defined in: [utils/layout-helper/index.d.ts:88](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L88) Prints user friendly version of the measureSpec. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/round.md b/content/api/namespaces/Utils/namespaces/layout/functions/round.md index e8986437..bb0f9b92 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/round.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/round.md @@ -8,7 +8,7 @@ contributors: false function round(px: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L71) +Defined in: [utils/layout-helper/index.d.ts:71](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L71) Rounds value used in layout. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels.md b/content/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels.md index 49eeb55b..08111f71 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels.md @@ -8,7 +8,7 @@ contributors: false function toDeviceIndependentPixels(value: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L65) +Defined in: [utils/layout-helper/index.d.ts:65](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L65) Convert device pixels to device independent pixels - px to dip. diff --git a/content/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels.md b/content/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels.md index e224e554..ff03585b 100644 --- a/content/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels.md +++ b/content/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels.md @@ -8,7 +8,7 @@ contributors: false function toDevicePixels(value: number): number; ``` -Defined in: [utils/layout-helper/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L59) +Defined in: [utils/layout-helper/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L59) Convert device independent pixels to device pixels - dip to px. diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/AT_MOST.md b/content/api/namespaces/Utils/namespaces/layout/variables/AT_MOST.md index 6b534501..918f377f 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/AT_MOST.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/AT_MOST.md @@ -8,4 +8,4 @@ contributors: false const AT_MOST: number; ``` -Defined in: [utils/layout-helper/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L14) +Defined in: [utils/layout-helper/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L14) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/EXACTLY.md b/content/api/namespaces/Utils/namespaces/layout/variables/EXACTLY.md index 2a1a5697..b30f23a7 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/EXACTLY.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/EXACTLY.md @@ -8,4 +8,4 @@ contributors: false const EXACTLY: number; ``` -Defined in: [utils/layout-helper/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L13) +Defined in: [utils/layout-helper/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L13) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT.md b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT.md index d4c36b43..9801279e 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT.md @@ -8,4 +8,4 @@ contributors: false const MEASURED_HEIGHT_STATE_SHIFT: number; ``` -Defined in: [utils/layout-helper/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L15) +Defined in: [utils/layout-helper/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L15) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK.md b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK.md index 49fea083..3b64d25d 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK.md @@ -8,4 +8,4 @@ contributors: false const MEASURED_SIZE_MASK: number; ``` -Defined in: [utils/layout-helper/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L18) +Defined in: [utils/layout-helper/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L18) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK.md b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK.md index 40f48f49..324063f0 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK.md @@ -8,4 +8,4 @@ contributors: false const MEASURED_STATE_MASK: number; ``` -Defined in: [utils/layout-helper/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L17) +Defined in: [utils/layout-helper/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L17) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL.md b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL.md index 965e2e9c..bb814cd4 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL.md @@ -8,4 +8,4 @@ contributors: false const MEASURED_STATE_TOO_SMALL: number; ``` -Defined in: [utils/layout-helper/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L16) +Defined in: [utils/layout-helper/index.d.ts:16](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L16) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK.md b/content/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK.md index 5997e293..665edf51 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK.md @@ -8,4 +8,4 @@ contributors: false const MODE_MASK: number; ``` -Defined in: [utils/layout-helper/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L11) +Defined in: [utils/layout-helper/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L11) diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT.md b/content/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT.md index 8d8d35dd..1d032ba4 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT.md @@ -9,6 +9,6 @@ contributors: false const MODE_SHIFT: number; ``` -Defined in: [utils/layout-helper/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L10) +Defined in: [utils/layout-helper/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L10) Bits that provide the actual measured size. diff --git a/content/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED.md b/content/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED.md index fe3565fa..8324d2a5 100644 --- a/content/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED.md +++ b/content/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED.md @@ -8,4 +8,4 @@ contributors: false const UNSPECIFIED: number; ``` -Defined in: [utils/layout-helper/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/layout-helper/index.d.ts#L12) +Defined in: [utils/layout-helper/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/layout-helper/index.d.ts#L12) diff --git a/content/api/namespaces/Utils/type-aliases/NativeWindow.md b/content/api/namespaces/Utils/type-aliases/NativeWindow.md deleted file mode 100644 index c714fa04..00000000 --- a/content/api/namespaces/Utils/type-aliases/NativeWindow.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: NativeWindow -titleTemplate: :title - API / NativeScript -contributors: false ---- - -```ts -type NativeWindow = android.view.Window | UIWindow; -``` - -Defined in: [utils/native-helper.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L17) diff --git a/content/api/namespaces/Utils/type-aliases/PlatformWindow.md b/content/api/namespaces/Utils/type-aliases/PlatformWindow.md new file mode 100644 index 00000000..fd1e9541 --- /dev/null +++ b/content/api/namespaces/Utils/type-aliases/PlatformWindow.md @@ -0,0 +1,11 @@ +--- +title: PlatformWindow +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +type PlatformWindow = android.view.Window | UIWindow; +``` + +Defined in: [utils/native-helper.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L17) diff --git a/content/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS.md b/content/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS.md index d3c44378..b4985188 100644 --- a/content/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS.md +++ b/content/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS.md @@ -17,7 +17,7 @@ const CORE_ANIMATION_DEFAULTS: { }; ``` -Defined in: [utils/animation-helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/animation-helpers.ts) +Defined in: [utils/animation-helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/animation-helpers.ts) Default animation values used throughout core diff --git a/content/api/namespaces/Utils/variables/FILE_PREFIX.md b/content/api/namespaces/Utils/variables/FILE_PREFIX.md index 61b4bc77..5899fa07 100644 --- a/content/api/namespaces/Utils/variables/FILE_PREFIX.md +++ b/content/api/namespaces/Utils/variables/FILE_PREFIX.md @@ -8,4 +8,4 @@ contributors: false const FILE_PREFIX: string; ``` -Defined in: [utils/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L14) +Defined in: [utils/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L14) diff --git a/content/api/namespaces/Utils/variables/FONT_PREFIX.md b/content/api/namespaces/Utils/variables/FONT_PREFIX.md index a581bbe2..862f1ff4 100644 --- a/content/api/namespaces/Utils/variables/FONT_PREFIX.md +++ b/content/api/namespaces/Utils/variables/FONT_PREFIX.md @@ -8,4 +8,4 @@ contributors: false const FONT_PREFIX: "font://" = "font://"; ``` -Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/common.ts) +Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/common.ts) diff --git a/content/api/namespaces/Utils/variables/RESOURCE_PREFIX.md b/content/api/namespaces/Utils/variables/RESOURCE_PREFIX.md index 745904ff..e0690597 100644 --- a/content/api/namespaces/Utils/variables/RESOURCE_PREFIX.md +++ b/content/api/namespaces/Utils/variables/RESOURCE_PREFIX.md @@ -8,4 +8,4 @@ contributors: false const RESOURCE_PREFIX: string; ``` -Defined in: [utils/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/index.d.ts#L13) +Defined in: [utils/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/index.d.ts#L13) diff --git a/content/api/namespaces/Utils/variables/SDK_VERSION.md b/content/api/namespaces/Utils/variables/SDK_VERSION.md index d22012bf..0c5d36fc 100644 --- a/content/api/namespaces/Utils/variables/SDK_VERSION.md +++ b/content/api/namespaces/Utils/variables/SDK_VERSION.md @@ -8,4 +8,4 @@ contributors: false const SDK_VERSION: number; ``` -Defined in: [utils/constants.d.ts:1](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/constants.d.ts#L1) +Defined in: [utils/constants.d.ts:1](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/constants.d.ts#L1) diff --git a/content/api/namespaces/Utils/variables/SYSTEM_PREFIX.md b/content/api/namespaces/Utils/variables/SYSTEM_PREFIX.md index eae5f51a..e4dd8d3a 100644 --- a/content/api/namespaces/Utils/variables/SYSTEM_PREFIX.md +++ b/content/api/namespaces/Utils/variables/SYSTEM_PREFIX.md @@ -8,4 +8,4 @@ contributors: false const SYSTEM_PREFIX: "sys://" = "sys://"; ``` -Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/common.ts) +Defined in: [utils/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/common.ts) diff --git a/content/api/namespaces/Utils/variables/ad.md b/content/api/namespaces/Utils/variables/ad.md index 52f9a900..914ee082 100644 --- a/content/api/namespaces/Utils/variables/ad.md +++ b/content/api/namespaces/Utils/variables/ad.md @@ -35,7 +35,7 @@ const ad: { } = android; ``` -Defined in: [utils/native-helper.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L172) +Defined in: [utils/native-helper.d.ts:172](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L172) ## Type Declaration diff --git a/content/api/namespaces/Utils/variables/android.md b/content/api/namespaces/Utils/variables/android.md index e70f1109..ed4c89af 100644 --- a/content/api/namespaces/Utils/variables/android.md +++ b/content/api/namespaces/Utils/variables/android.md @@ -36,7 +36,7 @@ const android: { }; ``` -Defined in: [utils/native-helper.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L26) +Defined in: [utils/native-helper.d.ts:26](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L26) Utilities related to Android. diff --git a/content/api/namespaces/Utils/variables/debug.md b/content/api/namespaces/Utils/variables/debug.md index 2f05a17e..5ca74d8b 100644 --- a/content/api/namespaces/Utils/variables/debug.md +++ b/content/api/namespaces/Utils/variables/debug.md @@ -9,6 +9,6 @@ contributors: false debug: boolean; ``` -Defined in: [utils/debug.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/debug.d.ts#L4) +Defined in: [utils/debug.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/debug.d.ts#L4) A runtime option indicating whether the build has debugging enabled. diff --git a/content/api/namespaces/Utils/variables/iOSNativeHelper.md b/content/api/namespaces/Utils/variables/iOSNativeHelper.md index a27baa21..ef52f085 100644 --- a/content/api/namespaces/Utils/variables/iOSNativeHelper.md +++ b/content/api/namespaces/Utils/variables/iOSNativeHelper.md @@ -40,7 +40,7 @@ const iOSNativeHelper: { } = ios; ``` -Defined in: [utils/native-helper.d.ts:285](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L285) +Defined in: [utils/native-helper.d.ts:285](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L285) ## Type Declaration diff --git a/content/api/namespaces/Utils/variables/ios.md b/content/api/namespaces/Utils/variables/ios.md index 8df776da..dae8c488 100644 --- a/content/api/namespaces/Utils/variables/ios.md +++ b/content/api/namespaces/Utils/variables/ios.md @@ -41,7 +41,7 @@ const ios: { }; ``` -Defined in: [utils/native-helper.d.ts:177](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/utils/native-helper.d.ts#L177) +Defined in: [utils/native-helper.d.ts:177](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/utils/native-helper.d.ts#L177) Utilities related to iOS. diff --git a/content/api/namespaces/capitalizationType/variables/all.md b/content/api/namespaces/capitalizationType/variables/all.md index e36b625e..4231ca6b 100644 --- a/content/api/namespaces/capitalizationType/variables/all.md +++ b/content/api/namespaces/capitalizationType/variables/all.md @@ -9,6 +9,6 @@ contributors: false const all: string; ``` -Defined in: [ui/dialogs/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L49) +Defined in: [ui/dialogs/index.d.ts:49](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L49) Capitalizes every character. diff --git a/content/api/namespaces/capitalizationType/variables/none.md b/content/api/namespaces/capitalizationType/variables/none.md index fcf771a3..0511cbb6 100644 --- a/content/api/namespaces/capitalizationType/variables/none.md +++ b/content/api/namespaces/capitalizationType/variables/none.md @@ -9,6 +9,6 @@ contributors: false const none: string; ``` -Defined in: [ui/dialogs/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L44) +Defined in: [ui/dialogs/index.d.ts:44](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L44) No automatic capitalization. diff --git a/content/api/namespaces/capitalizationType/variables/sentences.md b/content/api/namespaces/capitalizationType/variables/sentences.md index 617bb77a..4f1b565a 100644 --- a/content/api/namespaces/capitalizationType/variables/sentences.md +++ b/content/api/namespaces/capitalizationType/variables/sentences.md @@ -9,6 +9,6 @@ contributors: false const sentences: string; ``` -Defined in: [ui/dialogs/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L54) +Defined in: [ui/dialogs/index.d.ts:54](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L54) Capitalize the first word of each sentence. diff --git a/content/api/namespaces/capitalizationType/variables/words.md b/content/api/namespaces/capitalizationType/variables/words.md index ccf14861..2f2fcb71 100644 --- a/content/api/namespaces/capitalizationType/variables/words.md +++ b/content/api/namespaces/capitalizationType/variables/words.md @@ -9,6 +9,6 @@ contributors: false const words: string; ``` -Defined in: [ui/dialogs/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L59) +Defined in: [ui/dialogs/index.d.ts:59](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L59) Capitalize the first letter of every word. diff --git a/content/api/namespaces/encoding/variables/ISO_8859_1.md b/content/api/namespaces/encoding/variables/ISO_8859_1.md index 0b72e618..fb59ac2b 100644 --- a/content/api/namespaces/encoding/variables/ISO_8859_1.md +++ b/content/api/namespaces/encoding/variables/ISO_8859_1.md @@ -9,6 +9,6 @@ contributors: false const ISO_8859_1: any; ``` -Defined in: [text/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L10) +Defined in: [text/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L10) Denotes ISO-8859-1 character encoding. diff --git a/content/api/namespaces/encoding/variables/US_ASCII.md b/content/api/namespaces/encoding/variables/US_ASCII.md index d7a80e39..b0656c58 100644 --- a/content/api/namespaces/encoding/variables/US_ASCII.md +++ b/content/api/namespaces/encoding/variables/US_ASCII.md @@ -9,6 +9,6 @@ contributors: false const US_ASCII: any; ``` -Defined in: [text/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L15) +Defined in: [text/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L15) Denotes US_ASCII character encoding. diff --git a/content/api/namespaces/encoding/variables/UTF_16.md b/content/api/namespaces/encoding/variables/UTF_16.md index b443b117..ced83826 100644 --- a/content/api/namespaces/encoding/variables/UTF_16.md +++ b/content/api/namespaces/encoding/variables/UTF_16.md @@ -9,6 +9,6 @@ contributors: false const UTF_16: any; ``` -Defined in: [text/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L20) +Defined in: [text/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L20) Denotes UTF_16 character encoding. diff --git a/content/api/namespaces/encoding/variables/UTF_16BE.md b/content/api/namespaces/encoding/variables/UTF_16BE.md index b88a208c..39575288 100644 --- a/content/api/namespaces/encoding/variables/UTF_16BE.md +++ b/content/api/namespaces/encoding/variables/UTF_16BE.md @@ -9,6 +9,6 @@ contributors: false const UTF_16BE: any; ``` -Defined in: [text/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L25) +Defined in: [text/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L25) Denotes UTF_16BE character encoding. diff --git a/content/api/namespaces/encoding/variables/UTF_16LE.md b/content/api/namespaces/encoding/variables/UTF_16LE.md index 16e9c641..1f13e013 100644 --- a/content/api/namespaces/encoding/variables/UTF_16LE.md +++ b/content/api/namespaces/encoding/variables/UTF_16LE.md @@ -9,6 +9,6 @@ contributors: false const UTF_16LE: any; ``` -Defined in: [text/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L30) +Defined in: [text/index.d.ts:30](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L30) Denotes UTF_16LE character encoding. diff --git a/content/api/namespaces/encoding/variables/UTF_8.md b/content/api/namespaces/encoding/variables/UTF_8.md index b94c6d43..5000b548 100644 --- a/content/api/namespaces/encoding/variables/UTF_8.md +++ b/content/api/namespaces/encoding/variables/UTF_8.md @@ -9,6 +9,6 @@ contributors: false const UTF_8: any; ``` -Defined in: [text/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/text/index.d.ts#L35) +Defined in: [text/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/text/index.d.ts#L35) Denotes UTF_8 character encoding. diff --git a/content/api/namespaces/inputType/variables/decimal.md b/content/api/namespaces/inputType/variables/decimal.md index b9794de3..649b26f5 100644 --- a/content/api/namespaces/inputType/variables/decimal.md +++ b/content/api/namespaces/inputType/variables/decimal.md @@ -9,6 +9,6 @@ contributors: false const decimal: string; ``` -Defined in: [ui/dialogs/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L29) +Defined in: [ui/dialogs/index.d.ts:29](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L29) Decimal input type. diff --git a/content/api/namespaces/inputType/variables/email.md b/content/api/namespaces/inputType/variables/email.md index 1bde19db..619f1eaf 100644 --- a/content/api/namespaces/inputType/variables/email.md +++ b/content/api/namespaces/inputType/variables/email.md @@ -9,6 +9,6 @@ contributors: false const email: string; ``` -Defined in: [ui/dialogs/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L19) +Defined in: [ui/dialogs/index.d.ts:19](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L19) Email input type. diff --git a/content/api/namespaces/inputType/variables/number.md b/content/api/namespaces/inputType/variables/number.md index 54d680fc..666f8c8f 100644 --- a/content/api/namespaces/inputType/variables/number.md +++ b/content/api/namespaces/inputType/variables/number.md @@ -9,6 +9,6 @@ contributors: false const number: string; ``` -Defined in: [ui/dialogs/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L24) +Defined in: [ui/dialogs/index.d.ts:24](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L24) Number input type. diff --git a/content/api/namespaces/inputType/variables/password.md b/content/api/namespaces/inputType/variables/password.md index d628698a..da5f098f 100644 --- a/content/api/namespaces/inputType/variables/password.md +++ b/content/api/namespaces/inputType/variables/password.md @@ -9,6 +9,6 @@ contributors: false const password: string; ``` -Defined in: [ui/dialogs/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L14) +Defined in: [ui/dialogs/index.d.ts:14](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L14) Password input type. diff --git a/content/api/namespaces/inputType/variables/phone.md b/content/api/namespaces/inputType/variables/phone.md index 94fc00d6..8c933f5c 100644 --- a/content/api/namespaces/inputType/variables/phone.md +++ b/content/api/namespaces/inputType/variables/phone.md @@ -9,6 +9,6 @@ contributors: false const phone: string; ``` -Defined in: [ui/dialogs/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L34) +Defined in: [ui/dialogs/index.d.ts:34](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L34) Phone input type. diff --git a/content/api/namespaces/inputType/variables/text.md b/content/api/namespaces/inputType/variables/text.md index 2bd7d76a..a3409ec1 100644 --- a/content/api/namespaces/inputType/variables/text.md +++ b/content/api/namespaces/inputType/variables/text.md @@ -9,6 +9,6 @@ contributors: false const text: string; ``` -Defined in: [ui/dialogs/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L9) +Defined in: [ui/dialogs/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L9) Plain text input type. diff --git a/content/api/namespaces/knownFolders/functions/currentApp.md b/content/api/namespaces/knownFolders/functions/currentApp.md index 73ce6660..d7087114 100644 --- a/content/api/namespaces/knownFolders/functions/currentApp.md +++ b/content/api/namespaces/knownFolders/functions/currentApp.md @@ -8,7 +8,7 @@ contributors: false function currentApp(): Folder; ``` -Defined in: [file-system/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L312) +Defined in: [file-system/index.d.ts:312](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L312) Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps. iOS - this folder is read-only and contains the app and all its resources. diff --git a/content/api/namespaces/knownFolders/functions/documents.md b/content/api/namespaces/knownFolders/functions/documents.md index 2d6a5932..a502dab1 100644 --- a/content/api/namespaces/knownFolders/functions/documents.md +++ b/content/api/namespaces/knownFolders/functions/documents.md @@ -8,7 +8,7 @@ contributors: false function documents(): Folder; ``` -Defined in: [file-system/index.d.ts:294](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L294) +Defined in: [file-system/index.d.ts:294](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L294) Gets the Documents folder available for the current application. This Folder is private for the application and not accessible from Users/External apps. diff --git a/content/api/namespaces/knownFolders/functions/externalDocuments.md b/content/api/namespaces/knownFolders/functions/externalDocuments.md index 25121385..3d60dea7 100644 --- a/content/api/namespaces/knownFolders/functions/externalDocuments.md +++ b/content/api/namespaces/knownFolders/functions/externalDocuments.md @@ -8,7 +8,7 @@ contributors: false function externalDocuments(): Folder; ``` -Defined in: [file-system/index.d.ts:301](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L301) +Defined in: [file-system/index.d.ts:301](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L301) Gets the Documents folder available for the current application on an external storage. This Folder is private for the application and not accessible from Users/External apps. On android this requires READ_EXTERNAL_STORAGE/WRITE_EXTERNAL_STORAGE permissions diff --git a/content/api/namespaces/knownFolders/functions/temp.md b/content/api/namespaces/knownFolders/functions/temp.md index 7300157c..3a889224 100644 --- a/content/api/namespaces/knownFolders/functions/temp.md +++ b/content/api/namespaces/knownFolders/functions/temp.md @@ -8,7 +8,7 @@ contributors: false function temp(): Folder; ``` -Defined in: [file-system/index.d.ts:306](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L306) +Defined in: [file-system/index.d.ts:306](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L306) Gets the Temporary (Caches) folder available for the current application. This Folder is private for the application and not accessible from Users/External apps. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/desktop.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/desktop.md index 774926bd..65f816c5 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/desktop.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/desktop.md @@ -8,7 +8,7 @@ contributors: false function desktop(): Folder; ``` -Defined in: [file-system/index.d.ts:331](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L331) +Defined in: [file-system/index.d.ts:331](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L331) Gets the NSDesktopDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/developer.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/developer.md index 75a1804d..1c245e95 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/developer.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/developer.md @@ -8,7 +8,7 @@ contributors: false function developer(): Folder; ``` -Defined in: [file-system/index.d.ts:326](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L326) +Defined in: [file-system/index.d.ts:326](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L326) Gets the NSDeveloperDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/downloads.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/downloads.md index fe478670..b4c2890d 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/downloads.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/downloads.md @@ -8,7 +8,7 @@ contributors: false function downloads(): Folder; ``` -Defined in: [file-system/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L336) +Defined in: [file-system/index.d.ts:336](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L336) Gets the NSDownloadsDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/library.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/library.md index e73e1dae..3b118eda 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/library.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/library.md @@ -8,7 +8,7 @@ contributors: false function library(): Folder; ``` -Defined in: [file-system/index.d.ts:321](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L321) +Defined in: [file-system/index.d.ts:321](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L321) Gets the NSLibraryDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/movies.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/movies.md index c5ecfcac..ae39dbb0 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/movies.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/movies.md @@ -8,7 +8,7 @@ contributors: false function movies(): Folder; ``` -Defined in: [file-system/index.d.ts:341](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L341) +Defined in: [file-system/index.d.ts:341](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L341) Gets the NSMoviesDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/music.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/music.md index 3bc24a8a..38abdaa0 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/music.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/music.md @@ -8,7 +8,7 @@ contributors: false function music(): Folder; ``` -Defined in: [file-system/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L346) +Defined in: [file-system/index.d.ts:346](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L346) Gets the NSMusicDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/pictures.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/pictures.md index d6f94f7a..9c5c107a 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/pictures.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/pictures.md @@ -8,7 +8,7 @@ contributors: false function pictures(): Folder; ``` -Defined in: [file-system/index.d.ts:351](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L351) +Defined in: [file-system/index.d.ts:351](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L351) Gets the NSPicturesDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic.md b/content/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic.md index ba529ce9..045dff13 100644 --- a/content/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic.md +++ b/content/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic.md @@ -8,7 +8,7 @@ contributors: false function sharedPublic(): Folder; ``` -Defined in: [file-system/index.d.ts:356](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L356) +Defined in: [file-system/index.d.ts:356](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L356) Gets the NSSharedPublicDirectory. Note that the folder will not be created if it did not exist. diff --git a/content/api/namespaces/path/functions/join.md b/content/api/namespaces/path/functions/join.md index 45785b7a..c2b96353 100644 --- a/content/api/namespaces/path/functions/join.md +++ b/content/api/namespaces/path/functions/join.md @@ -8,7 +8,7 @@ contributors: false function join(...paths: string[]): string; ``` -Defined in: [file-system/index.d.ts:374](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L374) +Defined in: [file-system/index.d.ts:374](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L374) Joins all the provided string components, forming a valid and normalized path. diff --git a/content/api/namespaces/path/functions/normalize.md b/content/api/namespaces/path/functions/normalize.md index d55629c8..05e0127f 100644 --- a/content/api/namespaces/path/functions/normalize.md +++ b/content/api/namespaces/path/functions/normalize.md @@ -8,7 +8,7 @@ contributors: false function normalize(path: string): string; ``` -Defined in: [file-system/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L368) +Defined in: [file-system/index.d.ts:368](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L368) Normalizes a path, taking care of occurrances like ".." and "//". diff --git a/content/api/namespaces/path/variables/separator.md b/content/api/namespaces/path/variables/separator.md index fa7a4650..6116e882 100644 --- a/content/api/namespaces/path/variables/separator.md +++ b/content/api/namespaces/path/variables/separator.md @@ -9,6 +9,6 @@ contributors: false const separator: string; ``` -Defined in: [file-system/index.d.ts:379](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/file-system/index.d.ts#L379) +Defined in: [file-system/index.d.ts:379](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/file-system/index.d.ts#L379) Gets the string used to separate file paths. diff --git a/content/api/type-aliases/AlignContent.md b/content/api/type-aliases/AlignContent.md index 3532b42a..a2ee5bb5 100644 --- a/content/api/type-aliases/AlignContent.md +++ b/content/api/type-aliases/AlignContent.md @@ -14,4 +14,4 @@ type AlignContent = | "stretch"; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L11) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L11) diff --git a/content/api/type-aliases/AlignItems.md b/content/api/type-aliases/AlignItems.md index 9c7fb314..88bea4f3 100644 --- a/content/api/type-aliases/AlignItems.md +++ b/content/api/type-aliases/AlignItems.md @@ -8,4 +8,4 @@ contributors: false type AlignItems = "flex-start" | "flex-end" | "center" | "baseline" | "stretch"; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L10) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L10) diff --git a/content/api/type-aliases/AlignSelf.md b/content/api/type-aliases/AlignSelf.md index cbad3b3c..1f1e5d16 100644 --- a/content/api/type-aliases/AlignSelf.md +++ b/content/api/type-aliases/AlignSelf.md @@ -8,4 +8,4 @@ contributors: false type AlignSelf = "auto" | AlignItems; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L35) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:35](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L35) diff --git a/content/api/type-aliases/AnimationPromise.md b/content/api/type-aliases/AnimationPromise.md index 34c38995..9c5befad 100644 --- a/content/api/type-aliases/AnimationPromise.md +++ b/content/api/type-aliases/AnimationPromise.md @@ -8,4 +8,4 @@ contributors: false type AnimationPromise = Promise & Cancelable; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/type-aliases/Flex.md b/content/api/type-aliases/Flex.md index 525b2795..2dab2786 100644 --- a/content/api/type-aliases/Flex.md +++ b/content/api/type-aliases/Flex.md @@ -13,4 +13,4 @@ type Flex = | CSSWideKeywords; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L13) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:13](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L13) diff --git a/content/api/type-aliases/FlexDirection.md b/content/api/type-aliases/FlexDirection.md index e48e24a1..2f2a4968 100644 --- a/content/api/type-aliases/FlexDirection.md +++ b/content/api/type-aliases/FlexDirection.md @@ -8,4 +8,4 @@ contributors: false type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse"; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L7) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L7) diff --git a/content/api/type-aliases/FlexFlow.md b/content/api/type-aliases/FlexFlow.md index f9601719..8bbb8a1d 100644 --- a/content/api/type-aliases/FlexFlow.md +++ b/content/api/type-aliases/FlexFlow.md @@ -8,4 +8,4 @@ contributors: false type FlexFlow = `${FlexDirection} ${FlexWrap}`; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L12) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:12](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L12) diff --git a/content/api/type-aliases/FlexWrap.md b/content/api/type-aliases/FlexWrap.md index 11bcd449..3c981dc0 100644 --- a/content/api/type-aliases/FlexWrap.md +++ b/content/api/type-aliases/FlexWrap.md @@ -8,4 +8,4 @@ contributors: false type FlexWrap = "nowrap" | "wrap" | "wrap-reverse"; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L8) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L8) diff --git a/content/api/type-aliases/FontStyleType.md b/content/api/type-aliases/FontStyleType.md index 59421518..f968de04 100644 --- a/content/api/type-aliases/FontStyleType.md +++ b/content/api/type-aliases/FontStyleType.md @@ -11,4 +11,4 @@ type FontStyleType = | CSSWideKeywords; ``` -Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font-interfaces.ts) +Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font-interfaces.ts) diff --git a/content/api/type-aliases/FontVariationSettingsType.md b/content/api/type-aliases/FontVariationSettingsType.md index ce1df7c4..4439e6ba 100644 --- a/content/api/type-aliases/FontVariationSettingsType.md +++ b/content/api/type-aliases/FontVariationSettingsType.md @@ -11,7 +11,7 @@ type FontVariationSettingsType = { }; ``` -Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font-interfaces.ts) +Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font-interfaces.ts) ## Properties @@ -21,7 +21,7 @@ Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/Nati axis: string; ``` -Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font-interfaces.ts) +Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font-interfaces.ts) *** @@ -31,4 +31,4 @@ Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/Nati value: number; ``` -Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font-interfaces.ts) +Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font-interfaces.ts) diff --git a/content/api/type-aliases/FontWeightType.md b/content/api/type-aliases/FontWeightType.md index 655ac8a0..5866f23d 100644 --- a/content/api/type-aliases/FontWeightType.md +++ b/content/api/type-aliases/FontWeightType.md @@ -21,4 +21,4 @@ type FontWeightType = | CSSWideKeywords; ``` -Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/font-interfaces.ts) +Defined in: [ui/styling/font-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/font-interfaces.ts) diff --git a/content/api/type-aliases/GlassEffectConfig.md b/content/api/type-aliases/GlassEffectConfig.md index 9d09c67a..ac3369b5 100644 --- a/content/api/type-aliases/GlassEffectConfig.md +++ b/content/api/type-aliases/GlassEffectConfig.md @@ -14,7 +14,7 @@ type GlassEffectConfig = { }; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) ## Properties @@ -24,7 +24,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native optional animateChangeDuration?: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Duration in milliseconds to animate effect changes (default is 300ms) @@ -36,7 +36,7 @@ Duration in milliseconds to animate effect changes (default is 300ms) optional interactive?: boolean; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) *** @@ -46,7 +46,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native optional spacing?: number; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) (LiquidGlassContainer only) spacing between child elements (default is 8) @@ -58,7 +58,7 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native optional tint?: string | Color; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) *** @@ -68,4 +68,4 @@ Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/Native optional variant?: GlassEffectVariant; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) diff --git a/content/api/type-aliases/GlassEffectType.md b/content/api/type-aliases/GlassEffectType.md index 9d986b25..f6b2932b 100644 --- a/content/api/type-aliases/GlassEffectType.md +++ b/content/api/type-aliases/GlassEffectType.md @@ -10,4 +10,4 @@ type GlassEffectType = | GlassEffectConfig; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) diff --git a/content/api/type-aliases/GlassEffectVariant.md b/content/api/type-aliases/GlassEffectVariant.md index 243209a3..f9dc1812 100644 --- a/content/api/type-aliases/GlassEffectVariant.md +++ b/content/api/type-aliases/GlassEffectVariant.md @@ -9,6 +9,6 @@ contributors: false type GlassEffectVariant = "regular" | "clear" | "identity" | "none"; ``` -Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/view-common.ts) +Defined in: [ui/core/view/view-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/view-common.ts) Glass effects diff --git a/content/api/type-aliases/GridUnitType.md b/content/api/type-aliases/GridUnitType.md index 9ba1a4e4..0acfa1e8 100644 --- a/content/api/type-aliases/GridUnitType.md +++ b/content/api/type-aliases/GridUnitType.md @@ -8,4 +8,4 @@ contributors: false type GridUnitType = "pixel" | "star" | "auto"; ``` -Defined in: [ui/layouts/grid-layout/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/grid-layout/index.d.ts#L194) +Defined in: [ui/layouts/grid-layout/index.d.ts:194](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/grid-layout/index.d.ts#L194) diff --git a/content/api/type-aliases/Headers.md b/content/api/type-aliases/Headers.md index cd5ca214..e0d31402 100644 --- a/content/api/type-aliases/Headers.md +++ b/content/api/type-aliases/Headers.md @@ -10,7 +10,7 @@ type Headers = { }; ``` -Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/http/http-interfaces.ts) +Defined in: [http/http-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/http/http-interfaces.ts) ## Index Signature diff --git a/content/api/type-aliases/HorizontalAlignment.md b/content/api/type-aliases/HorizontalAlignment.md index 21400f23..7e9b0bf4 100644 --- a/content/api/type-aliases/HorizontalAlignment.md +++ b/content/api/type-aliases/HorizontalAlignment.md @@ -8,7 +8,7 @@ contributors: false type HorizontalAlignment = HorizontalAlignmentType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/InstrumentationMode.md b/content/api/type-aliases/InstrumentationMode.md index 0a488dcc..bc74fa16 100644 --- a/content/api/type-aliases/InstrumentationMode.md +++ b/content/api/type-aliases/InstrumentationMode.md @@ -9,7 +9,7 @@ contributors: false type InstrumentationMode = "counters" | "timeline" | "lifecycle"; ``` -Defined in: [profiling/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/profiling/index.d.ts#L17) +Defined in: [profiling/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/profiling/index.d.ts#L17) Profiling mode to use. - `counters` Accumulates method call counts and times until dumpProfiles is called and then prints aggregated statistic in the console. This is the default. diff --git a/content/api/type-aliases/JustifyContent.md b/content/api/type-aliases/JustifyContent.md index 42667bd9..b084c705 100644 --- a/content/api/type-aliases/JustifyContent.md +++ b/content/api/type-aliases/JustifyContent.md @@ -8,4 +8,4 @@ contributors: false type JustifyContent = "flex-start" | "flex-end" | "center" | "space-between" | "space-around"; ``` -Defined in: [ui/layouts/flexbox-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L9) +Defined in: [ui/layouts/flexbox-layout/index.d.ts:9](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/layouts/flexbox-layout/index.d.ts#L9) diff --git a/content/api/type-aliases/LengthDipUnit.md b/content/api/type-aliases/LengthDipUnit.md index 0709aebc..ccfba7ea 100644 --- a/content/api/type-aliases/LengthDipUnit.md +++ b/content/api/type-aliases/LengthDipUnit.md @@ -8,7 +8,7 @@ contributors: false type LengthDipUnit = LengthDipUnit; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/LengthPercentUnit.md b/content/api/type-aliases/LengthPercentUnit.md index 7881d97f..c30f9dd9 100644 --- a/content/api/type-aliases/LengthPercentUnit.md +++ b/content/api/type-aliases/LengthPercentUnit.md @@ -8,7 +8,7 @@ contributors: false type LengthPercentUnit = LengthPercentUnit; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/LengthPxUnit.md b/content/api/type-aliases/LengthPxUnit.md index 8182cfc1..459f616c 100644 --- a/content/api/type-aliases/LengthPxUnit.md +++ b/content/api/type-aliases/LengthPxUnit.md @@ -8,7 +8,7 @@ contributors: false type LengthPxUnit = LengthPxUnit; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/LengthType.md b/content/api/type-aliases/LengthType.md index 0381d736..b2eac0ef 100644 --- a/content/api/type-aliases/LengthType.md +++ b/content/api/type-aliases/LengthType.md @@ -8,7 +8,7 @@ contributors: false type LengthType = LengthType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/ModuleListProvider.md b/content/api/type-aliases/ModuleListProvider.md index eb65329b..dca55b85 100644 --- a/content/api/type-aliases/ModuleListProvider.md +++ b/content/api/type-aliases/ModuleListProvider.md @@ -8,7 +8,7 @@ contributors: false type ModuleListProvider = () => string[]; ``` -Defined in: [module-name-resolver/helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/module-name-resolver/helpers.ts) +Defined in: [module-name-resolver/helpers.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/module-name-resolver/helpers.ts) ## Returns diff --git a/content/api/type-aliases/NativeWindowEventName.md b/content/api/type-aliases/NativeWindowEventName.md new file mode 100644 index 00000000..9a765437 --- /dev/null +++ b/content/api/type-aliases/NativeWindowEventName.md @@ -0,0 +1,11 @@ +--- +title: NativeWindowEventName +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +type NativeWindowEventName = typeof NativeWindowEvents[keyof typeof NativeWindowEvents]; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) diff --git a/content/api/type-aliases/PercentLengthType.md b/content/api/type-aliases/PercentLengthType.md index d3faad7c..9b54f432 100644 --- a/content/api/type-aliases/PercentLengthType.md +++ b/content/api/type-aliases/PercentLengthType.md @@ -8,7 +8,7 @@ contributors: false type PercentLengthType = PercentLengthType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/SceneEventName.md b/content/api/type-aliases/SceneEventName.md index 5e73068d..8ce1414a 100644 --- a/content/api/type-aliases/SceneEventName.md +++ b/content/api/type-aliases/SceneEventName.md @@ -8,4 +8,4 @@ contributors: false type SceneEventName = typeof SceneEvents[keyof typeof SceneEvents]; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) diff --git a/content/api/type-aliases/SharedTransitionTagProperties.md b/content/api/type-aliases/SharedTransitionTagProperties.md index 049a8621..b59648aa 100644 --- a/content/api/type-aliases/SharedTransitionTagProperties.md +++ b/content/api/type-aliases/SharedTransitionTagProperties.md @@ -13,7 +13,7 @@ type SharedTransitionTagProperties = SharedProperties & { }; ``` -Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/transition/shared-transition.ts) +Defined in: [ui/transition/shared-transition.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/transition/shared-transition.ts) Properties which can be set on individual Shared Elements diff --git a/content/api/type-aliases/SplitBehavior.md b/content/api/type-aliases/SplitBehavior.md index 86904507..f31ba98e 100644 --- a/content/api/type-aliases/SplitBehavior.md +++ b/content/api/type-aliases/SplitBehavior.md @@ -8,4 +8,4 @@ contributors: false type SplitBehavior = "automatic" | "tile" | "overlay" | "displace"; ``` -Defined in: [ui/split-view/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/index.d.ts#L8) +Defined in: [ui/split-view/index.d.ts:8](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/index.d.ts#L8) diff --git a/content/api/type-aliases/SplitDisplayMode.md b/content/api/type-aliases/SplitDisplayMode.md index 2ba9e001..18bbc721 100644 --- a/content/api/type-aliases/SplitDisplayMode.md +++ b/content/api/type-aliases/SplitDisplayMode.md @@ -15,4 +15,4 @@ type SplitDisplayMode = | "twoDisplaceSecondary"; ``` -Defined in: [ui/split-view/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/index.d.ts#L7) +Defined in: [ui/split-view/index.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/index.d.ts#L7) diff --git a/content/api/type-aliases/SplitRole.md b/content/api/type-aliases/SplitRole.md index d405c23e..d50adf3a 100644 --- a/content/api/type-aliases/SplitRole.md +++ b/content/api/type-aliases/SplitRole.md @@ -8,4 +8,4 @@ contributors: false type SplitRole = "primary" | "secondary" | "supplementary" | "inspector"; ``` -Defined in: [ui/split-view/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/index.d.ts#L6) +Defined in: [ui/split-view/index.d.ts:6](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/index.d.ts#L6) diff --git a/content/api/type-aliases/SplitStyle.md b/content/api/type-aliases/SplitStyle.md index 6847d696..dc7a4cc3 100644 --- a/content/api/type-aliases/SplitStyle.md +++ b/content/api/type-aliases/SplitStyle.md @@ -8,4 +8,4 @@ contributors: false type SplitStyle = "automatic" | "double" | "triple"; ``` -Defined in: [ui/split-view/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/split-view/index.d.ts#L4) +Defined in: [ui/split-view/index.d.ts:4](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/split-view/index.d.ts#L4) diff --git a/content/api/type-aliases/TouchAnimationOptions.md b/content/api/type-aliases/TouchAnimationOptions.md index ef85430d..0d939a80 100644 --- a/content/api/type-aliases/TouchAnimationOptions.md +++ b/content/api/type-aliases/TouchAnimationOptions.md @@ -13,7 +13,7 @@ type TouchAnimationOptions = { }; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) ## Properties @@ -25,7 +25,7 @@ optional down?: | AnimationDefinition; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) *** @@ -37,4 +37,4 @@ optional up?: | AnimationDefinition; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) diff --git a/content/api/type-aliases/TransformFunctionsInfo.md b/content/api/type-aliases/TransformFunctionsInfo.md index f950033b..cdc6272a 100644 --- a/content/api/type-aliases/TransformFunctionsInfo.md +++ b/content/api/type-aliases/TransformFunctionsInfo.md @@ -12,7 +12,7 @@ type TransformFunctionsInfo = { }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Properties @@ -22,7 +22,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N rotate: Point3D; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -32,7 +32,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N scale: Pair; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -42,4 +42,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N translate: Pair; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/type-aliases/Transformation.md b/content/api/type-aliases/Transformation.md index 9818b64a..ed5fe83b 100644 --- a/content/api/type-aliases/Transformation.md +++ b/content/api/type-aliases/Transformation.md @@ -11,7 +11,7 @@ type Transformation = { }; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) ## Properties @@ -21,7 +21,7 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N property: TransformationType; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) *** @@ -31,4 +31,4 @@ Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/N value: TransformationValue; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/type-aliases/TransformationType.md b/content/api/type-aliases/TransformationType.md index 9a2d69ab..ebded952 100644 --- a/content/api/type-aliases/TransformationType.md +++ b/content/api/type-aliases/TransformationType.md @@ -20,4 +20,4 @@ type TransformationType = | "scaleY"; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/type-aliases/TransformationValue.md b/content/api/type-aliases/TransformationValue.md index 6fbc3ed3..eca7f52a 100644 --- a/content/api/type-aliases/TransformationValue.md +++ b/content/api/type-aliases/TransformationValue.md @@ -11,4 +11,4 @@ type TransformationValue = | number; ``` -Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/animation/animation-shared.ts) +Defined in: [ui/animation/animation-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/animation/animation-shared.ts) diff --git a/content/api/type-aliases/VerticalAlignment.md b/content/api/type-aliases/VerticalAlignment.md index 32302cc4..43563089 100644 --- a/content/api/type-aliases/VerticalAlignment.md +++ b/content/api/type-aliases/VerticalAlignment.md @@ -8,7 +8,7 @@ contributors: false type VerticalAlignment = VerticalAlignmentType; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/VisionHoverOptions.md b/content/api/type-aliases/VisionHoverOptions.md index eb3422b5..32bd7eef 100644 --- a/content/api/type-aliases/VisionHoverOptions.md +++ b/content/api/type-aliases/VisionHoverOptions.md @@ -12,7 +12,7 @@ type VisionHoverOptions = { }; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) ## Properties @@ -22,7 +22,7 @@ Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/Nativ effect: VisionHoverEffect; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) *** @@ -32,7 +32,7 @@ Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/Nativ optional shape?: VisionHoverShape; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) *** @@ -42,4 +42,4 @@ Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/Nativ optional shapeCornerRadius?: number; ``` -Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/gestures/touch-manager.ts) +Defined in: [ui/gestures/touch-manager.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/gestures/touch-manager.ts) diff --git a/content/api/type-aliases/WebViewNavigationType.md b/content/api/type-aliases/WebViewNavigationType.md index 66694e1e..64519c0d 100644 --- a/content/api/type-aliases/WebViewNavigationType.md +++ b/content/api/type-aliases/WebViewNavigationType.md @@ -16,6 +16,6 @@ type WebViewNavigationType = | undefined; ``` -Defined in: [ui/web-view/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/web-view/index.d.ts#L17) +Defined in: [ui/web-view/index.d.ts:17](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/web-view/index.d.ts#L17) Represents navigation type diff --git a/content/api/type-aliases/WindowContentResolver.md b/content/api/type-aliases/WindowContentResolver.md new file mode 100644 index 00000000..66dacd1e --- /dev/null +++ b/content/api/type-aliases/WindowContentResolver.md @@ -0,0 +1,28 @@ +--- +title: WindowContentResolver +titleTemplate: :title - API / NativeScript +description: Supplies the UI for a window that needs content. Called once per window that needs it. Return a `View`, a `NavigationEntry` or a module name to set the windo... +contributors: false +--- + +```ts +type WindowContentResolver = (request: WindowContentRequest) => View | NavigationEntry | string | null | undefined; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Supplies the UI for a window that needs content. Called once per window that needs it. + +Return a `View`, a `NavigationEntry` or a module name to set the window content, +`null` to take ownership and set the content asynchronously later, or `undefined` +to fall back to the application main entry. + +## Parameters + +| Parameter | Type | +| ------ | ------ | +| `request` | [`WindowContentRequest`](../interfaces/WindowContentRequest.md) | + +## Returns + +[`View`](../classes/View.md) \| `NavigationEntry` \| `string` \| `null` \| `undefined` diff --git a/content/api/type-aliases/WindowRole.md b/content/api/type-aliases/WindowRole.md new file mode 100644 index 00000000..20693a47 --- /dev/null +++ b/content/api/type-aliases/WindowRole.md @@ -0,0 +1,19 @@ +--- +title: WindowRole +titleTemplate: :title - API / NativeScript +description: The purpose a window surface serves. - `application` – a regular app window (iOS application scene, Android activity). - `embedded` – a window hosted inside ... +contributors: false +--- + +```ts +type WindowRole = "application" | "embedded" | "carplay" | "externalDisplay"; +``` + +Defined in: [native-window/index.d.ts:18](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L18) + +The purpose a window surface serves. + +- `application` – a regular app window (iOS application scene, Android activity). +- `embedded` – a window hosted inside another app or container. +- `carplay` – a CarPlay template scene. +- `externalDisplay` – an external/secondary display scene. diff --git a/content/api/type-aliases/WindowState.md b/content/api/type-aliases/WindowState.md new file mode 100644 index 00000000..e452d9b3 --- /dev/null +++ b/content/api/type-aliases/WindowState.md @@ -0,0 +1,18 @@ +--- +title: WindowState +titleTemplate: :title - API / NativeScript +description: The lifecycle state of a window surface. - `attached` – connected to a live native surface. - `detached` – the native surface went away but the window may be... +contributors: false +--- + +```ts +type WindowState = "attached" | "detached" | "closed"; +``` + +Defined in: [native-window/index.d.ts:27](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/index.d.ts#L27) + +The lifecycle state of a window surface. + +- `attached` – connected to a live native surface. +- `detached` – the native surface went away but the window may be reconnected. +- `closed` – permanently torn down. diff --git a/content/api/type-aliases/dip.md b/content/api/type-aliases/dip.md index 8ecef419..cc1d2d19 100644 --- a/content/api/type-aliases/dip.md +++ b/content/api/type-aliases/dip.md @@ -8,7 +8,7 @@ contributors: false type dip = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/iosSymbolScaleType.md b/content/api/type-aliases/iosSymbolScaleType.md index 0a84f256..c6f43831 100644 --- a/content/api/type-aliases/iosSymbolScaleType.md +++ b/content/api/type-aliases/iosSymbolScaleType.md @@ -9,7 +9,7 @@ contributors: false type iosSymbolScaleType = "default" | "small" | "medium" | "large"; ``` -Defined in: [image-source/index.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/image-source/index.d.ts#L278) +Defined in: [image-source/index.d.ts:278](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/image-source/index.d.ts#L278) iOS only SF Symbol scale diff --git a/content/api/type-aliases/percent.md b/content/api/type-aliases/percent.md index 272a245f..11476b1a 100644 --- a/content/api/type-aliases/percent.md +++ b/content/api/type-aliases/percent.md @@ -8,7 +8,7 @@ contributors: false type percent = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/type-aliases/px.md b/content/api/type-aliases/px.md index 3e6289dc..307b06a6 100644 --- a/content/api/type-aliases/px.md +++ b/content/api/type-aliases/px.md @@ -8,7 +8,7 @@ contributors: false type px = number; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/typedoc-sidebar.json b/content/api/typedoc-sidebar.json index df8dc06c..424103b8 100644 --- a/content/api/typedoc-sidebar.json +++ b/content/api/typedoc-sidebar.json @@ -412,6 +412,35 @@ } ] }, + { + "text": "CornerShape", + "link": "/api/namespaces/CoreTypes/namespaces/CornerShape/", + "collapsed": true, + "items": [ + { + "text": "Variables", + "collapsed": true, + "items": [ + { + "text": "isValid", + "link": "/api/namespaces/CoreTypes/namespaces/CornerShape/variables/isValid" + }, + { + "text": "parse", + "link": "/api/namespaces/CoreTypes/namespaces/CornerShape/variables/parse" + }, + { + "text": "round", + "link": "/api/namespaces/CoreTypes/namespaces/CornerShape/variables/round" + }, + { + "text": "squircle", + "link": "/api/namespaces/CoreTypes/namespaces/CornerShape/variables/squircle" + } + ] + } + ] + }, { "text": "DeviceOrientation", "link": "/api/namespaces/CoreTypes/namespaces/DeviceOrientation/", @@ -1180,6 +1209,10 @@ "text": "BackgroundRepeatType", "link": "/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType" }, + { + "text": "CornerShapeType", + "link": "/api/namespaces/CoreTypes/type-aliases/CornerShapeType" + }, { "text": "CSSWideKeywords", "link": "/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords" @@ -1319,13 +1352,29 @@ "text": "CLASS_PREFIX", "link": "/api/namespaces/CSSUtils/variables/CLASS_PREFIX" }, + { + "text": "LAYOUT_DIRECTION_CSS_CLASSES", + "link": "/api/namespaces/CSSUtils/variables/LAYOUT_DIRECTION_CSS_CLASSES" + }, { "text": "MODAL_ROOT_VIEW_CSS_CLASS", "link": "/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS" }, + { + "text": "ORIENTATION_CSS_CLASSES", + "link": "/api/namespaces/CSSUtils/variables/ORIENTATION_CSS_CLASSES" + }, { "text": "ROOT_VIEW_CSS_CLASS", "link": "/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS" + }, + { + "text": "SYSTEM_APPEARANCE_CSS_CLASSES", + "link": "/api/namespaces/CSSUtils/variables/SYSTEM_APPEARANCE_CSS_CLASSES" + }, + { + "text": "WINDOW_SCOPED_CSS_CLASSES", + "link": "/api/namespaces/CSSUtils/variables/WINDOW_SCOPED_CSS_CLASSES" } ] }, @@ -1783,6 +1832,10 @@ "text": "getPositionFromFrame", "link": "/api/namespaces/IOSHelper/functions/getPositionFromFrame" }, + { + "text": "hasIOSManagedInsetAncestor", + "link": "/api/namespaces/IOSHelper/functions/hasIOSManagedInsetAncestor" + }, { "text": "invalidateStatusBarAppearance", "link": "/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance" @@ -2346,8 +2399,8 @@ "collapsed": true, "items": [ { - "text": "NativeWindow", - "link": "/api/namespaces/Utils/type-aliases/NativeWindow" + "text": "PlatformWindow", + "link": "/api/namespaces/Utils/type-aliases/PlatformWindow" } ] }, @@ -2953,6 +3006,10 @@ "text": "ModuleNameResolver", "link": "/api/classes/ModuleNameResolver" }, + { + "text": "NativeWindow", + "link": "/api/classes/NativeWindow" + }, { "text": "NavigationButton", "link": "/api/classes/NavigationButton" @@ -3121,6 +3178,10 @@ "text": "WebView", "link": "/api/classes/WebView" }, + { + "text": "WindowBase", + "link": "/api/classes/WindowBase" + }, { "text": "WrapLayout", "link": "/api/classes/WrapLayout" @@ -3367,6 +3428,10 @@ "text": "NativeScriptError", "link": "/api/interfaces/NativeScriptError" }, + { + "text": "NativeWindowEventData", + "link": "/api/interfaces/NativeWindowEventData" + }, { "text": "NavigatedData", "link": "/api/interfaces/NavigatedData" @@ -3411,6 +3476,10 @@ "text": "Point3D", "link": "/api/interfaces/Point3D" }, + { + "text": "PrimaryWindowChangedEventData", + "link": "/api/interfaces/PrimaryWindowChangedEventData" + }, { "text": "PromptOptions", "link": "/api/interfaces/PromptOptions" @@ -3439,10 +3508,22 @@ "text": "RotationGestureEventData", "link": "/api/interfaces/RotationGestureEventData" }, + { + "text": "SceneContinueUserActivityEventData", + "link": "/api/interfaces/SceneContinueUserActivityEventData" + }, { "text": "SceneEventData", "link": "/api/interfaces/SceneEventData" }, + { + "text": "SceneOpenURLContextsEventData", + "link": "/api/interfaces/SceneOpenURLContextsEventData" + }, + { + "text": "ScenePerformActionForShortcutItemEventData", + "link": "/api/interfaces/ScenePerformActionForShortcutItemEventData" + }, { "text": "ScrollEventData", "link": "/api/interfaces/ScrollEventData" @@ -3530,6 +3611,38 @@ { "text": "ViewEntry", "link": "/api/interfaces/ViewEntry" + }, + { + "text": "WindowBaseEventData", + "link": "/api/interfaces/WindowBaseEventData" + }, + { + "text": "WindowCloseEventData", + "link": "/api/interfaces/WindowCloseEventData" + }, + { + "text": "WindowContentRequest", + "link": "/api/interfaces/WindowContentRequest" + }, + { + "text": "WindowLayoutDirectionChangedEventData", + "link": "/api/interfaces/WindowLayoutDirectionChangedEventData" + }, + { + "text": "WindowOpenEventData", + "link": "/api/interfaces/WindowOpenEventData" + }, + { + "text": "WindowOpenOptions", + "link": "/api/interfaces/WindowOpenOptions" + }, + { + "text": "WindowOrientationChangedEventData", + "link": "/api/interfaces/WindowOrientationChangedEventData" + }, + { + "text": "WindowSystemAppearanceChangedEventData", + "link": "/api/interfaces/WindowSystemAppearanceChangedEventData" } ] }, @@ -3641,6 +3754,10 @@ "text": "ModuleListProvider", "link": "/api/type-aliases/ModuleListProvider" }, + { + "text": "NativeWindowEventName", + "link": "/api/type-aliases/NativeWindowEventName" + }, { "text": "percent", "link": "/api/type-aliases/percent" @@ -3708,6 +3825,18 @@ { "text": "WebViewNavigationType", "link": "/api/type-aliases/WebViewNavigationType" + }, + { + "text": "WindowContentResolver", + "link": "/api/type-aliases/WindowContentResolver" + }, + { + "text": "WindowRole", + "link": "/api/type-aliases/WindowRole" + }, + { + "text": "WindowState", + "link": "/api/type-aliases/WindowState" } ] }, @@ -3839,6 +3968,14 @@ "text": "colorProperty", "link": "/api/variables/colorProperty" }, + { + "text": "columnGapProperty", + "link": "/api/variables/columnGapProperty" + }, + { + "text": "cornerShapeProperty", + "link": "/api/variables/cornerShapeProperty" + }, { "text": "CSSHelper", "link": "/api/variables/CSSHelper" @@ -4031,10 +4168,18 @@ "text": "marginTopProperty", "link": "/api/variables/marginTopProperty" }, + { + "text": "maxHeightProperty", + "link": "/api/variables/maxHeightProperty" + }, { "text": "maxLengthProperty", "link": "/api/variables/maxLengthProperty" }, + { + "text": "maxWidthProperty", + "link": "/api/variables/maxWidthProperty" + }, { "text": "minHeightProperty", "link": "/api/variables/minHeightProperty" @@ -4043,6 +4188,10 @@ "text": "minWidthProperty", "link": "/api/variables/minWidthProperty" }, + { + "text": "NativeWindowEvents", + "link": "/api/variables/NativeWindowEvents" + }, { "text": "notify", "link": "/api/variables/notify" @@ -4123,6 +4272,10 @@ "text": "rotateYProperty", "link": "/api/variables/rotateYProperty" }, + { + "text": "rowGapProperty", + "link": "/api/variables/rowGapProperty" + }, { "text": "run", "link": "/api/variables/run" @@ -4239,6 +4392,10 @@ "text": "widthProperty", "link": "/api/variables/widthProperty" }, + { + "text": "WindowEvents", + "link": "/api/variables/WindowEvents" + }, { "text": "zIndexProperty", "link": "/api/variables/zIndexProperty" @@ -4249,6 +4406,10 @@ "text": "Functions", "collapsed": true, "items": [ + { + "text": "_hasPaddingSetNativeOverrides", + "link": "/api/functions/hasPaddingSetNativeOverrides" + }, { "text": "_resolveAnimationCurve", "link": "/api/functions/resolveAnimationCurve" @@ -4345,10 +4506,6 @@ "text": "getViewById", "link": "/api/functions/getViewById" }, - { - "text": "initializeSdkVersionClass", - "link": "/api/functions/initializeSdkVersionClass" - }, { "text": "isAccessibilityServiceEnabled", "link": "/api/functions/isAccessibilityServiceEnabled" diff --git a/content/api/variables/AnimationCurve.md b/content/api/variables/AnimationCurve.md index 067b17d4..d669bd11 100644 --- a/content/api/variables/AnimationCurve.md +++ b/content/api/variables/AnimationCurve.md @@ -8,7 +8,7 @@ contributors: false const AnimationCurve: typeof AnimationCurve; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Deprecated diff --git a/content/api/variables/Application.md b/content/api/variables/Application.md index 8143c7f3..9365836e 100644 --- a/content/api/variables/Application.md +++ b/content/api/variables/Application.md @@ -8,4 +8,4 @@ contributors: false const Application: ApplicationCommon; ``` -Defined in: [application/application.d.ts:7](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L7) +Defined in: [application/application.d.ts:11](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L11) diff --git a/content/api/variables/CSSHelper.md b/content/api/variables/CSSHelper.md index fb71d363..e3c7beaa 100644 --- a/content/api/variables/CSSHelper.md +++ b/content/api/variables/CSSHelper.md @@ -11,6 +11,7 @@ const CSSHelper: { createSelector: typeof createSelector; fromAstNode: typeof fromAstNode; InvalidSelector: typeof InvalidSelector; + matchSelectorCandidates: typeof matchSelectorCandidates; MediaQuerySelectorScope: typeof MediaQuerySelectorScope; PseudoClassSelector: typeof PseudoClassSelector; RuleSet: typeof RuleSet; @@ -26,7 +27,7 @@ const CSSHelper: { }; ``` -Defined in: [ui/styling/css-selector.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/css-selector.ts) +Defined in: [ui/styling/css-selector.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/css-selector.ts) ## Type Declaration @@ -60,6 +61,12 @@ fromAstNode: typeof fromAstNode; InvalidSelector: typeof InvalidSelector; ``` +### matchSelectorCandidates + +```ts +matchSelectorCandidates: typeof matchSelectorCandidates; +``` + ### MediaQuerySelectorScope ```ts diff --git a/content/api/variables/Device.md b/content/api/variables/Device.md index 5adca14c..fa3ce2b1 100644 --- a/content/api/variables/Device.md +++ b/content/api/variables/Device.md @@ -9,6 +9,6 @@ contributors: false const Device: IDevice; ``` -Defined in: [platform/device/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/device/index.d.ts#L63) +Defined in: [platform/device/index.d.ts:63](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/device/index.d.ts#L63) Gets the current device information. diff --git a/content/api/variables/Dialogs.md b/content/api/variables/Dialogs.md index 819959d1..90e197f2 100644 --- a/content/api/variables/Dialogs.md +++ b/content/api/variables/Dialogs.md @@ -15,7 +15,7 @@ const Dialogs: { }; ``` -Defined in: [ui/dialogs/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/dialogs/index.d.ts#L305) +Defined in: [ui/dialogs/index.d.ts:305](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/dialogs/index.d.ts#L305) Singular rollup for convenience of all dialog methods diff --git a/content/api/variables/Enums.md b/content/api/variables/Enums.md index 6b87c778..5a124f99 100644 --- a/content/api/variables/Enums.md +++ b/content/api/variables/Enums.md @@ -39,7 +39,7 @@ const Enums: { }; ``` -Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/core-types/index.ts) +Defined in: [core-types/index.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/core-types/index.ts) ## Type Declaration diff --git a/content/api/variables/NativeWindowEvents.md b/content/api/variables/NativeWindowEvents.md new file mode 100644 index 00000000..70353219 --- /dev/null +++ b/content/api/variables/NativeWindowEvents.md @@ -0,0 +1,308 @@ +--- +title: NativeWindowEvents +titleTemplate: :title - API / NativeScript +description: Events emitted by a NativeWindow instance. +contributors: false +--- + +```ts +const NativeWindowEvents: { + activate: "activate"; + activityBackPressed: "activityBackPressed"; + activityCreated: "activityCreated"; + activityDestroyed: "activityDestroyed"; + activityNewIntent: "activityNewIntent"; + activityPaused: "activityPaused"; + activityRequestPermissions: "activityRequestPermissions"; + activityResult: "activityResult"; + activityResumed: "activityResumed"; + activityStarted: "activityStarted"; + activityStopped: "activityStopped"; + attached: "attached"; + background: "background"; + close: "close"; + contentLoaded: "contentLoaded"; + deactivate: "deactivate"; + detached: "detached"; + displayed: "displayed"; + foreground: "foreground"; + layoutDirectionChanged: "layoutDirectionChanged"; + orientationChanged: "orientationChanged"; + saveActivityState: "saveActivityState"; + sceneContinueUserActivity: "sceneContinueUserActivity"; + sceneDidActivate: "sceneDidActivate"; + sceneDidDisconnect: "sceneDidDisconnect"; + sceneDidEnterBackground: "sceneDidEnterBackground"; + sceneOpenURLContexts: "sceneOpenURLContexts"; + scenePerformActionForShortcutItem: "scenePerformActionForShortcutItem"; + sceneWillConnect: "sceneWillConnect"; + sceneWillEnterForeground: "sceneWillEnterForeground"; + sceneWillResignActive: "sceneWillResignActive"; + systemAppearanceChanged: "systemAppearanceChanged"; +}; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Events emitted by a NativeWindow instance. + +## Type Declaration + +### activate + +```ts +readonly activate: "activate"; +``` + +Fired when the window becomes the active/focused window. + +### activityBackPressed + +```ts +readonly activityBackPressed: "activityBackPressed"; +``` + +Fired when the back button is pressed (Android only). + +### activityCreated + +```ts +readonly activityCreated: "activityCreated"; +``` + +Fired when the activity is created (Android only). + +### activityDestroyed + +```ts +readonly activityDestroyed: "activityDestroyed"; +``` + +Fired when the activity is destroyed (Android only). + +### activityNewIntent + +```ts +readonly activityNewIntent: "activityNewIntent"; +``` + +Fired when the activity receives a new intent (Android only). + +### activityPaused + +```ts +readonly activityPaused: "activityPaused"; +``` + +Fired when the activity is paused (Android only). + +### activityRequestPermissions + +```ts +readonly activityRequestPermissions: "activityRequestPermissions"; +``` + +Fired when permission results are received (Android only). + +### activityResult + +```ts +readonly activityResult: "activityResult"; +``` + +Fired when the activity receives a result (Android only). + +### activityResumed + +```ts +readonly activityResumed: "activityResumed"; +``` + +Fired when the activity is resumed (Android only). + +### activityStarted + +```ts +readonly activityStarted: "activityStarted"; +``` + +Fired when the activity is started (Android only). + +### activityStopped + +```ts +readonly activityStopped: "activityStopped"; +``` + +Fired when the activity is stopped (Android only). + +### attached + +```ts +readonly attached: "attached"; +``` + +Fired when a native surface is bound to the window, both on first connect and on every re-attach. + +### background + +```ts +readonly background: "background"; +``` + +Fired when the window enters the background. + +### close + +```ts +readonly close: "close"; +``` + +Fired when the window session ends for good. Fires at most once per window; +every listener on the window is dropped right after it is dispatched. + +### contentLoaded + +```ts +readonly contentLoaded: "contentLoaded"; +``` + +Fired when the root view content is set or changed. + +### deactivate + +```ts +readonly deactivate: "deactivate"; +``` + +Fired when the window loses focus. + +### detached + +```ts +readonly detached: "detached"; +``` + +Fired when the native surface goes away while the window session stays alive +(iOS scene disconnect, Android activity recreation). The window stays registered +and keeps its listeners, so the same instance is reused when `attached` fires again. + +### displayed + +```ts +readonly displayed: "displayed"; +``` + +Fired after the window content has been displayed for the first time. + +### foreground + +```ts +readonly foreground: "foreground"; +``` + +Fired when the window enters the foreground. + +### layoutDirectionChanged + +```ts +readonly layoutDirectionChanged: "layoutDirectionChanged"; +``` + +Fired when the layout direction of this window changes between ltr and rtl. + +### orientationChanged + +```ts +readonly orientationChanged: "orientationChanged"; +``` + +Fired when the orientation of this window changes. + +### saveActivityState + +```ts +readonly saveActivityState: "saveActivityState"; +``` + +Fired when the activity state is being saved (Android only). + +### sceneContinueUserActivity + +```ts +readonly sceneContinueUserActivity: "sceneContinueUserActivity"; +``` + +Fired when the scene is asked to continue a handoff/universal link activity (iOS only). + +### sceneDidActivate + +```ts +readonly sceneDidActivate: "sceneDidActivate"; +``` + +Fired when the scene becomes active (iOS only). + +### sceneDidDisconnect + +```ts +readonly sceneDidDisconnect: "sceneDidDisconnect"; +``` + +Fired when the scene has disconnected (iOS only). + +### sceneDidEnterBackground + +```ts +readonly sceneDidEnterBackground: "sceneDidEnterBackground"; +``` + +Fired when the scene has entered the background (iOS only). + +### sceneOpenURLContexts + +```ts +readonly sceneOpenURLContexts: "sceneOpenURLContexts"; +``` + +Fired when the scene is asked to open one or more URLs (iOS only). + +### scenePerformActionForShortcutItem + +```ts +readonly scenePerformActionForShortcutItem: "scenePerformActionForShortcutItem"; +``` + +Fired when a home screen quick action is directed at the scene (iOS only). + +### sceneWillConnect + +```ts +readonly sceneWillConnect: "sceneWillConnect"; +``` + +Fired when the scene is about to connect (iOS only). + +### sceneWillEnterForeground + +```ts +readonly sceneWillEnterForeground: "sceneWillEnterForeground"; +``` + +Fired when the scene is about to enter the foreground (iOS only). + +### sceneWillResignActive + +```ts +readonly sceneWillResignActive: "sceneWillResignActive"; +``` + +Fired when the scene is about to resign active state (iOS only). + +### systemAppearanceChanged + +```ts +readonly systemAppearanceChanged: "systemAppearanceChanged"; +``` + +Fired when the system appearance of this window changes between light and dark. diff --git a/content/api/variables/SceneEvents.md b/content/api/variables/SceneEvents.md index bc235f1a..5e71c413 100644 --- a/content/api/variables/SceneEvents.md +++ b/content/api/variables/SceneEvents.md @@ -16,48 +16,80 @@ const SceneEvents: { }; ``` -Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-common.ts) +Defined in: [application/application-common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-common.ts) ## Type Declaration -### sceneContentSetup +### ~~sceneContentSetup~~ ```ts sceneContentSetup: string; ``` -### sceneDidActivate +#### Deprecated + +Use the Application 'windowOpen' event and NativeWindow.setContent() instead. + +### ~~sceneDidActivate~~ ```ts sceneDidActivate: string; ``` -### sceneDidDisconnect +#### Deprecated + +Use `NativeWindowEvents.sceneDidActivate` instead. + +### ~~sceneDidDisconnect~~ ```ts sceneDidDisconnect: string; ``` -### sceneDidEnterBackground +#### Deprecated + +Use `NativeWindowEvents.sceneDidDisconnect` instead. + +### ~~sceneDidEnterBackground~~ ```ts sceneDidEnterBackground: string; ``` -### sceneWillConnect +#### Deprecated + +Use `NativeWindowEvents.sceneDidEnterBackground` instead. + +### ~~sceneWillConnect~~ ```ts sceneWillConnect: string; ``` -### sceneWillEnterForeground +#### Deprecated + +Use `NativeWindowEvents.sceneWillConnect` instead. + +### ~~sceneWillEnterForeground~~ ```ts sceneWillEnterForeground: string; ``` -### sceneWillResignActive +#### Deprecated + +Use `NativeWindowEvents.sceneWillEnterForeground` instead. + +### ~~sceneWillResignActive~~ ```ts sceneWillResignActive: string; ``` + +#### Deprecated + +Use `NativeWindowEvents.sceneWillResignActive` instead. + +## Deprecated + +Use `NativeWindowEvents` from `@nativescript/core/native-window` instead. diff --git a/content/api/variables/VALID_FONT_SCALES.md b/content/api/variables/VALID_FONT_SCALES.md index ab8cc77a..dcb191a0 100644 --- a/content/api/variables/VALID_FONT_SCALES.md +++ b/content/api/variables/VALID_FONT_SCALES.md @@ -8,4 +8,4 @@ contributors: false const VALID_FONT_SCALES: number[]; ``` -Defined in: [application/application.d.ts:276](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application.d.ts#L276) +Defined in: [application/application.d.ts:373](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application.d.ts#L373) diff --git a/content/api/variables/WindowEvents.md b/content/api/variables/WindowEvents.md new file mode 100644 index 00000000..6b56693a --- /dev/null +++ b/content/api/variables/WindowEvents.md @@ -0,0 +1,44 @@ +--- +title: WindowEvents +titleTemplate: :title - API / NativeScript +description: Application-level events related to window management. +contributors: false +--- + +```ts +const WindowEvents: { + primaryWindowChanged: "primaryWindowChanged"; + windowClose: "windowClose"; + windowOpen: "windowOpen"; +}; +``` + +Defined in: [native-window/native-window-interfaces.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/native-window/native-window-interfaces.ts) + +Application-level events related to window management. + +## Type Declaration + +### primaryWindowChanged + +```ts +readonly primaryWindowChanged: "primaryWindowChanged"; +``` + +Fired on Application when another window takes over the primary role. + +### windowClose + +```ts +readonly windowClose: "windowClose"; +``` + +Fired on Application when a NativeWindow is closed/destroyed. + +### windowOpen + +```ts +readonly windowOpen: "windowOpen"; +``` + +Fired on Application when a new NativeWindow is created. diff --git a/content/api/variables/addCss.md b/content/api/variables/addCss.md index 9261d834..f235f394 100644 --- a/content/api/variables/addCss.md +++ b/content/api/variables/addCss.md @@ -8,7 +8,7 @@ contributors: false const addCss: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/android.md b/content/api/variables/android.md index d54f570b..cac00bd5 100644 --- a/content/api/variables/android.md +++ b/content/api/variables/android.md @@ -8,7 +8,7 @@ contributors: false const android: AndroidApplication; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/androidDynamicElevationOffsetProperty.md b/content/api/variables/androidDynamicElevationOffsetProperty.md index 6bc4a233..e702d0fd 100644 --- a/content/api/variables/androidDynamicElevationOffsetProperty.md +++ b/content/api/variables/androidDynamicElevationOffsetProperty.md @@ -8,4 +8,4 @@ contributors: false const androidDynamicElevationOffsetProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/androidElevationProperty.md b/content/api/variables/androidElevationProperty.md index f857ae87..9f7092c8 100644 --- a/content/api/variables/androidElevationProperty.md +++ b/content/api/variables/androidElevationProperty.md @@ -8,4 +8,4 @@ contributors: false const androidElevationProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/autocapitalizationTypeProperty.md b/content/api/variables/autocapitalizationTypeProperty.md index e79cbd40..3dd4d78c 100644 --- a/content/api/variables/autocapitalizationTypeProperty.md +++ b/content/api/variables/autocapitalizationTypeProperty.md @@ -8,4 +8,4 @@ contributors: false const autocapitalizationTypeProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L131) +Defined in: [ui/editable-text-base/index.d.ts:131](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L131) diff --git a/content/api/variables/autocorrectProperty.md b/content/api/variables/autocorrectProperty.md index 28cd747d..9916549c 100644 --- a/content/api/variables/autocorrectProperty.md +++ b/content/api/variables/autocorrectProperty.md @@ -8,4 +8,4 @@ contributors: false const autocorrectProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L132) +Defined in: [ui/editable-text-base/index.d.ts:132](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L132) diff --git a/content/api/variables/backgroundColorProperty.md b/content/api/variables/backgroundColorProperty.md index b221d8f0..2f900e43 100644 --- a/content/api/variables/backgroundColorProperty.md +++ b/content/api/variables/backgroundColorProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundColorProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/backgroundEvent.md b/content/api/variables/backgroundEvent.md index eb87b125..5666a76e 100644 --- a/content/api/variables/backgroundEvent.md +++ b/content/api/variables/backgroundEvent.md @@ -8,7 +8,7 @@ contributors: false const backgroundEvent: "background" = "background"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/backgroundImageProperty.md b/content/api/variables/backgroundImageProperty.md index d558389a..127e40c7 100644 --- a/content/api/variables/backgroundImageProperty.md +++ b/content/api/variables/backgroundImageProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundImageProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/backgroundInternalProperty.md b/content/api/variables/backgroundInternalProperty.md index fcbedc10..8c2f9b5b 100644 --- a/content/api/variables/backgroundInternalProperty.md +++ b/content/api/variables/backgroundInternalProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundInternalProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/backgroundPositionProperty.md b/content/api/variables/backgroundPositionProperty.md index e0fff8b9..42441faf 100644 --- a/content/api/variables/backgroundPositionProperty.md +++ b/content/api/variables/backgroundPositionProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundPositionProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/backgroundRepeatProperty.md b/content/api/variables/backgroundRepeatProperty.md index e24d9b95..63f1f66a 100644 --- a/content/api/variables/backgroundRepeatProperty.md +++ b/content/api/variables/backgroundRepeatProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundRepeatProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/backgroundSizeProperty.md b/content/api/variables/backgroundSizeProperty.md index 3d0bd258..85d4a545 100644 --- a/content/api/variables/backgroundSizeProperty.md +++ b/content/api/variables/backgroundSizeProperty.md @@ -8,4 +8,4 @@ contributors: false const backgroundSizeProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderBottomColorProperty.md b/content/api/variables/borderBottomColorProperty.md index de3432a3..7aff1c37 100644 --- a/content/api/variables/borderBottomColorProperty.md +++ b/content/api/variables/borderBottomColorProperty.md @@ -8,4 +8,4 @@ contributors: false const borderBottomColorProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderBottomLeftRadiusProperty.md b/content/api/variables/borderBottomLeftRadiusProperty.md index 8e77acfc..c6811f04 100644 --- a/content/api/variables/borderBottomLeftRadiusProperty.md +++ b/content/api/variables/borderBottomLeftRadiusProperty.md @@ -8,4 +8,4 @@ contributors: false const borderBottomLeftRadiusProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderBottomRightRadiusProperty.md b/content/api/variables/borderBottomRightRadiusProperty.md index f1cf63d5..9c4ee214 100644 --- a/content/api/variables/borderBottomRightRadiusProperty.md +++ b/content/api/variables/borderBottomRightRadiusProperty.md @@ -8,4 +8,4 @@ contributors: false const borderBottomRightRadiusProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderBottomWidthProperty.md b/content/api/variables/borderBottomWidthProperty.md index a3665675..940e5a33 100644 --- a/content/api/variables/borderBottomWidthProperty.md +++ b/content/api/variables/borderBottomWidthProperty.md @@ -8,4 +8,4 @@ contributors: false const borderBottomWidthProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderLeftColorProperty.md b/content/api/variables/borderLeftColorProperty.md index 29d81f0f..58105243 100644 --- a/content/api/variables/borderLeftColorProperty.md +++ b/content/api/variables/borderLeftColorProperty.md @@ -8,4 +8,4 @@ contributors: false const borderLeftColorProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderLeftWidthProperty.md b/content/api/variables/borderLeftWidthProperty.md index 9ab6b81d..60d4a882 100644 --- a/content/api/variables/borderLeftWidthProperty.md +++ b/content/api/variables/borderLeftWidthProperty.md @@ -8,4 +8,4 @@ contributors: false const borderLeftWidthProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderRightColorProperty.md b/content/api/variables/borderRightColorProperty.md index 6c1242ea..6aa6994e 100644 --- a/content/api/variables/borderRightColorProperty.md +++ b/content/api/variables/borderRightColorProperty.md @@ -8,4 +8,4 @@ contributors: false const borderRightColorProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderRightWidthProperty.md b/content/api/variables/borderRightWidthProperty.md index 5c789c9f..df79a0eb 100644 --- a/content/api/variables/borderRightWidthProperty.md +++ b/content/api/variables/borderRightWidthProperty.md @@ -8,4 +8,4 @@ contributors: false const borderRightWidthProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderTopColorProperty.md b/content/api/variables/borderTopColorProperty.md index 6bc0506a..0e850f55 100644 --- a/content/api/variables/borderTopColorProperty.md +++ b/content/api/variables/borderTopColorProperty.md @@ -8,4 +8,4 @@ contributors: false const borderTopColorProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderTopLeftRadiusProperty.md b/content/api/variables/borderTopLeftRadiusProperty.md index 3c5ef577..379dbcce 100644 --- a/content/api/variables/borderTopLeftRadiusProperty.md +++ b/content/api/variables/borderTopLeftRadiusProperty.md @@ -8,4 +8,4 @@ contributors: false const borderTopLeftRadiusProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderTopRightRadiusProperty.md b/content/api/variables/borderTopRightRadiusProperty.md index 80545d27..a0265a30 100644 --- a/content/api/variables/borderTopRightRadiusProperty.md +++ b/content/api/variables/borderTopRightRadiusProperty.md @@ -8,4 +8,4 @@ contributors: false const borderTopRightRadiusProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/borderTopWidthProperty.md b/content/api/variables/borderTopWidthProperty.md index d344dccc..54490808 100644 --- a/content/api/variables/borderTopWidthProperty.md +++ b/content/api/variables/borderTopWidthProperty.md @@ -8,4 +8,4 @@ contributors: false const borderTopWidthProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/clipPathProperty.md b/content/api/variables/clipPathProperty.md index 2e7ac9b4..d8084bb2 100644 --- a/content/api/variables/clipPathProperty.md +++ b/content/api/variables/clipPathProperty.md @@ -8,4 +8,4 @@ contributors: false const clipPathProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/colorProperty.md b/content/api/variables/colorProperty.md index 2234aad9..b987f908 100644 --- a/content/api/variables/colorProperty.md +++ b/content/api/variables/colorProperty.md @@ -8,4 +8,4 @@ contributors: false const colorProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/columnGapProperty.md b/content/api/variables/columnGapProperty.md new file mode 100644 index 00000000..0da1c991 --- /dev/null +++ b/content/api/variables/columnGapProperty.md @@ -0,0 +1,11 @@ +--- +title: columnGapProperty +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const columnGapProperty: CssProperty; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/cornerShapeProperty.md b/content/api/variables/cornerShapeProperty.md new file mode 100644 index 00000000..08027ca6 --- /dev/null +++ b/content/api/variables/cornerShapeProperty.md @@ -0,0 +1,11 @@ +--- +title: cornerShapeProperty +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const cornerShapeProperty: CssProperty; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/directionProperty.md b/content/api/variables/directionProperty.md index 36432f44..6d65be8d 100644 --- a/content/api/variables/directionProperty.md +++ b/content/api/variables/directionProperty.md @@ -8,4 +8,4 @@ contributors: false const directionProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/discardedErrorEvent.md b/content/api/variables/discardedErrorEvent.md index acab7dae..72b0fb7b 100644 --- a/content/api/variables/discardedErrorEvent.md +++ b/content/api/variables/discardedErrorEvent.md @@ -8,7 +8,7 @@ contributors: false const discardedErrorEvent: "discardedError" = "discardedError"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/displayedEvent.md b/content/api/variables/displayedEvent.md index 922e4446..355db88d 100644 --- a/content/api/variables/displayedEvent.md +++ b/content/api/variables/displayedEvent.md @@ -8,7 +8,7 @@ contributors: false const displayedEvent: "displayed" = "displayed"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/editableProperty.md b/content/api/variables/editableProperty.md index bd4a4e44..8867180a 100644 --- a/content/api/variables/editableProperty.md +++ b/content/api/variables/editableProperty.md @@ -8,4 +8,4 @@ contributors: false const editableProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L129) +Defined in: [ui/editable-text-base/index.d.ts:129](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L129) diff --git a/content/api/variables/exitEvent.md b/content/api/variables/exitEvent.md index 4ed35230..913d9c11 100644 --- a/content/api/variables/exitEvent.md +++ b/content/api/variables/exitEvent.md @@ -8,7 +8,7 @@ contributors: false const exitEvent: "exit" = "exit"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/fontFamilyProperty.md b/content/api/variables/fontFamilyProperty.md index dfee811f..b5b62360 100644 --- a/content/api/variables/fontFamilyProperty.md +++ b/content/api/variables/fontFamilyProperty.md @@ -8,4 +8,4 @@ contributors: false const fontFamilyProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontInternalProperty.md b/content/api/variables/fontInternalProperty.md index 273c7442..43b29e88 100644 --- a/content/api/variables/fontInternalProperty.md +++ b/content/api/variables/fontInternalProperty.md @@ -8,4 +8,4 @@ contributors: false const fontInternalProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontScaleChangedEvent.md b/content/api/variables/fontScaleChangedEvent.md index e70340e2..262ae53f 100644 --- a/content/api/variables/fontScaleChangedEvent.md +++ b/content/api/variables/fontScaleChangedEvent.md @@ -8,7 +8,7 @@ contributors: false const fontScaleChangedEvent: "fontScaleChanged" = "fontScaleChanged"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/fontScaleInternalProperty.md b/content/api/variables/fontScaleInternalProperty.md index e37fddce..001a0bc0 100644 --- a/content/api/variables/fontScaleInternalProperty.md +++ b/content/api/variables/fontScaleInternalProperty.md @@ -8,4 +8,4 @@ contributors: false const fontScaleInternalProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontSizeProperty.md b/content/api/variables/fontSizeProperty.md index 39d7ef49..e1afbda0 100644 --- a/content/api/variables/fontSizeProperty.md +++ b/content/api/variables/fontSizeProperty.md @@ -8,4 +8,4 @@ contributors: false const fontSizeProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontStyleProperty.md b/content/api/variables/fontStyleProperty.md index 5b0274ac..f2fd1fc9 100644 --- a/content/api/variables/fontStyleProperty.md +++ b/content/api/variables/fontStyleProperty.md @@ -8,4 +8,4 @@ contributors: false const fontStyleProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontVariationSettingsProperty.md b/content/api/variables/fontVariationSettingsProperty.md index f65de430..cc523b24 100644 --- a/content/api/variables/fontVariationSettingsProperty.md +++ b/content/api/variables/fontVariationSettingsProperty.md @@ -8,4 +8,4 @@ contributors: false const fontVariationSettingsProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/fontWeightProperty.md b/content/api/variables/fontWeightProperty.md index 652021a4..895b195e 100644 --- a/content/api/variables/fontWeightProperty.md +++ b/content/api/variables/fontWeightProperty.md @@ -8,4 +8,4 @@ contributors: false const fontWeightProperty: InheritedCssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/foregroundEvent.md b/content/api/variables/foregroundEvent.md index 01a33441..9d23b81b 100644 --- a/content/api/variables/foregroundEvent.md +++ b/content/api/variables/foregroundEvent.md @@ -8,7 +8,7 @@ contributors: false const foregroundEvent: "foreground" = "foreground"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/getCssFileName.md b/content/api/variables/getCssFileName.md index 6fe5f5a3..88654648 100644 --- a/content/api/variables/getCssFileName.md +++ b/content/api/variables/getCssFileName.md @@ -8,7 +8,7 @@ contributors: false const getCssFileName: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/getMainEntry.md b/content/api/variables/getMainEntry.md index 11323b9e..ce535e27 100644 --- a/content/api/variables/getMainEntry.md +++ b/content/api/variables/getMainEntry.md @@ -8,7 +8,7 @@ contributors: false const getMainEntry: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/getNativeApplication.md b/content/api/variables/getNativeApplication.md index acfb3e3b..c7a8aa9b 100644 --- a/content/api/variables/getNativeApplication.md +++ b/content/api/variables/getNativeApplication.md @@ -8,7 +8,7 @@ contributors: false const getNativeApplication: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/getResources.md b/content/api/variables/getResources.md index 2a7b9c57..d1221d78 100644 --- a/content/api/variables/getResources.md +++ b/content/api/variables/getResources.md @@ -8,7 +8,7 @@ contributors: false const getResources: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/getRootView.md b/content/api/variables/getRootView.md index c4c60748..9fea54c7 100644 --- a/content/api/variables/getRootView.md +++ b/content/api/variables/getRootView.md @@ -8,7 +8,7 @@ contributors: false const getRootView: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/hasLaunched.md b/content/api/variables/hasLaunched.md index 853760c3..32ebb1f6 100644 --- a/content/api/variables/hasLaunched.md +++ b/content/api/variables/hasLaunched.md @@ -8,7 +8,7 @@ contributors: false const hasLaunched: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/hasListeners.md b/content/api/variables/hasListeners.md index 3bbd335e..c3a185d5 100644 --- a/content/api/variables/hasListeners.md +++ b/content/api/variables/hasListeners.md @@ -8,7 +8,7 @@ contributors: false const hasListeners: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/heightProperty.md b/content/api/variables/heightProperty.md index 886b494a..5751ebb0 100644 --- a/content/api/variables/heightProperty.md +++ b/content/api/variables/heightProperty.md @@ -8,4 +8,4 @@ contributors: false const heightProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/hintProperty.md b/content/api/variables/hintProperty.md index 8fb76983..02dfbead 100644 --- a/content/api/variables/hintProperty.md +++ b/content/api/variables/hintProperty.md @@ -8,4 +8,4 @@ contributors: false const hintProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:133](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L133) +Defined in: [ui/editable-text-base/index.d.ts:133](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L133) diff --git a/content/api/variables/horizontalAlignmentProperty.md b/content/api/variables/horizontalAlignmentProperty.md index 6fd975ea..3855a227 100644 --- a/content/api/variables/horizontalAlignmentProperty.md +++ b/content/api/variables/horizontalAlignmentProperty.md @@ -8,4 +8,4 @@ contributors: false const horizontalAlignmentProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/inBackground.md b/content/api/variables/inBackground.md index 360e774a..4e8ea9d6 100644 --- a/content/api/variables/inBackground.md +++ b/content/api/variables/inBackground.md @@ -8,7 +8,7 @@ contributors: false const inBackground: boolean; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/ios.md b/content/api/variables/ios.md index 944457b0..36b331f7 100644 --- a/content/api/variables/ios.md +++ b/content/api/variables/ios.md @@ -8,7 +8,7 @@ contributors: false const ios: iOSApplication; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/isAndroid.md b/content/api/variables/isAndroid.md index 27b541b4..66205e3d 100644 --- a/content/api/variables/isAndroid.md +++ b/content/api/variables/isAndroid.md @@ -9,6 +9,6 @@ contributors: false const isAndroid: boolean; ``` -Defined in: [platform/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/index.d.ts#L10) +Defined in: [platform/index.d.ts:10](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/index.d.ts#L10) Gets a value indicating if the app is running on the Android platform. diff --git a/content/api/variables/isApple.md b/content/api/variables/isApple.md index 8ed819d3..ce8ab4b2 100644 --- a/content/api/variables/isApple.md +++ b/content/api/variables/isApple.md @@ -9,6 +9,6 @@ contributors: false const isApple: boolean; ``` -Defined in: [platform/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/index.d.ts#L20) +Defined in: [platform/index.d.ts:20](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/index.d.ts#L20) Gets a value indicating if the app is running on an Apple platform. diff --git a/content/api/variables/isIOS.md b/content/api/variables/isIOS.md index 99b5636a..8fd49db9 100644 --- a/content/api/variables/isIOS.md +++ b/content/api/variables/isIOS.md @@ -9,6 +9,6 @@ contributors: false const isIOS: boolean; ``` -Defined in: [platform/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/index.d.ts#L15) +Defined in: [platform/index.d.ts:15](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/index.d.ts#L15) Gets a value indicating if the app is running on the iOS platform. diff --git a/content/api/variables/isUserInteractionEnabledProperty.md b/content/api/variables/isUserInteractionEnabledProperty.md index e2910fe1..217fe848 100644 --- a/content/api/variables/isUserInteractionEnabledProperty.md +++ b/content/api/variables/isUserInteractionEnabledProperty.md @@ -8,4 +8,4 @@ contributors: false const isUserInteractionEnabledProperty: Property; ``` -Defined in: [ui/core/view/index.d.ts:1208](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/view/index.d.ts#L1208) +Defined in: [ui/core/view/index.d.ts:1265](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/view/index.d.ts#L1265) diff --git a/content/api/variables/isVisionOS.md b/content/api/variables/isVisionOS.md index 385341ce..9ea2ae68 100644 --- a/content/api/variables/isVisionOS.md +++ b/content/api/variables/isVisionOS.md @@ -9,6 +9,6 @@ contributors: false const isVisionOS: boolean; ``` -Defined in: [platform/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/index.d.ts#L25) +Defined in: [platform/index.d.ts:25](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/index.d.ts#L25) Gets a value indicating if the app is running on the iOS platform. diff --git a/content/api/variables/keyboardTypeProperty.md b/content/api/variables/keyboardTypeProperty.md index b95e8378..dcc7d439 100644 --- a/content/api/variables/keyboardTypeProperty.md +++ b/content/api/variables/keyboardTypeProperty.md @@ -8,4 +8,4 @@ contributors: false const keyboardTypeProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L127) +Defined in: [ui/editable-text-base/index.d.ts:127](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L127) diff --git a/content/api/variables/launchEvent.md b/content/api/variables/launchEvent.md index 4d430583..44bde5d6 100644 --- a/content/api/variables/launchEvent.md +++ b/content/api/variables/launchEvent.md @@ -8,7 +8,7 @@ contributors: false const launchEvent: "launch" = "launch"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/layoutDirection.md b/content/api/variables/layoutDirection.md index 6242099e..7c1759a5 100644 --- a/content/api/variables/layoutDirection.md +++ b/content/api/variables/layoutDirection.md @@ -8,7 +8,7 @@ contributors: false const layoutDirection: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/layoutDirectionChanged.md b/content/api/variables/layoutDirectionChanged.md index 600adf5b..7686bd86 100644 --- a/content/api/variables/layoutDirectionChanged.md +++ b/content/api/variables/layoutDirectionChanged.md @@ -8,7 +8,7 @@ contributors: false const layoutDirectionChanged: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/layoutDirectionChangedEvent.md b/content/api/variables/layoutDirectionChangedEvent.md index 74a68db5..150fe060 100644 --- a/content/api/variables/layoutDirectionChangedEvent.md +++ b/content/api/variables/layoutDirectionChangedEvent.md @@ -8,7 +8,7 @@ contributors: false const layoutDirectionChangedEvent: "layoutDirectionChanged" = "layoutDirectionChanged"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/letterSpacingProperty.md b/content/api/variables/letterSpacingProperty.md index 3f71fe63..af5884df 100644 --- a/content/api/variables/letterSpacingProperty.md +++ b/content/api/variables/letterSpacingProperty.md @@ -8,4 +8,4 @@ contributors: false const letterSpacingProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L229) +Defined in: [ui/text-base/index.d.ts:229](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L229) diff --git a/content/api/variables/lineHeightProperty.md b/content/api/variables/lineHeightProperty.md index d19c8134..d1e94e40 100644 --- a/content/api/variables/lineHeightProperty.md +++ b/content/api/variables/lineHeightProperty.md @@ -8,4 +8,4 @@ contributors: false const lineHeightProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:230](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L230) +Defined in: [ui/text-base/index.d.ts:230](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L230) diff --git a/content/api/variables/loadAppCss.md b/content/api/variables/loadAppCss.md index 5f241568..3f4fab63 100644 --- a/content/api/variables/loadAppCss.md +++ b/content/api/variables/loadAppCss.md @@ -8,7 +8,7 @@ contributors: false const loadAppCss: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/lowMemoryEvent.md b/content/api/variables/lowMemoryEvent.md index f934986a..1c981adf 100644 --- a/content/api/variables/lowMemoryEvent.md +++ b/content/api/variables/lowMemoryEvent.md @@ -8,7 +8,7 @@ contributors: false const lowMemoryEvent: "lowMemory" = "lowMemory"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/marginBottomProperty.md b/content/api/variables/marginBottomProperty.md index febc7a1a..9d96650f 100644 --- a/content/api/variables/marginBottomProperty.md +++ b/content/api/variables/marginBottomProperty.md @@ -8,4 +8,4 @@ contributors: false const marginBottomProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/marginLeftProperty.md b/content/api/variables/marginLeftProperty.md index 286e18ec..96a54f11 100644 --- a/content/api/variables/marginLeftProperty.md +++ b/content/api/variables/marginLeftProperty.md @@ -8,4 +8,4 @@ contributors: false const marginLeftProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/marginRightProperty.md b/content/api/variables/marginRightProperty.md index f728aa20..91684f75 100644 --- a/content/api/variables/marginRightProperty.md +++ b/content/api/variables/marginRightProperty.md @@ -8,4 +8,4 @@ contributors: false const marginRightProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/marginTopProperty.md b/content/api/variables/marginTopProperty.md index fa177609..8e3bf51c 100644 --- a/content/api/variables/marginTopProperty.md +++ b/content/api/variables/marginTopProperty.md @@ -8,4 +8,4 @@ contributors: false const marginTopProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/maxHeightProperty.md b/content/api/variables/maxHeightProperty.md new file mode 100644 index 00000000..2e70dbdb --- /dev/null +++ b/content/api/variables/maxHeightProperty.md @@ -0,0 +1,11 @@ +--- +title: maxHeightProperty +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const maxHeightProperty: CssProperty; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/maxLengthProperty.md b/content/api/variables/maxLengthProperty.md index d056882e..564b5f05 100644 --- a/content/api/variables/maxLengthProperty.md +++ b/content/api/variables/maxLengthProperty.md @@ -8,4 +8,4 @@ contributors: false const maxLengthProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L135) +Defined in: [ui/editable-text-base/index.d.ts:135](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L135) diff --git a/content/api/variables/maxWidthProperty.md b/content/api/variables/maxWidthProperty.md new file mode 100644 index 00000000..6791aff6 --- /dev/null +++ b/content/api/variables/maxWidthProperty.md @@ -0,0 +1,11 @@ +--- +title: maxWidthProperty +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const maxWidthProperty: CssProperty; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/minHeightProperty.md b/content/api/variables/minHeightProperty.md index 52f82b91..9d068eaa 100644 --- a/content/api/variables/minHeightProperty.md +++ b/content/api/variables/minHeightProperty.md @@ -8,4 +8,4 @@ contributors: false const minHeightProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/minWidthProperty.md b/content/api/variables/minWidthProperty.md index 74758d16..e4ec0816 100644 --- a/content/api/variables/minWidthProperty.md +++ b/content/api/variables/minWidthProperty.md @@ -8,4 +8,4 @@ contributors: false const minWidthProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/notify.md b/content/api/variables/notify.md index 4a3bc8ff..2d991500 100644 --- a/content/api/variables/notify.md +++ b/content/api/variables/notify.md @@ -8,7 +8,7 @@ contributors: false const notify: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/off.md b/content/api/variables/off.md index eb1f6161..e3f8cce0 100644 --- a/content/api/variables/off.md +++ b/content/api/variables/off.md @@ -8,7 +8,7 @@ contributors: false const off: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/on.md b/content/api/variables/on.md index 412ebe30..10afaa53 100644 --- a/content/api/variables/on.md +++ b/content/api/variables/on.md @@ -8,7 +8,7 @@ contributors: false const on: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/opacityProperty.md b/content/api/variables/opacityProperty.md index c01ec099..1f765025 100644 --- a/content/api/variables/opacityProperty.md +++ b/content/api/variables/opacityProperty.md @@ -8,4 +8,4 @@ contributors: false const opacityProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/orientation.md b/content/api/variables/orientation.md index 0268e385..17ed285e 100644 --- a/content/api/variables/orientation.md +++ b/content/api/variables/orientation.md @@ -8,7 +8,7 @@ contributors: false const orientation: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/orientationChangedEvent.md b/content/api/variables/orientationChangedEvent.md index ce61d8da..82e06613 100644 --- a/content/api/variables/orientationChangedEvent.md +++ b/content/api/variables/orientationChangedEvent.md @@ -8,7 +8,7 @@ contributors: false const orientationChangedEvent: "orientationChanged" = "orientationChanged"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/paddingBottomProperty.md b/content/api/variables/paddingBottomProperty.md index ee5a0fe4..0c6170a0 100644 --- a/content/api/variables/paddingBottomProperty.md +++ b/content/api/variables/paddingBottomProperty.md @@ -8,4 +8,4 @@ contributors: false const paddingBottomProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/paddingInternalProperty.md b/content/api/variables/paddingInternalProperty.md index f2e31a85..336cc88d 100644 --- a/content/api/variables/paddingInternalProperty.md +++ b/content/api/variables/paddingInternalProperty.md @@ -8,4 +8,4 @@ contributors: false const paddingInternalProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/paddingLeftProperty.md b/content/api/variables/paddingLeftProperty.md index ba703566..95e62e04 100644 --- a/content/api/variables/paddingLeftProperty.md +++ b/content/api/variables/paddingLeftProperty.md @@ -8,4 +8,4 @@ contributors: false const paddingLeftProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/paddingRightProperty.md b/content/api/variables/paddingRightProperty.md index 0e5f4d8e..1319f1d5 100644 --- a/content/api/variables/paddingRightProperty.md +++ b/content/api/variables/paddingRightProperty.md @@ -8,4 +8,4 @@ contributors: false const paddingRightProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/paddingTopProperty.md b/content/api/variables/paddingTopProperty.md index 28e1c5a9..24d88335 100644 --- a/content/api/variables/paddingTopProperty.md +++ b/content/api/variables/paddingTopProperty.md @@ -8,4 +8,4 @@ contributors: false const paddingTopProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/perspectiveProperty.md b/content/api/variables/perspectiveProperty.md index 445ca518..20c874bc 100644 --- a/content/api/variables/perspectiveProperty.md +++ b/content/api/variables/perspectiveProperty.md @@ -8,4 +8,4 @@ contributors: false const perspectiveProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/placeholderColorProperty.md b/content/api/variables/placeholderColorProperty.md index 4e66aeb2..acfbc23c 100644 --- a/content/api/variables/placeholderColorProperty.md +++ b/content/api/variables/placeholderColorProperty.md @@ -8,4 +8,4 @@ contributors: false const placeholderColorProperty: CssProperty; ``` -Defined in: [ui/editable-text-base/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L134) +Defined in: [ui/editable-text-base/index.d.ts:134](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L134) diff --git a/content/api/variables/platformNames.md b/content/api/variables/platformNames.md index 1dfa12bb..2451411a 100644 --- a/content/api/variables/platformNames.md +++ b/content/api/variables/platformNames.md @@ -13,7 +13,7 @@ const platformNames: { }; ``` -Defined in: [platform/common.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/platform/common.ts) +Defined in: [platform/common.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/platform/common.ts) ## Type Declaration diff --git a/content/api/variables/resetRootView-1.md b/content/api/variables/resetRootView-1.md index 6b946da0..0861e4c0 100644 --- a/content/api/variables/resetRootView-1.md +++ b/content/api/variables/resetRootView-1.md @@ -8,7 +8,7 @@ contributors: false const resetRootView: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/resetRootView.md b/content/api/variables/resetRootView.md index d00a0def..134a1859 100644 --- a/content/api/variables/resetRootView.md +++ b/content/api/variables/resetRootView.md @@ -8,7 +8,7 @@ contributors: false const _resetRootView: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/resumeEvent.md b/content/api/variables/resumeEvent.md index 688d010d..50a693ad 100644 --- a/content/api/variables/resumeEvent.md +++ b/content/api/variables/resumeEvent.md @@ -8,7 +8,7 @@ contributors: false const resumeEvent: "resume" = "resume"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/returnKeyTypeProperty.md b/content/api/variables/returnKeyTypeProperty.md index e1c0aee8..0f07a4a7 100644 --- a/content/api/variables/returnKeyTypeProperty.md +++ b/content/api/variables/returnKeyTypeProperty.md @@ -8,4 +8,4 @@ contributors: false const returnKeyTypeProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L128) +Defined in: [ui/editable-text-base/index.d.ts:128](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L128) diff --git a/content/api/variables/rotateProperty.md b/content/api/variables/rotateProperty.md index 38cbf7ab..dc32ddb5 100644 --- a/content/api/variables/rotateProperty.md +++ b/content/api/variables/rotateProperty.md @@ -8,4 +8,4 @@ contributors: false const rotateProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/rotateXProperty.md b/content/api/variables/rotateXProperty.md index 85ec1114..88d225a5 100644 --- a/content/api/variables/rotateXProperty.md +++ b/content/api/variables/rotateXProperty.md @@ -8,4 +8,4 @@ contributors: false const rotateXProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/rotateYProperty.md b/content/api/variables/rotateYProperty.md index 584d03ca..807f1bf1 100644 --- a/content/api/variables/rotateYProperty.md +++ b/content/api/variables/rotateYProperty.md @@ -8,4 +8,4 @@ contributors: false const rotateYProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/rowGapProperty.md b/content/api/variables/rowGapProperty.md new file mode 100644 index 00000000..eb3d87cc --- /dev/null +++ b/content/api/variables/rowGapProperty.md @@ -0,0 +1,11 @@ +--- +title: rowGapProperty +titleTemplate: :title - API / NativeScript +contributors: false +--- + +```ts +const rowGapProperty: CssProperty; +``` + +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/run.md b/content/api/variables/run.md index 9beb9d59..cd4b807d 100644 --- a/content/api/variables/run.md +++ b/content/api/variables/run.md @@ -8,7 +8,7 @@ contributors: false const run: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/scaleXProperty.md b/content/api/variables/scaleXProperty.md index 42c5666f..07413bd3 100644 --- a/content/api/variables/scaleXProperty.md +++ b/content/api/variables/scaleXProperty.md @@ -8,4 +8,4 @@ contributors: false const scaleXProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/scaleYProperty.md b/content/api/variables/scaleYProperty.md index 7e4fa7bc..ec2d89f0 100644 --- a/content/api/variables/scaleYProperty.md +++ b/content/api/variables/scaleYProperty.md @@ -8,4 +8,4 @@ contributors: false const scaleYProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/setAutoSystemAppearanceChanged.md b/content/api/variables/setAutoSystemAppearanceChanged.md index cd22673a..090869ae 100644 --- a/content/api/variables/setAutoSystemAppearanceChanged.md +++ b/content/api/variables/setAutoSystemAppearanceChanged.md @@ -8,7 +8,7 @@ contributors: false const setAutoSystemAppearanceChanged: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/setCssFileName.md b/content/api/variables/setCssFileName.md index 33fde582..152381dc 100644 --- a/content/api/variables/setCssFileName.md +++ b/content/api/variables/setCssFileName.md @@ -8,7 +8,7 @@ contributors: false const setCssFileName: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/setMaxRefreshRate.md b/content/api/variables/setMaxRefreshRate.md index 652ccdc1..c8bdbdfe 100644 --- a/content/api/variables/setMaxRefreshRate.md +++ b/content/api/variables/setMaxRefreshRate.md @@ -8,7 +8,7 @@ contributors: false const setMaxRefreshRate: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/setResources.md b/content/api/variables/setResources.md index 81c45b60..0a0c8cc7 100644 --- a/content/api/variables/setResources.md +++ b/content/api/variables/setResources.md @@ -8,7 +8,7 @@ contributors: false const setResources: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/suspendEvent.md b/content/api/variables/suspendEvent.md index b6032d2a..93ae8a83 100644 --- a/content/api/variables/suspendEvent.md +++ b/content/api/variables/suspendEvent.md @@ -8,7 +8,7 @@ contributors: false const suspendEvent: "suspend" = "suspend"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/suspended.md b/content/api/variables/suspended.md index 2949d41e..9cadc132 100644 --- a/content/api/variables/suspended.md +++ b/content/api/variables/suspended.md @@ -8,7 +8,7 @@ contributors: false const suspended: boolean; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/systemAppearance.md b/content/api/variables/systemAppearance.md index e8ce2c04..e9367e51 100644 --- a/content/api/variables/systemAppearance.md +++ b/content/api/variables/systemAppearance.md @@ -8,7 +8,7 @@ contributors: false const systemAppearance: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/systemAppearanceChanged.md b/content/api/variables/systemAppearanceChanged.md index 489169a5..c346bc1f 100644 --- a/content/api/variables/systemAppearanceChanged.md +++ b/content/api/variables/systemAppearanceChanged.md @@ -8,7 +8,7 @@ contributors: false const systemAppearanceChanged: any; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/systemAppearanceChangedEvent.md b/content/api/variables/systemAppearanceChangedEvent.md index dbeafb29..38e4d8fa 100644 --- a/content/api/variables/systemAppearanceChangedEvent.md +++ b/content/api/variables/systemAppearanceChangedEvent.md @@ -8,7 +8,7 @@ contributors: false const systemAppearanceChangedEvent: "systemAppearanceChanged" = "systemAppearanceChanged"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/textAlignmentProperty.md b/content/api/variables/textAlignmentProperty.md index 8e9a8a65..97eac735 100644 --- a/content/api/variables/textAlignmentProperty.md +++ b/content/api/variables/textAlignmentProperty.md @@ -8,4 +8,4 @@ contributors: false const textAlignmentProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L222) +Defined in: [ui/text-base/index.d.ts:222](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L222) diff --git a/content/api/variables/textDecorationProperty.md b/content/api/variables/textDecorationProperty.md index 8ae88117..c03c5d77 100644 --- a/content/api/variables/textDecorationProperty.md +++ b/content/api/variables/textDecorationProperty.md @@ -8,4 +8,4 @@ contributors: false const textDecorationProperty: CssProperty; ``` -Defined in: [ui/text-base/index.d.ts:223](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L223) +Defined in: [ui/text-base/index.d.ts:223](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L223) diff --git a/content/api/variables/textOverflowProperty.md b/content/api/variables/textOverflowProperty.md index c7343f8e..91d45744 100644 --- a/content/api/variables/textOverflowProperty.md +++ b/content/api/variables/textOverflowProperty.md @@ -8,4 +8,4 @@ contributors: false const textOverflowProperty: CssProperty; ``` -Defined in: [ui/text-base/index.d.ts:228](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L228) +Defined in: [ui/text-base/index.d.ts:228](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L228) diff --git a/content/api/variables/textShadowProperty.md b/content/api/variables/textShadowProperty.md index 4a85ea39..d0be0dc1 100644 --- a/content/api/variables/textShadowProperty.md +++ b/content/api/variables/textShadowProperty.md @@ -8,4 +8,4 @@ contributors: false const textShadowProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L225) +Defined in: [ui/text-base/index.d.ts:225](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L225) diff --git a/content/api/variables/textStrokeProperty.md b/content/api/variables/textStrokeProperty.md index d12a3288..66a104a7 100644 --- a/content/api/variables/textStrokeProperty.md +++ b/content/api/variables/textStrokeProperty.md @@ -8,4 +8,4 @@ contributors: false const textStrokeProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:226](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L226) +Defined in: [ui/text-base/index.d.ts:226](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L226) diff --git a/content/api/variables/textTransformProperty.md b/content/api/variables/textTransformProperty.md index 23d20425..0cfbe6ca 100644 --- a/content/api/variables/textTransformProperty.md +++ b/content/api/variables/textTransformProperty.md @@ -8,4 +8,4 @@ contributors: false const textTransformProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:224](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L224) +Defined in: [ui/text-base/index.d.ts:224](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L224) diff --git a/content/api/variables/translateXProperty.md b/content/api/variables/translateXProperty.md index 7031f9ce..612e6f55 100644 --- a/content/api/variables/translateXProperty.md +++ b/content/api/variables/translateXProperty.md @@ -8,4 +8,4 @@ contributors: false const translateXProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/translateYProperty.md b/content/api/variables/translateYProperty.md index 5dad9ea1..5673ce4e 100644 --- a/content/api/variables/translateYProperty.md +++ b/content/api/variables/translateYProperty.md @@ -8,4 +8,4 @@ contributors: false const translateYProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/uncaughtErrorEvent.md b/content/api/variables/uncaughtErrorEvent.md index 62a241b0..36f72005 100644 --- a/content/api/variables/uncaughtErrorEvent.md +++ b/content/api/variables/uncaughtErrorEvent.md @@ -8,7 +8,7 @@ contributors: false const uncaughtErrorEvent: "uncaughtError" = "uncaughtError"; ``` -Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/application/application-shims.ts) +Defined in: [application/application-shims.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/application/application-shims.ts) ## Deprecated diff --git a/content/api/variables/unsetValue.md b/content/api/variables/unsetValue.md index 4cdd13fe..8e5e5e43 100644 --- a/content/api/variables/unsetValue.md +++ b/content/api/variables/unsetValue.md @@ -9,6 +9,6 @@ contributors: false const unsetValue: any; ``` -Defined in: [ui/core/properties/property-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/core/properties/property-shared.ts) +Defined in: [ui/core/properties/property-shared.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/core/properties/property-shared.ts) Value specifying that Property should be set to its initial value. diff --git a/content/api/variables/updateTextTriggerProperty.md b/content/api/variables/updateTextTriggerProperty.md index 873fccc6..57255c02 100644 --- a/content/api/variables/updateTextTriggerProperty.md +++ b/content/api/variables/updateTextTriggerProperty.md @@ -8,4 +8,4 @@ contributors: false const updateTextTriggerProperty: Property; ``` -Defined in: [ui/editable-text-base/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/editable-text-base/index.d.ts#L130) +Defined in: [ui/editable-text-base/index.d.ts:130](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/editable-text-base/index.d.ts#L130) diff --git a/content/api/variables/verticalAlignmentProperty.md b/content/api/variables/verticalAlignmentProperty.md index 11dbbf85..069197e3 100644 --- a/content/api/variables/verticalAlignmentProperty.md +++ b/content/api/variables/verticalAlignmentProperty.md @@ -8,4 +8,4 @@ contributors: false const verticalAlignmentProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/visibilityProperty.md b/content/api/variables/visibilityProperty.md index 5957380d..2db66076 100644 --- a/content/api/variables/visibilityProperty.md +++ b/content/api/variables/visibilityProperty.md @@ -8,4 +8,4 @@ contributors: false const visibilityProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/whiteSpaceProperty.md b/content/api/variables/whiteSpaceProperty.md index 0f9e067f..12cd1101 100644 --- a/content/api/variables/whiteSpaceProperty.md +++ b/content/api/variables/whiteSpaceProperty.md @@ -8,4 +8,4 @@ contributors: false const whiteSpaceProperty: InheritedCssProperty; ``` -Defined in: [ui/text-base/index.d.ts:227](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/text-base/index.d.ts#L227) +Defined in: [ui/text-base/index.d.ts:227](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/text-base/index.d.ts#L227) diff --git a/content/api/variables/widthProperty.md b/content/api/variables/widthProperty.md index dfcf0859..8f1c63ca 100644 --- a/content/api/variables/widthProperty.md +++ b/content/api/variables/widthProperty.md @@ -8,4 +8,4 @@ contributors: false const widthProperty: CssAnimationProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/api/variables/zIndexProperty.md b/content/api/variables/zIndexProperty.md index 7944557c..25e1a3d8 100644 --- a/content/api/variables/zIndexProperty.md +++ b/content/api/variables/zIndexProperty.md @@ -8,4 +8,4 @@ contributors: false const zIndexProperty: CssProperty; ``` -Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.0.20-core/packages/core/ui/styling/style-properties.ts) +Defined in: [ui/styling/style-properties.ts](https://github.com/NativeScript/NativeScript/blob/9.1.0-core/packages/core/ui/styling/style-properties.ts) diff --git a/content/public/api-index.json b/content/public/api-index.json index 73c6df21..cdc3c7ee 100644 --- a/content/public/api-index.json +++ b/content/public/api-index.json @@ -1 +1 @@ -{"package":"@nativescript/core","version":"9.0.20","generated":"2026-07-12","symbols":[{"name":"AccessibilityEvents","kind":"namespace","url":"/api/namespaces/AccessibilityEvents/"},{"name":"accessibilityBlurEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent"},{"name":"accessibilityFocusChangedEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent"},{"name":"accessibilityFocusEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent"},{"name":"accessibilityPerformEscapeEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent"},{"name":"AndroidHelper","kind":"namespace","url":"/api/namespaces/AndroidHelper/","summary":"Various Android view helper methods"},{"name":"clearDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/clearDrawableColor"},{"name":"getCopyOrDrawable","kind":"function","url":"/api/namespaces/AndroidHelper/functions/getCopyOrDrawable"},{"name":"getDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/getDrawableColor"},{"name":"setDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/setDrawableColor"},{"name":"ApplicationSettings","kind":"namespace","url":"/api/namespaces/ApplicationSettings/"},{"name":"clear","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/clear"},{"name":"flush","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/flush"},{"name":"getAllKeys","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getAllKeys"},{"name":"getBoolean","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getBoolean"},{"name":"getNumber","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getNumber"},{"name":"getString","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getString"},{"name":"hasKey","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/hasKey"},{"name":"remove","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/remove"},{"name":"setBoolean","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setBoolean"},{"name":"setNumber","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setNumber"},{"name":"setString","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setString"},{"name":"capitalizationType","kind":"namespace","url":"/api/namespaces/capitalizationType/","summary":"Defines the capitalization type for prompt dialog."},{"name":"all","kind":"variable","url":"/api/namespaces/capitalizationType/variables/all","summary":"Capitalizes every character."},{"name":"none","kind":"variable","url":"/api/namespaces/capitalizationType/variables/none","summary":"No automatic capitalization."},{"name":"sentences","kind":"variable","url":"/api/namespaces/capitalizationType/variables/sentences","summary":"Capitalize the first word of each sentence."},{"name":"words","kind":"variable","url":"/api/namespaces/capitalizationType/variables/words","summary":"Capitalize the first letter of every word."},{"name":"Connectivity","kind":"namespace","url":"/api/namespaces/Connectivity/"},{"name":"connectionType","kind":"enum","url":"/api/namespaces/Connectivity/enumerations/connectionType","summary":"Defines the different connection types."},{"name":"getConnectionType","kind":"function","url":"/api/namespaces/Connectivity/functions/getConnectionType"},{"name":"startMonitoring","kind":"function","url":"/api/namespaces/Connectivity/functions/startMonitoring"},{"name":"stopMonitoring","kind":"function","url":"/api/namespaces/Connectivity/functions/stopMonitoring"},{"name":"CoreTypes","kind":"namespace","url":"/api/namespaces/CoreTypes/"},{"name":"Accuracy","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/"},{"name":"any","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any"},{"name":"high","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high"},{"name":"AndroidActionBarIconVisibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/"},{"name":"always","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always"},{"name":"auto","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto"},{"name":"never","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never"},{"name":"AndroidActionItemPosition","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/"},{"name":"actionBar","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar"},{"name":"actionBarIfRoom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom"},{"name":"popup","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup"},{"name":"AnimationCurve","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/"},{"name":"ease","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease"},{"name":"easeIn","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn"},{"name":"easeInOut","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut"},{"name":"easeOut","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut"},{"name":"linear","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear"},{"name":"spring","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring"},{"name":"cubicBezier","kind":"function","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier"},{"name":"AutocapitalizationType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/"},{"name":"allCharacters","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none"},{"name":"sentences","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences"},{"name":"words","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words"},{"name":"AutofillType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/"},{"name":"newPassword","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword"},{"name":"newUsername","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none"},{"name":"oneTimeCode","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode"},{"name":"password","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password"},{"name":"username","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username"},{"name":"BackgroundRepeat","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid"},{"name":"noRepeat","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse"},{"name":"repeat","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat"},{"name":"repeatX","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX"},{"name":"repeatY","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY"},{"name":"DeviceOrientation","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/"},{"name":"landscape","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape"},{"name":"portrait","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait"},{"name":"unknown","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown"},{"name":"DeviceType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/"},{"name":"Phone","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone"},{"name":"Tablet","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet"},{"name":"Dock","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Dock/"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/right"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/top"},{"name":"FontAttributes","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/"},{"name":"Bold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold"},{"name":"Italic","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic"},{"name":"Normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal"},{"name":"FontStyle","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/"},{"name":"italic","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal"},{"name":"FontWeight","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/"},{"name":"black","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black"},{"name":"bold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold"},{"name":"extraBold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold"},{"name":"extraLight","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light"},{"name":"medium","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal"},{"name":"semiBold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold"},{"name":"thin","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin"},{"name":"HorizontalAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/"},{"name":"center","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center"},{"name":"end","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right"},{"name":"start","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch"},{"name":"ImageFormat","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/"},{"name":"jpeg","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg"},{"name":"jpg","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg"},{"name":"png","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png"},{"name":"ImageStretch","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/"},{"name":"aspectFill","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill"},{"name":"aspectFit","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit"},{"name":"fill","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none"},{"name":"IOSActionItemPosition","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right"},{"name":"KeyboardType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/"},{"name":"datetime","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime"},{"name":"decimal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal"},{"name":"email","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email"},{"name":"integer","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer"},{"name":"number","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number"},{"name":"phone","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone"},{"name":"url","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url"},{"name":"LayoutDirection","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/"},{"name":"ltr","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr"},{"name":"rtl","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl"},{"name":"NavigationBarVisibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/"},{"name":"always","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always"},{"name":"auto","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto"},{"name":"never","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never"},{"name":"Orientation","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Orientation/"},{"name":"horizontal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal"},{"name":"vertical","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical"},{"name":"ReturnKeyType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/"},{"name":"done","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done"},{"name":"go","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go"},{"name":"next","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next"},{"name":"search","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search"},{"name":"send","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send"},{"name":"StatusBarStyle","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/"},{"name":"dark","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light"},{"name":"SystemAppearance","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/"},{"name":"dark","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light"},{"name":"TextAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/"},{"name":"center","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center"},{"name":"justify","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right"},{"name":"TextDecoration","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/"},{"name":"lineThrough","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none"},{"name":"underline","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline"},{"name":"TextOverflow","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/"},{"name":"clip","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip"},{"name":"ellipsis","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis"},{"name":"TextTransform","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/"},{"name":"capitalize","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize"},{"name":"lowercase","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none"},{"name":"uppercase","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase"},{"name":"UpdateTextTrigger","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/"},{"name":"focusLost","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost"},{"name":"textChanged","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged"},{"name":"VerticalAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom"},{"name":"middle","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top"},{"name":"VerticalAlignmentText","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/"},{"name":"baseline","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid"},{"name":"middle","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch"},{"name":"sub","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub"},{"name":"sup","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup"},{"name":"textbottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom"},{"name":"texttop","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top"},{"name":"Visibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Visibility/"},{"name":"collapse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse"},{"name":"collapsed","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed"},{"name":"hidden","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse"},{"name":"visible","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible"},{"name":"WhiteSpace","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal"},{"name":"nowrap","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap"},{"name":"wrap","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap"},{"name":"AndroidOverflow","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AndroidOverflow"},{"name":"AutocapitalizationInputType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType"},{"name":"AutofillType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AutofillType"},{"name":"BackgroundRepeatType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType"},{"name":"CSSWideKeywords","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords"},{"name":"DeviceOrientationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType"},{"name":"dip","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/dip","summary":"Denotes a length number that is in device independent pixel units."},{"name":"DockType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/DockType"},{"name":"FixedLengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/FixedLengthType"},{"name":"HorizontalAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType"},{"name":"ImageStretchType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/ImageStretchType"},{"name":"KeyboardInputType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/KeyboardInputType"},{"name":"LayoutDirectionType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType"},{"name":"LengthDipUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthDipUnit"},{"name":"LengthPercentUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit"},{"name":"LengthPxUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthPxUnit"},{"name":"LengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthType"},{"name":"MaxLinesType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/MaxLinesType"},{"name":"OrientationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/OrientationType"},{"name":"percent","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/percent","summary":"Denotes a normalized percent number. 0% is represented as 0 50% is represented as 0.5 100% is represented as 1"},{"name":"PercentLengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/PercentLengthType"},{"name":"px","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/px","summary":"Denotes a length number that is in physical device pixels."},{"name":"ReturnKeyButtonType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType"},{"name":"TextAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextAlignmentType"},{"name":"TextDecorationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextDecorationType"},{"name":"TextOverflowType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextOverflowType"},{"name":"TextTransformType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextTransformType"},{"name":"UpdateTextTriggerType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType"},{"name":"VerticalAlignmentTextType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType"},{"name":"VerticalAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType"},{"name":"VisibilityType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VisibilityType"},{"name":"WhiteSpaceType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType"},{"name":"zeroLength","kind":"variable","url":"/api/namespaces/CoreTypes/variables/zeroLength"},{"name":"CSSUtils","kind":"namespace","url":"/api/namespaces/CSSUtils/"},{"name":"CLASS_PREFIX","kind":"variable","url":"/api/namespaces/CSSUtils/variables/CLASS_PREFIX"},{"name":"MODAL_ROOT_VIEW_CSS_CLASS","kind":"variable","url":"/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS"},{"name":"ROOT_VIEW_CSS_CLASS","kind":"variable","url":"/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS"},{"name":"getModalRootViewCssClass","kind":"function","url":"/api/namespaces/CSSUtils/functions/getModalRootViewCssClass"},{"name":"getRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/getRootViewCssClasses"},{"name":"getSystemCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/getSystemCssClasses"},{"name":"pushToRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses"},{"name":"pushToSystemCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/pushToSystemCssClasses"},{"name":"removeFromRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses"},{"name":"removeSystemCssClass","kind":"function","url":"/api/namespaces/CSSUtils/functions/removeSystemCssClass"},{"name":"DialogStrings","kind":"namespace","url":"/api/namespaces/DialogStrings/"},{"name":"ALERT","kind":"variable","url":"/api/namespaces/DialogStrings/variables/ALERT"},{"name":"CANCEL","kind":"variable","url":"/api/namespaces/DialogStrings/variables/CANCEL"},{"name":"CONFIRM","kind":"variable","url":"/api/namespaces/DialogStrings/variables/CONFIRM"},{"name":"LOGIN","kind":"variable","url":"/api/namespaces/DialogStrings/variables/LOGIN"},{"name":"OK","kind":"variable","url":"/api/namespaces/DialogStrings/variables/OK"},{"name":"PROMPT","kind":"variable","url":"/api/namespaces/DialogStrings/variables/PROMPT"},{"name":"STRING","kind":"variable","url":"/api/namespaces/DialogStrings/variables/STRING"},{"name":"encoding","kind":"namespace","url":"/api/namespaces/encoding/","summary":"Defines the supported character encodings."},{"name":"ISO_8859_1","kind":"variable","url":"/api/namespaces/encoding/variables/ISO_8859_1","summary":"Denotes ISO-8859-1 character encoding."},{"name":"US_ASCII","kind":"variable","url":"/api/namespaces/encoding/variables/US_ASCII","summary":"Denotes US_ASCII character encoding."},{"name":"UTF_16","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16","summary":"Denotes UTF_16 character encoding."},{"name":"UTF_16BE","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16BE","summary":"Denotes UTF_16BE character encoding."},{"name":"UTF_16LE","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16LE","summary":"Denotes UTF_16LE character encoding."},{"name":"UTF_8","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_8","summary":"Denotes UTF_8 character encoding."},{"name":"FixedLength","kind":"namespace","url":"/api/namespaces/FixedLength/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/FixedLength/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/FixedLength/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/FixedLength/variables/toDevicePixels","summary":"Converts FixedLengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/FixedLength/functions/parse"},{"name":"FontStyle","kind":"namespace","url":"/api/namespaces/FontStyle/"},{"name":"ITALIC","kind":"variable","url":"/api/namespaces/FontStyle/variables/ITALIC"},{"name":"NORMAL","kind":"variable","url":"/api/namespaces/FontStyle/variables/NORMAL"},{"name":"isValid","kind":"function","url":"/api/namespaces/FontStyle/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/FontStyle/functions/parse"},{"name":"FontVariationSettings","kind":"namespace","url":"/api/namespaces/FontVariationSettings/"},{"name":"parse","kind":"function","url":"/api/namespaces/FontVariationSettings/functions/parse"},{"name":"toString","kind":"function","url":"/api/namespaces/FontVariationSettings/functions/toString"},{"name":"FontWeight","kind":"namespace","url":"/api/namespaces/FontWeight/"},{"name":"BLACK","kind":"variable","url":"/api/namespaces/FontWeight/variables/BLACK"},{"name":"BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/BOLD"},{"name":"EXTRA_BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/EXTRA_BOLD"},{"name":"EXTRA_LIGHT","kind":"variable","url":"/api/namespaces/FontWeight/variables/EXTRA_LIGHT"},{"name":"LIGHT","kind":"variable","url":"/api/namespaces/FontWeight/variables/LIGHT"},{"name":"MEDIUM","kind":"variable","url":"/api/namespaces/FontWeight/variables/MEDIUM"},{"name":"NORMAL","kind":"variable","url":"/api/namespaces/FontWeight/variables/NORMAL"},{"name":"SEMI_BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/SEMI_BOLD"},{"name":"THIN","kind":"variable","url":"/api/namespaces/FontWeight/variables/THIN"},{"name":"isValid","kind":"function","url":"/api/namespaces/FontWeight/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/FontWeight/functions/parse"},{"name":"GridUnitType","kind":"namespace","url":"/api/namespaces/GridUnitType/"},{"name":"AUTO","kind":"variable","url":"/api/namespaces/GridUnitType/variables/AUTO"},{"name":"PIXEL","kind":"variable","url":"/api/namespaces/GridUnitType/variables/PIXEL"},{"name":"STAR","kind":"variable","url":"/api/namespaces/GridUnitType/variables/STAR"},{"name":"isValid","kind":"function","url":"/api/namespaces/GridUnitType/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/GridUnitType/functions/parse"},{"name":"Http","kind":"namespace","url":"/api/namespaces/Http/"},{"name":"HttpContentHandler","kind":"interface","url":"/api/namespaces/Http/interfaces/HttpContentHandler"},{"name":"request","kind":"variable","url":"/api/namespaces/Http/variables/request","summary":"Makes a generic http request using the provided options and returns a HttpResponse Object."},{"name":"getBinary","kind":"function","url":"/api/namespaces/Http/functions/getBinary"},{"name":"getFile","kind":"function","url":"/api/namespaces/Http/functions/getFile"},{"name":"getImage","kind":"function","url":"/api/namespaces/Http/functions/getImage"},{"name":"getJSON","kind":"function","url":"/api/namespaces/Http/functions/getJSON"},{"name":"getString","kind":"function","url":"/api/namespaces/Http/functions/getString"},{"name":"inputType","kind":"namespace","url":"/api/namespaces/inputType/","summary":"Defines the input type for prompt dialog."},{"name":"decimal","kind":"variable","url":"/api/namespaces/inputType/variables/decimal","summary":"Decimal input type."},{"name":"email","kind":"variable","url":"/api/namespaces/inputType/variables/email","summary":"Email input type."},{"name":"number","kind":"variable","url":"/api/namespaces/inputType/variables/number","summary":"Number input type."},{"name":"password","kind":"variable","url":"/api/namespaces/inputType/variables/password","summary":"Password input type."},{"name":"phone","kind":"variable","url":"/api/namespaces/inputType/variables/phone","summary":"Phone input type."},{"name":"text","kind":"variable","url":"/api/namespaces/inputType/variables/text","summary":"Plain text input type."},{"name":"IOSHelper","kind":"namespace","url":"/api/namespaces/IOSHelper/","summary":"Various iOS view helper methods"},{"name":"UIAdaptivePresentationControllerDelegateImp","kind":"class","url":"/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp"},{"name":"UILayoutViewController","kind":"class","url":"/api/namespaces/IOSHelper/classes/UILayoutViewController"},{"name":"UIPopoverPresentationControllerDelegateImp","kind":"class","url":"/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp"},{"name":"traitCollectionColorAppearanceChangedEvent","kind":"variable","url":"/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent","summary":"String value used when hooking to traitCollectionColorAppearanceChangedEvent event."},{"name":"traitCollectionLayoutDirectionChangedEvent","kind":"variable","url":"/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent","summary":"String value used when hooking to traitCollectionLayoutDirectionChangedEvent event."},{"name":"expandBeyondSafeArea","kind":"function","url":"/api/namespaces/IOSHelper/functions/expandBeyondSafeArea"},{"name":"getFrameFromPosition","kind":"function","url":"/api/namespaces/IOSHelper/functions/getFrameFromPosition"},{"name":"getParentWithViewController","kind":"function","url":"/api/namespaces/IOSHelper/functions/getParentWithViewController"},{"name":"getPositionFromFrame","kind":"function","url":"/api/namespaces/IOSHelper/functions/getPositionFromFrame"},{"name":"invalidateStatusBarAppearance","kind":"function","url":"/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance"},{"name":"layoutView","kind":"function","url":"/api/namespaces/IOSHelper/functions/layoutView"},{"name":"shrinkToSafeArea","kind":"function","url":"/api/namespaces/IOSHelper/functions/shrinkToSafeArea"},{"name":"updateAutoAdjustScrollInsets","kind":"function","url":"/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets"},{"name":"updateConstraints","kind":"function","url":"/api/namespaces/IOSHelper/functions/updateConstraints"},{"name":"knownFolders","kind":"namespace","url":"/api/namespaces/knownFolders/","summary":"Provides access to the top-level Folders instances that are accessible from the application. Use these as entry points to access the FileSystem."},{"name":"ios","kind":"namespace","url":"/api/namespaces/knownFolders/namespaces/ios/","summary":"Contains iOS-specific known folders."},{"name":"desktop","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/desktop"},{"name":"developer","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/developer"},{"name":"downloads","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/downloads"},{"name":"library","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/library"},{"name":"movies","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/movies"},{"name":"music","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/music"},{"name":"pictures","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/pictures"},{"name":"sharedPublic","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic"},{"name":"currentApp","kind":"function","url":"/api/namespaces/knownFolders/functions/currentApp"},{"name":"documents","kind":"function","url":"/api/namespaces/knownFolders/functions/documents"},{"name":"externalDocuments","kind":"function","url":"/api/namespaces/knownFolders/functions/externalDocuments"},{"name":"temp","kind":"function","url":"/api/namespaces/knownFolders/functions/temp"},{"name":"Length","kind":"namespace","url":"/api/namespaces/Length/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/Length/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/Length/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/Length/variables/toDevicePixels","summary":"Converts LengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/Length/functions/parse"},{"name":"path","kind":"namespace","url":"/api/namespaces/path/","summary":"Enables path-specific operations like join, extension, etc."},{"name":"separator","kind":"variable","url":"/api/namespaces/path/variables/separator","summary":"Gets the string used to separate file paths."},{"name":"join","kind":"function","url":"/api/namespaces/path/functions/join"},{"name":"normalize","kind":"function","url":"/api/namespaces/path/functions/normalize"},{"name":"PercentLength","kind":"namespace","url":"/api/namespaces/PercentLength/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/PercentLength/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/PercentLength/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/PercentLength/variables/toDevicePixels","summary":"Converts PercentLengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/PercentLength/functions/parse"},{"name":"Trace","kind":"namespace","url":"/api/namespaces/Trace/"},{"name":"categories","kind":"namespace","url":"/api/namespaces/Trace/namespaces/categories/","summary":"all predefined categories."},{"name":"All","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/All"},{"name":"Animation","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Animation"},{"name":"Binding","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Binding"},{"name":"BindingError","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/BindingError"},{"name":"Debug","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Debug"},{"name":"Error","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Error"},{"name":"Layout","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Layout"},{"name":"Livesync","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Livesync"},{"name":"MediaQuery","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/MediaQuery"},{"name":"ModuleNameResolver","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver"},{"name":"NativeLifecycle","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle"},{"name":"Navigation","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Navigation"},{"name":"separator","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/separator"},{"name":"Style","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Style"},{"name":"Test","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Test"},{"name":"Transition","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Transition"},{"name":"ViewHierarchy","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy"},{"name":"VisualTreeEvents","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents"},{"name":"concat","kind":"function","url":"/api/namespaces/Trace/namespaces/categories/functions/concat"},{"name":"messageType","kind":"namespace","url":"/api/namespaces/Trace/namespaces/messageType/"},{"name":"error","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/error"},{"name":"info","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/info"},{"name":"log","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/log"},{"name":"warn","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/warn"},{"name":"ConsoleWriter","kind":"class","url":"/api/namespaces/Trace/classes/ConsoleWriter","summary":"An interface used to define a writer used by trace to print (log)."},{"name":"DefaultErrorHandler","kind":"class","url":"/api/namespaces/Trace/classes/DefaultErrorHandler","summary":"An interface used to for handling trace error"},{"name":"addCategories","kind":"function","url":"/api/namespaces/Trace/functions/addCategories"},{"name":"addEventListener","kind":"function","url":"/api/namespaces/Trace/functions/addEventListener"},{"name":"addWriter","kind":"function","url":"/api/namespaces/Trace/functions/addWriter"},{"name":"clearWriters","kind":"function","url":"/api/namespaces/Trace/functions/clearWriters"},{"name":"disable","kind":"function","url":"/api/namespaces/Trace/functions/disable"},{"name":"enable","kind":"function","url":"/api/namespaces/Trace/functions/enable"},{"name":"error","kind":"function","url":"/api/namespaces/Trace/functions/error"},{"name":"getErrorHandler","kind":"function","url":"/api/namespaces/Trace/functions/getErrorHandler"},{"name":"isCategorySet","kind":"function","url":"/api/namespaces/Trace/functions/isCategorySet"},{"name":"isEnabled","kind":"function","url":"/api/namespaces/Trace/functions/isEnabled"},{"name":"notifyEvent","kind":"function","url":"/api/namespaces/Trace/functions/notifyEvent"},{"name":"removeEventListener","kind":"function","url":"/api/namespaces/Trace/functions/removeEventListener"},{"name":"removeWriter","kind":"function","url":"/api/namespaces/Trace/functions/removeWriter"},{"name":"setCategories","kind":"function","url":"/api/namespaces/Trace/functions/setCategories"},{"name":"setErrorHandler","kind":"function","url":"/api/namespaces/Trace/functions/setErrorHandler"},{"name":"write","kind":"function","url":"/api/namespaces/Trace/functions/write"},{"name":"Utils","kind":"namespace","url":"/api/namespaces/Utils/"},{"name":"layout","kind":"namespace","url":"/api/namespaces/Utils/namespaces/layout/","summary":"Utility module related to layout."},{"name":"AT_MOST","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/AT_MOST"},{"name":"EXACTLY","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/EXACTLY"},{"name":"MEASURED_HEIGHT_STATE_SHIFT","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT"},{"name":"MEASURED_SIZE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK"},{"name":"MEASURED_STATE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK"},{"name":"MEASURED_STATE_TOO_SMALL","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL"},{"name":"MODE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK"},{"name":"MODE_SHIFT","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT","summary":"Bits that provide the actual measured size."},{"name":"UNSPECIFIED","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED"},{"name":"getDisplayDensity","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity"},{"name":"getMeasureSpecMode","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode"},{"name":"getMeasureSpecSize","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize"},{"name":"getMode","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMode"},{"name":"hasRtlSupport","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport"},{"name":"makeMeasureSpec","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec"},{"name":"measureNativeView","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/measureNativeView"},{"name":"measureSpecToString","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString"},{"name":"round","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/round"},{"name":"toDeviceIndependentPixels","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels"},{"name":"toDevicePixels","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels"},{"name":"ClassInfo","kind":"class","url":"/api/namespaces/Utils/classes/ClassInfo","summary":"A Class holding information about a class"},{"name":"ScopeError","kind":"class","url":"/api/namespaces/Utils/classes/ScopeError","summary":"An Error class that provides additional context to an error."},{"name":"Source","kind":"class","url":"/api/namespaces/Utils/classes/Source","summary":"A class encapsulating information for source code origin."},{"name":"SourceError","kind":"class","url":"/api/namespaces/Utils/classes/SourceError","summary":"Represents a scope error providing addiot"},{"name":"NativeWindow","kind":"type-alias","url":"/api/namespaces/Utils/type-aliases/NativeWindow"},{"name":"ad","kind":"variable","url":"/api/namespaces/Utils/variables/ad"},{"name":"android","kind":"variable","url":"/api/namespaces/Utils/variables/android","summary":"Utilities related to Android."},{"name":"CORE_ANIMATION_DEFAULTS","kind":"variable","url":"/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS","summary":"Default animation values used throughout core"},{"name":"debug","kind":"variable","url":"/api/namespaces/Utils/variables/debug","summary":"A runtime option indicating whether the build has debugging enabled."},{"name":"FILE_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/FILE_PREFIX"},{"name":"FONT_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/FONT_PREFIX"},{"name":"ios","kind":"variable","url":"/api/namespaces/Utils/variables/ios","summary":"Utilities related to iOS."},{"name":"iOSNativeHelper","kind":"variable","url":"/api/namespaces/Utils/variables/iOSNativeHelper"},{"name":"RESOURCE_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/RESOURCE_PREFIX"},{"name":"SDK_VERSION","kind":"variable","url":"/api/namespaces/Utils/variables/SDK_VERSION"},{"name":"SYSTEM_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/SYSTEM_PREFIX"},{"name":"clearInterval","kind":"function","url":"/api/namespaces/Utils/functions/clearInterval"},{"name":"clearTimeout","kind":"function","url":"/api/namespaces/Utils/functions/clearTimeout"},{"name":"convertString","kind":"function","url":"/api/namespaces/Utils/functions/convertString"},{"name":"copyToClipboard","kind":"function","url":"/api/namespaces/Utils/functions/copyToClipboard"},{"name":"dataDeserialize","kind":"function","url":"/api/namespaces/Utils/functions/dataDeserialize"},{"name":"dataSerialize","kind":"function","url":"/api/namespaces/Utils/functions/dataSerialize"},{"name":"debounce","kind":"function","url":"/api/namespaces/Utils/functions/debounce"},{"name":"dismissKeyboard","kind":"function","url":"/api/namespaces/Utils/functions/dismissKeyboard"},{"name":"dismissSoftInput","kind":"function","url":"/api/namespaces/Utils/functions/dismissSoftInput"},{"name":"dispatchToMainThread","kind":"function","url":"/api/namespaces/Utils/functions/dispatchToMainThread"},{"name":"dispatchToUIThread","kind":"function","url":"/api/namespaces/Utils/functions/dispatchToUIThread"},{"name":"eliminateDuplicates","kind":"function","url":"/api/namespaces/Utils/functions/eliminateDuplicates"},{"name":"escapeRegexSymbols","kind":"function","url":"/api/namespaces/Utils/functions/escapeRegexSymbols"},{"name":"executeOnMainThread","kind":"function","url":"/api/namespaces/Utils/functions/executeOnMainThread"},{"name":"executeOnUIThread","kind":"function","url":"/api/namespaces/Utils/functions/executeOnUIThread"},{"name":"GC","kind":"function","url":"/api/namespaces/Utils/functions/GC"},{"name":"getBaseClasses","kind":"function","url":"/api/namespaces/Utils/functions/getBaseClasses"},{"name":"getClass","kind":"function","url":"/api/namespaces/Utils/functions/getClass"},{"name":"getClassInfo","kind":"function","url":"/api/namespaces/Utils/functions/getClassInfo"},{"name":"getDurationWithDampingFromSpring","kind":"function","url":"/api/namespaces/Utils/functions/getDurationWithDampingFromSpring"},{"name":"getFileExtension","kind":"function","url":"/api/namespaces/Utils/functions/getFileExtension"},{"name":"getModuleName","kind":"function","url":"/api/namespaces/Utils/functions/getModuleName"},{"name":"getWindow","kind":"function","url":"/api/namespaces/Utils/functions/getWindow"},{"name":"hasDuplicates","kind":"function","url":"/api/namespaces/Utils/functions/hasDuplicates"},{"name":"isBoolean","kind":"function","url":"/api/namespaces/Utils/functions/isBoolean"},{"name":"isDataURI","kind":"function","url":"/api/namespaces/Utils/functions/isDataURI"},{"name":"isDefined","kind":"function","url":"/api/namespaces/Utils/functions/isDefined"},{"name":"isEmoji","kind":"function","url":"/api/namespaces/Utils/functions/isEmoji"},{"name":"isFileOrResourcePath","kind":"function","url":"/api/namespaces/Utils/functions/isFileOrResourcePath"},{"name":"isFontIconURI","kind":"function","url":"/api/namespaces/Utils/functions/isFontIconURI"},{"name":"isFunction","kind":"function","url":"/api/namespaces/Utils/functions/isFunction"},{"name":"isMainThread","kind":"function","url":"/api/namespaces/Utils/functions/isMainThread"},{"name":"isNullOrUndefined","kind":"function","url":"/api/namespaces/Utils/functions/isNullOrUndefined"},{"name":"isNumber","kind":"function","url":"/api/namespaces/Utils/functions/isNumber"},{"name":"isObject","kind":"function","url":"/api/namespaces/Utils/functions/isObject"},{"name":"isRealDevice","kind":"function","url":"/api/namespaces/Utils/functions/isRealDevice"},{"name":"isString","kind":"function","url":"/api/namespaces/Utils/functions/isString"},{"name":"isSystemURI","kind":"function","url":"/api/namespaces/Utils/functions/isSystemURI"},{"name":"isUndefined","kind":"function","url":"/api/namespaces/Utils/functions/isUndefined"},{"name":"mainThreadify","kind":"function","url":"/api/namespaces/Utils/functions/mainThreadify"},{"name":"merge","kind":"function","url":"/api/namespaces/Utils/functions/merge"},{"name":"mergeSort","kind":"function","url":"/api/namespaces/Utils/functions/mergeSort"},{"name":"numberHasDecimals","kind":"function","url":"/api/namespaces/Utils/functions/numberHasDecimals"},{"name":"numberIs64Bit","kind":"function","url":"/api/namespaces/Utils/functions/numberIs64Bit"},{"name":"openFile","kind":"function","url":"/api/namespaces/Utils/functions/openFile"},{"name":"openUrl","kind":"function","url":"/api/namespaces/Utils/functions/openUrl"},{"name":"openUrlAsync","kind":"function","url":"/api/namespaces/Utils/functions/openUrlAsync"},{"name":"queueGC","kind":"function","url":"/api/namespaces/Utils/functions/queueGC"},{"name":"queueMacrotask","kind":"function","url":"/api/namespaces/Utils/functions/queueMacrotask"},{"name":"releaseNativeObject","kind":"function","url":"/api/namespaces/Utils/functions/releaseNativeObject"},{"name":"sanitizeModuleName","kind":"function","url":"/api/namespaces/Utils/functions/sanitizeModuleName"},{"name":"setInterval","kind":"function","url":"/api/namespaces/Utils/functions/setInterval"},{"name":"setTimeout","kind":"function","url":"/api/namespaces/Utils/functions/setTimeout"},{"name":"supportsGlass","kind":"function","url":"/api/namespaces/Utils/functions/supportsGlass"},{"name":"throttle","kind":"function","url":"/api/namespaces/Utils/functions/throttle"},{"name":"toUIString","kind":"function","url":"/api/namespaces/Utils/functions/toUIString"},{"name":"verifyCallback","kind":"function","url":"/api/namespaces/Utils/functions/verifyCallback"},{"name":"AccessibilityLiveRegion","kind":"enum","url":"/api/enumerations/AccessibilityLiveRegion"},{"name":"AccessibilityRole","kind":"enum","url":"/api/enumerations/AccessibilityRole"},{"name":"AccessibilityState","kind":"enum","url":"/api/enumerations/AccessibilityState"},{"name":"AccessibilityTrait","kind":"enum","url":"/api/enumerations/AccessibilityTrait"},{"name":"AndroidDirectory","kind":"enum","url":"/api/enumerations/AndroidDirectory"},{"name":"CacheMode","kind":"enum","url":"/api/enumerations/CacheMode"},{"name":"FontScaleCategory","kind":"enum","url":"/api/enumerations/FontScaleCategory"},{"name":"GestureEvents","kind":"enum","url":"/api/enumerations/GestureEvents"},{"name":"GestureStateTypes","kind":"enum","url":"/api/enumerations/GestureStateTypes"},{"name":"GestureTypes","kind":"enum","url":"/api/enumerations/GestureTypes"},{"name":"HttpResponseEncoding","kind":"enum","url":"/api/enumerations/HttpResponseEncoding"},{"name":"ImageSymbolEffects","kind":"enum","url":"/api/enumerations/ImageSymbolEffects"},{"name":"NavigationType","kind":"enum","url":"/api/enumerations/NavigationType"},{"name":"SharedTransitionAnimationType","kind":"enum","url":"/api/enumerations/SharedTransitionAnimationType"},{"name":"SwipeDirection","kind":"enum","url":"/api/enumerations/SwipeDirection"},{"name":"TouchAction","kind":"enum","url":"/api/enumerations/TouchAction"},{"name":"WritingToolsAllowedInput","kind":"enum","url":"/api/enumerations/WritingToolsAllowedInput","summary":"(iOS Only) Allowed input for Apple Intelligence Writing Tools"},{"name":"WritingToolsBehavior","kind":"enum","url":"/api/enumerations/WritingToolsBehavior","summary":"(iOS Only) Behavior for Apple Intelligence Writing Tools"},{"name":"AbsoluteLayout","kind":"class","url":"/api/classes/AbsoluteLayout","summary":"A layout that lets you specify exact locations (left/top coordinates) of its children."},{"name":"ActionBar","kind":"class","url":"/api/classes/ActionBar","summary":"Provides an abstraction over the ActionBar (android) and NavigationBar (iOS)."},{"name":"ActionItem","kind":"class","url":"/api/classes/ActionItem","summary":"Represents an action item in the action bar."},{"name":"ActionItems","kind":"class","url":"/api/classes/ActionItems","summary":"Represents a collection of ActionItems."},{"name":"ActivityIndicator","kind":"class","url":"/api/classes/ActivityIndicator","summary":"Represents a UI widget which displays a progress indicator hinting the user for some background operation running."},{"name":"AndroidApplication","kind":"class","url":"/api/classes/AndroidApplication"},{"name":"Animation","kind":"class","url":"/api/classes/Animation","summary":"Defines a animation set."},{"name":"ApplicationCommon","kind":"class","url":"/api/classes/ApplicationCommon"},{"name":"Background","kind":"class","url":"/api/classes/Background"},{"name":"Binding","kind":"class","url":"/api/classes/Binding"},{"name":"Builder","kind":"class","url":"/api/classes/Builder"},{"name":"Button","kind":"class","url":"/api/classes/Button","summary":"Represents a standard Button widget."},{"name":"ChangeType","kind":"class","url":"/api/classes/ChangeType"},{"name":"CoercibleProperty","kind":"class","url":"/api/classes/CoercibleProperty"},{"name":"Color","kind":"class","url":"/api/classes/Color","summary":"Represents a color object. Stores all color components (alpha (opacity), red, green, blue) in a [0..255] range."},{"name":"ContainerView","kind":"class","url":"/api/classes/ContainerView","summary":"Base class for all UI components that are containers."},{"name":"ContentView","kind":"class","url":"/api/classes/ContentView"},{"name":"ControlStateChangeListener","kind":"class","url":"/api/classes/ControlStateChangeListener","summary":"An utility class used for supporting styling infrastructure. WARNING: This class is intended for IOS only."},{"name":"CssAnimationParser","kind":"class","url":"/api/classes/CssAnimationParser"},{"name":"CssAnimationProperty","kind":"class","url":"/api/classes/CssAnimationProperty"},{"name":"CssProperty","kind":"class","url":"/api/classes/CssProperty"},{"name":"CustomLayoutView","kind":"class","url":"/api/classes/CustomLayoutView","summary":"Base class for all UI components that implement custom layouts."},{"name":"DatePicker","kind":"class","url":"/api/classes/DatePicker","summary":"Represents an date picker."},{"name":"DockLayout","kind":"class","url":"/api/classes/DockLayout","summary":"A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space."},{"name":"EditableTextBase","kind":"class","url":"/api/classes/EditableTextBase","summary":"Represents the base class for all editable text views."},{"name":"FadeTransition","kind":"class","url":"/api/classes/FadeTransition"},{"name":"File","kind":"class","url":"/api/classes/File","summary":"Represents a File entity on the file system."},{"name":"FileSystemEntity","kind":"class","url":"/api/classes/FileSystemEntity","summary":"Represents a single entity on the file system."},{"name":"FlexboxLayout","kind":"class","url":"/api/classes/FlexboxLayout"},{"name":"Folder","kind":"class","url":"/api/classes/Folder","summary":"Represents a Folder (directory) entity on the file system."},{"name":"Font","kind":"class","url":"/api/classes/Font"},{"name":"FormattedString","kind":"class","url":"/api/classes/FormattedString","summary":"A class used to create a formatted (rich text) string."},{"name":"Frame","kind":"class","url":"/api/classes/Frame","summary":"Represents the logical View unit that is responsible for navigation within an application. Nested frames are supported, enabling hierarchical navigation scenarios."},{"name":"GesturesObserver","kind":"class","url":"/api/classes/GesturesObserver","summary":"Provides options for the GesturesObserver."},{"name":"GridLayout","kind":"class","url":"/api/classes/GridLayout","summary":"Defines a rectangular layout area that consists of columns and rows."},{"name":"HtmlView","kind":"class","url":"/api/classes/HtmlView","summary":"Represents a view with html content. Use this component instead WebView when you want to show just static HTML content. [iOS support](https://developer.apple.com/documentation/foundation/nsattributedstring/1524613-ini..."},{"name":"Image","kind":"class","url":"/api/classes/Image","summary":"Represents a class that provides functionality for loading and streching image(s)."},{"name":"ImageAsset","kind":"class","url":"/api/classes/ImageAsset","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"ImageCache","kind":"class","url":"/api/classes/ImageCache","summary":"Represents a class that stores handles image download requests and caches the already downloaded images."},{"name":"ImageSource","kind":"class","url":"/api/classes/ImageSource","summary":"Encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images."},{"name":"ImageSymbolEffect","kind":"class","url":"/api/classes/ImageSymbolEffect","summary":"iOS only Symbol effects: https://developer.apple.com/documentation/symbols?language=objc"},{"name":"InheritedCssProperty","kind":"class","url":"/api/classes/InheritedCssProperty"},{"name":"InheritedProperty","kind":"class","url":"/api/classes/InheritedProperty"},{"name":"iOSApplication","kind":"class","url":"/api/classes/iOSApplication"},{"name":"ItemSpec","kind":"class","url":"/api/classes/ItemSpec","summary":"Defines row/column specific properties that apply to GridLayout elements."},{"name":"KeyframeAnimation","kind":"class","url":"/api/classes/KeyframeAnimation"},{"name":"KeyframeAnimationInfo","kind":"class","url":"/api/classes/KeyframeAnimationInfo"},{"name":"KeyframeDeclaration","kind":"class","url":"/api/classes/KeyframeDeclaration"},{"name":"KeyframeInfo","kind":"class","url":"/api/classes/KeyframeInfo"},{"name":"Label","kind":"class","url":"/api/classes/Label","summary":"Represents a text label."},{"name":"LayoutBase","kind":"class","url":"/api/classes/LayoutBase","summary":"Base class for all views that supports children positioning."},{"name":"LinearGradient","kind":"class","url":"/api/classes/LinearGradient"},{"name":"LiquidGlass","kind":"class","url":"/api/classes/LiquidGlass"},{"name":"LiquidGlassContainer","kind":"class","url":"/api/classes/LiquidGlassContainer"},{"name":"ListPicker","kind":"class","url":"/api/classes/ListPicker","summary":"Represents an list picker."},{"name":"ListView","kind":"class","url":"/api/classes/ListView","summary":"Represents a view that shows items in a vertically scrolling list."},{"name":"ModalTransition","kind":"class","url":"/api/classes/ModalTransition"},{"name":"ModuleNameResolver","kind":"class","url":"/api/classes/ModuleNameResolver"},{"name":"NavigationButton","kind":"class","url":"/api/classes/NavigationButton","summary":"Represents the navigation (a.k.a. \"back\") button."},{"name":"Observable","kind":"class","url":"/api/classes/Observable","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"ObservableArray","kind":"class","url":"/api/classes/ObservableArray","summary":"Advanced array like class used when you want to be notified when a change occurs."},{"name":"Page","kind":"class","url":"/api/classes/Page","summary":"Represents a logical unit for navigation (inside Frame)."},{"name":"PageBase","kind":"class","url":"/api/classes/PageBase"},{"name":"PageTransition","kind":"class","url":"/api/classes/PageTransition"},{"name":"ParserEvent","kind":"class","url":"/api/classes/ParserEvent","summary":"Provides information for a parser event."},{"name":"ParserEventType","kind":"class","url":"/api/classes/ParserEventType","summary":"Specifies the type of parser event."},{"name":"Placeholder","kind":"class","url":"/api/classes/Placeholder","summary":"Represents a Placeholder, which is used to add a native view to the visual tree."},{"name":"Progress","kind":"class","url":"/api/classes/Progress","summary":"Represents a progress component."},{"name":"Property","kind":"class","url":"/api/classes/Property"},{"name":"ProxyViewContainer","kind":"class","url":"/api/classes/ProxyViewContainer","summary":"Proxy view container that adds all its native children directly to the parent. To be used as a logical grouping container of views."},{"name":"Repeater","kind":"class","url":"/api/classes/Repeater","summary":"Represents a UI Repeater component."},{"name":"RootLayout","kind":"class","url":"/api/classes/RootLayout"},{"name":"Screen","kind":"class","url":"/api/classes/Screen","summary":"An object describing general information about a display."},{"name":"ScrollView","kind":"class","url":"/api/classes/ScrollView","summary":"Represents a scrollable area that can have content that is larger than its bounds."},{"name":"SearchBar","kind":"class","url":"/api/classes/SearchBar","summary":"Represents a search bar component."},{"name":"SegmentedBar","kind":"class","url":"/api/classes/SegmentedBar","summary":"Represents a UI SegmentedBar component."},{"name":"SegmentedBarItem","kind":"class","url":"/api/classes/SegmentedBarItem","summary":"Represents a SegmentedBar item."},{"name":"SharedTransition","kind":"class","url":"/api/classes/SharedTransition","summary":"Shared Element Transitions (preview) Allows you to auto animate between shared elements on two different screesn to create smooth navigational experiences. View components can define sharedTransitionTag=\"name\" alone w..."},{"name":"SharedTransitionHelper","kind":"class","url":"/api/classes/SharedTransitionHelper","summary":"Platform helper to aid in creating your own custom Shared Element Transition classes. (iOS Only)"},{"name":"ShorthandProperty","kind":"class","url":"/api/classes/ShorthandProperty"},{"name":"Slider","kind":"class","url":"/api/classes/Slider","summary":"Represents a slider component."},{"name":"SlideTransition","kind":"class","url":"/api/classes/SlideTransition"},{"name":"Span","kind":"class","url":"/api/classes/Span","summary":"A class used to create a single part of formatted string with a common text properties."},{"name":"SplitView","kind":"class","url":"/api/classes/SplitView","summary":"iOS UISplitViewController-backed container. On Android, acts as a simple container."},{"name":"StackLayout","kind":"class","url":"/api/classes/StackLayout","summary":"A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property."},{"name":"Style","kind":"class","url":"/api/classes/Style","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"Switch","kind":"class","url":"/api/classes/Switch","summary":"Represents a switch component."},{"name":"TabView","kind":"class","url":"/api/classes/TabView","summary":"Represents a tab view."},{"name":"TabViewItem","kind":"class","url":"/api/classes/TabViewItem","summary":"Represents a tab view entry."},{"name":"TextBase","kind":"class","url":"/api/classes/TextBase"},{"name":"TextField","kind":"class","url":"/api/classes/TextField","summary":"Represents an editable text field."},{"name":"TextView","kind":"class","url":"/api/classes/TextView","summary":"Represents an editable multiline text view."},{"name":"TimePicker","kind":"class","url":"/api/classes/TimePicker","summary":"Represents an time picker."},{"name":"TouchManager","kind":"class","url":"/api/classes/TouchManager","summary":"Manage interactivity in your apps easily with TouchManager. Store reusable down/up animation settings for touches as well as optionally enable automatic tap (down/up) animations for your app."},{"name":"Transition","kind":"class","url":"/api/classes/Transition"},{"name":"View","kind":"class","url":"/api/classes/View","summary":"This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within."},{"name":"ViewBase","kind":"class","url":"/api/classes/ViewBase"},{"name":"ViewHelper","kind":"class","url":"/api/classes/ViewHelper"},{"name":"VirtualArray","kind":"class","url":"/api/classes/VirtualArray","summary":"Advanced array like class that helps loading items on demand."},{"name":"WebView","kind":"class","url":"/api/classes/WebView","summary":"Represents a standard WebView widget."},{"name":"WrapLayout","kind":"class","url":"/api/classes/WrapLayout","summary":"WrapLayout position children in rows or columns depending on orientation property until space is filled and then wraps them on new row or column."},{"name":"WrappedValue","kind":"class","url":"/api/classes/WrappedValue","summary":"Helper class that is used to fire property change even when real object is the same. By default property change will not be fired for a same object. By wrapping object into a WrappedValue instance `same object restric..."},{"name":"XmlParser","kind":"class","url":"/api/classes/XmlParser","summary":"A simple non-validating SAX parser based on https://github.com/vflash/easysax version 0.1.14"},{"name":"AccessibilityDecrementEventData","kind":"interface","url":"/api/interfaces/AccessibilityDecrementEventData","summary":"Base event data."},{"name":"AccessibilityIncrementEventData","kind":"interface","url":"/api/interfaces/AccessibilityIncrementEventData","summary":"Base event data."},{"name":"ActionOptions","kind":"interface","url":"/api/interfaces/ActionOptions","summary":"Provides options for the dialog."},{"name":"AddArrayFromBuilder","kind":"interface","url":"/api/interfaces/AddArrayFromBuilder","summary":"Defines an interface for adding arrays declared in xml."},{"name":"AddChildFromBuilder","kind":"interface","url":"/api/interfaces/AddChildFromBuilder","summary":"Defines an interface for adding a child element declared in xml."},{"name":"AlertOptions","kind":"interface","url":"/api/interfaces/AlertOptions","summary":"Provides options for the alert."},{"name":"AndroidActivityBackPressedEventData","kind":"interface","url":"/api/interfaces/AndroidActivityBackPressedEventData","summary":"Data for the Android activity back pressed event."},{"name":"AndroidActivityBundleEventData","kind":"interface","url":"/api/interfaces/AndroidActivityBundleEventData","summary":"Data for the Android activity events with bundle."},{"name":"AndroidActivityCallbacks","kind":"interface","url":"/api/interfaces/AndroidActivityCallbacks"},{"name":"AndroidActivityEventData","kind":"interface","url":"/api/interfaces/AndroidActivityEventData","summary":"Data for the Android activity events."},{"name":"AndroidActivityNewIntentEventData","kind":"interface","url":"/api/interfaces/AndroidActivityNewIntentEventData","summary":"Data for the Android activity newIntent event."},{"name":"AndroidActivityRequestPermissionsEventData","kind":"interface","url":"/api/interfaces/AndroidActivityRequestPermissionsEventData","summary":"Data for the Android activity onRequestPermissions callback"},{"name":"AndroidActivityResultEventData","kind":"interface","url":"/api/interfaces/AndroidActivityResultEventData","summary":"Data for the Android activity result event."},{"name":"AndroidOverflowInsetData","kind":"interface","url":"/api/interfaces/AndroidOverflowInsetData","summary":"Defines the data for the androidOverflowInset event."},{"name":"AnimationDefinition","kind":"interface","url":"/api/interfaces/AnimationDefinition"},{"name":"AnimationDefinitionInternal","kind":"interface","url":"/api/interfaces/AnimationDefinitionInternal"},{"name":"ApplicationEventData","kind":"interface","url":"/api/interfaces/ApplicationEventData","summary":"Event data containing information for the application events."},{"name":"BackstackEntry","kind":"interface","url":"/api/interfaces/BackstackEntry","summary":"Represents an entry in the back stack of a Frame object."},{"name":"BindingOptions","kind":"interface","url":"/api/interfaces/BindingOptions","summary":"The options object used in the Bindable.bind method."},{"name":"Cancelable","kind":"interface","url":"/api/interfaces/Cancelable"},{"name":"CancelableOptions","kind":"interface","url":"/api/interfaces/CancelableOptions","summary":"Provides options for the dialog."},{"name":"ChangedData","kind":"interface","url":"/api/interfaces/ChangedData","summary":"Event args for \"changed\" event."},{"name":"CommonLayoutParams","kind":"interface","url":"/api/interfaces/CommonLayoutParams"},{"name":"ComponentModule","kind":"interface","url":"/api/interfaces/ComponentModule"},{"name":"ConfirmOptions","kind":"interface","url":"/api/interfaces/ConfirmOptions","summary":"Provides options for the confirm dialog."},{"name":"CreateViewEventData","kind":"interface","url":"/api/interfaces/CreateViewEventData","summary":"Event data containing information for creating a native view that will be added to the visual tree."},{"name":"CssChangedEventData","kind":"interface","url":"/api/interfaces/CssChangedEventData","summary":"Event data containing information about application css change."},{"name":"DialogOptions","kind":"interface","url":"/api/interfaces/DialogOptions","summary":"Provides options for the dialog."},{"name":"DiscardedErrorEventData","kind":"interface","url":"/api/interfaces/DiscardedErrorEventData","summary":"Event data containing information about discarded application errors."},{"name":"DownloadedData","kind":"interface","url":"/api/interfaces/DownloadedData","summary":"Provides data for downloaded event."},{"name":"DownloadError","kind":"interface","url":"/api/interfaces/DownloadError","summary":"Provides data for download error."},{"name":"DownloadRequest","kind":"interface","url":"/api/interfaces/DownloadRequest","summary":"Represents a single download request."},{"name":"EventData","kind":"interface","url":"/api/interfaces/EventData","summary":"Base event data."},{"name":"EventDataValue","kind":"interface","url":"/api/interfaces/EventDataValue","summary":"Base event data."},{"name":"FontScaleChangedEventData","kind":"interface","url":"/api/interfaces/FontScaleChangedEventData","summary":"Event data containing information for font scale changed event."},{"name":"GestureEventData","kind":"interface","url":"/api/interfaces/GestureEventData","summary":"Base event data."},{"name":"GestureEventDataWithState","kind":"interface","url":"/api/interfaces/GestureEventDataWithState","summary":"Base event data."},{"name":"HttpContent","kind":"interface","url":"/api/interfaces/HttpContent","summary":"Encapsulates the content of an HttpResponse."},{"name":"HttpRequestOptions","kind":"interface","url":"/api/interfaces/HttpRequestOptions","summary":"Provides options for the http requests."},{"name":"HttpResponse","kind":"interface","url":"/api/interfaces/HttpResponse","summary":"Encapsulates HTTP-response information from an HTTP-request."},{"name":"IDevice","kind":"interface","url":"/api/interfaces/IDevice"},{"name":"ImageAssetOptions","kind":"interface","url":"/api/interfaces/ImageAssetOptions"},{"name":"InitRootViewEventData","kind":"interface","url":"/api/interfaces/InitRootViewEventData","summary":"Event data containing information about root view application."},{"name":"IOSView","kind":"interface","url":"/api/interfaces/IOSView","summary":"This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within."},{"name":"ItemEventData","kind":"interface","url":"/api/interfaces/ItemEventData","summary":"Event data containing information for the index and the view associated to a list view item."},{"name":"ItemsLoading","kind":"interface","url":"/api/interfaces/ItemsLoading","summary":"Event args for \"itemsLoading\" event."},{"name":"ItemsSource","kind":"interface","url":"/api/interfaces/ItemsSource"},{"name":"KeyedTemplate","kind":"interface","url":"/api/interfaces/KeyedTemplate","summary":"Defines an interface for Template with a key."},{"name":"LaunchEventData","kind":"interface","url":"/api/interfaces/LaunchEventData","summary":"Event data containing information for launch event."},{"name":"LayoutDirectionChangedEventData","kind":"interface","url":"/api/interfaces/LayoutDirectionChangedEventData","summary":"Event data containing information for system layout direction changed event."},{"name":"LoadAppCSSEventData","kind":"interface","url":"/api/interfaces/LoadAppCSSEventData","summary":"Event data containing information for the application events."},{"name":"LoadEventData","kind":"interface","url":"/api/interfaces/LoadEventData","summary":"Event data containing information for the loading events of a WebView."},{"name":"LoadOptions","kind":"interface","url":"/api/interfaces/LoadOptions"},{"name":"LoginOptions","kind":"interface","url":"/api/interfaces/LoginOptions","summary":"Provides options for the login dialog."},{"name":"LoginResult","kind":"interface","url":"/api/interfaces/LoginResult","summary":"Provides result data from the login dialog."},{"name":"NativeScriptConfig","kind":"interface","url":"/api/interfaces/NativeScriptConfig","summary":"IMPORTANT: this is not generated automatically due to this issue: https://github.com/microsoft/TypeScript/issues/36763 the reference path above will get rewritten and break on compilation unless kept here Once issue i..."},{"name":"NativeScriptError","kind":"interface","url":"/api/interfaces/NativeScriptError","summary":"An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code."},{"name":"NavigatedData","kind":"interface","url":"/api/interfaces/NavigatedData","summary":"Defines the data for the page navigation events."},{"name":"NavigationContext","kind":"interface","url":"/api/interfaces/NavigationContext","summary":"Represents a context passed to navigation methods."},{"name":"NavigationData","kind":"interface","url":"/api/interfaces/NavigationData","summary":"Base event data."},{"name":"NavigationEntry","kind":"interface","url":"/api/interfaces/NavigationEntry","summary":"Represents an entry in passed to navigate method."},{"name":"NavigationTransition","kind":"interface","url":"/api/interfaces/NavigationTransition","summary":"Represents an object specifying a page navigation transition."},{"name":"OrientationChangedEventData","kind":"interface","url":"/api/interfaces/OrientationChangedEventData","summary":"Event data containing information for orientation changed event."},{"name":"Pair","kind":"interface","url":"/api/interfaces/Pair"},{"name":"PanGestureEventData","kind":"interface","url":"/api/interfaces/PanGestureEventData","summary":"Base event data."},{"name":"PinchGestureEventData","kind":"interface","url":"/api/interfaces/PinchGestureEventData","summary":"Base event data."},{"name":"PlatformContext","kind":"interface","url":"/api/interfaces/PlatformContext","summary":"Used with qualifier matchers and module resolution"},{"name":"Point3D","kind":"interface","url":"/api/interfaces/Point3D"},{"name":"PromptOptions","kind":"interface","url":"/api/interfaces/PromptOptions","summary":"Provides options for the prompt dialog."},{"name":"PromptResult","kind":"interface","url":"/api/interfaces/PromptResult","summary":"Provides result data from the prompt dialog."},{"name":"PropertyAnimation","kind":"interface","url":"/api/interfaces/PropertyAnimation"},{"name":"PropertyAnimationInfo","kind":"interface","url":"/api/interfaces/PropertyAnimationInfo"},{"name":"PropertyChangeData","kind":"interface","url":"/api/interfaces/PropertyChangeData","summary":"Data for the \"propertyChange\" event."},{"name":"RootLayoutOptions","kind":"interface","url":"/api/interfaces/RootLayoutOptions"},{"name":"RotationGestureEventData","kind":"interface","url":"/api/interfaces/RotationGestureEventData","summary":"Base event data."},{"name":"SceneEventData","kind":"interface","url":"/api/interfaces/SceneEventData","summary":"iOS Event data containing information for scene lifecycle events (iOS 13+)."},{"name":"ScrollEventData","kind":"interface","url":"/api/interfaces/ScrollEventData","summary":"Base event data."},{"name":"SearchEventData","kind":"interface","url":"/api/interfaces/SearchEventData","summary":"Event data containing information for the search text change event."},{"name":"SelectedIndexChangedEventData","kind":"interface","url":"/api/interfaces/SelectedIndexChangedEventData","summary":"Defines the data for the SegmentedBar.selectedIndexChanged event."},{"name":"ShadeCoverOptions","kind":"interface","url":"/api/interfaces/ShadeCoverOptions"},{"name":"ShadowCSSValues","kind":"interface","url":"/api/interfaces/ShadowCSSValues"},{"name":"SharedTransitionConfig","kind":"interface","url":"/api/interfaces/SharedTransitionConfig"},{"name":"ShowModalOptions","kind":"interface","url":"/api/interfaces/ShowModalOptions"},{"name":"ShownModallyData","kind":"interface","url":"/api/interfaces/ShownModallyData","summary":"Defines the data for the shownModally event."},{"name":"Size","kind":"interface","url":"/api/interfaces/Size","summary":"The Size interface describes abstract dimensions in two dimensional space. It has two properties width and height, representing the width and height values of the size."},{"name":"StrokeCSSValues","kind":"interface","url":"/api/interfaces/StrokeCSSValues"},{"name":"SwipeGestureEventData","kind":"interface","url":"/api/interfaces/SwipeGestureEventData","summary":"Base event data."},{"name":"SystemAppearanceChangedEventData","kind":"interface","url":"/api/interfaces/SystemAppearanceChangedEventData","summary":"Event data containing information for system appearance changed event."},{"name":"TapGestureEventData","kind":"interface","url":"/api/interfaces/TapGestureEventData","summary":"Base event data."},{"name":"Template","kind":"interface","url":"/api/interfaces/Template","summary":"Defines an interface for a View factory function. Commonly used to specify the visualization of data objects."},{"name":"TemplatedItemsView","kind":"interface","url":"/api/interfaces/TemplatedItemsView"},{"name":"TimerInfo","kind":"interface","url":"/api/interfaces/TimerInfo","summary":"Contains contains utility methods for profiling. All methods in this module are experimental and may be changed in a non-major version."},{"name":"TouchGestureEventData","kind":"interface","url":"/api/interfaces/TouchGestureEventData"},{"name":"TraceErrorHandler","kind":"interface","url":"/api/interfaces/TraceErrorHandler","summary":"An interface used to for handling trace error"},{"name":"TraceEventListener","kind":"interface","url":"/api/interfaces/TraceEventListener","summary":"An interface used to trace information about specific event."},{"name":"TraceWriter","kind":"interface","url":"/api/interfaces/TraceWriter","summary":"An interface used to define a writer used by trace to print (log)."},{"name":"UnhandledErrorEventData","kind":"interface","url":"/api/interfaces/UnhandledErrorEventData","summary":"Event data containing information about unhandled application errors."},{"name":"ViewEntry","kind":"interface","url":"/api/interfaces/ViewEntry","summary":"Represents an entry to be used to create a view or load it form file"},{"name":"AlignContent","kind":"type-alias","url":"/api/type-aliases/AlignContent"},{"name":"AlignItems","kind":"type-alias","url":"/api/type-aliases/AlignItems"},{"name":"AlignSelf","kind":"type-alias","url":"/api/type-aliases/AlignSelf"},{"name":"AnimationPromise","kind":"type-alias","url":"/api/type-aliases/AnimationPromise"},{"name":"dip","kind":"type-alias","url":"/api/type-aliases/dip"},{"name":"Flex","kind":"type-alias","url":"/api/type-aliases/Flex"},{"name":"FlexDirection","kind":"type-alias","url":"/api/type-aliases/FlexDirection"},{"name":"FlexFlow","kind":"type-alias","url":"/api/type-aliases/FlexFlow"},{"name":"FlexWrap","kind":"type-alias","url":"/api/type-aliases/FlexWrap"},{"name":"FontStyleType","kind":"type-alias","url":"/api/type-aliases/FontStyleType"},{"name":"FontVariationSettingsType","kind":"type-alias","url":"/api/type-aliases/FontVariationSettingsType"},{"name":"FontWeightType","kind":"type-alias","url":"/api/type-aliases/FontWeightType"},{"name":"GlassEffectConfig","kind":"type-alias","url":"/api/type-aliases/GlassEffectConfig"},{"name":"GlassEffectType","kind":"type-alias","url":"/api/type-aliases/GlassEffectType"},{"name":"GlassEffectVariant","kind":"type-alias","url":"/api/type-aliases/GlassEffectVariant","summary":"Glass effects"},{"name":"GridUnitType","kind":"type-alias","url":"/api/type-aliases/GridUnitType"},{"name":"Headers","kind":"type-alias","url":"/api/type-aliases/Headers"},{"name":"HorizontalAlignment","kind":"type-alias","url":"/api/type-aliases/HorizontalAlignment"},{"name":"InstrumentationMode","kind":"type-alias","url":"/api/type-aliases/InstrumentationMode","summary":"Profiling mode to use. - `counters` Accumulates method call counts and times until dumpProfiles is called and then prints aggregated statistic in the console. This is the default. - `timeline` Outputs method names alo..."},{"name":"iosSymbolScaleType","kind":"type-alias","url":"/api/type-aliases/iosSymbolScaleType","summary":"iOS only SF Symbol scale"},{"name":"JustifyContent","kind":"type-alias","url":"/api/type-aliases/JustifyContent"},{"name":"LengthDipUnit","kind":"type-alias","url":"/api/type-aliases/LengthDipUnit"},{"name":"LengthPercentUnit","kind":"type-alias","url":"/api/type-aliases/LengthPercentUnit"},{"name":"LengthPxUnit","kind":"type-alias","url":"/api/type-aliases/LengthPxUnit"},{"name":"LengthType","kind":"type-alias","url":"/api/type-aliases/LengthType"},{"name":"ModuleListProvider","kind":"type-alias","url":"/api/type-aliases/ModuleListProvider"},{"name":"percent","kind":"type-alias","url":"/api/type-aliases/percent"},{"name":"PercentLengthType","kind":"type-alias","url":"/api/type-aliases/PercentLengthType"},{"name":"px","kind":"type-alias","url":"/api/type-aliases/px"},{"name":"SceneEventName","kind":"type-alias","url":"/api/type-aliases/SceneEventName"},{"name":"SharedTransitionTagProperties","kind":"type-alias","url":"/api/type-aliases/SharedTransitionTagProperties","summary":"Properties which can be set on individual Shared Elements"},{"name":"SplitBehavior","kind":"type-alias","url":"/api/type-aliases/SplitBehavior"},{"name":"SplitDisplayMode","kind":"type-alias","url":"/api/type-aliases/SplitDisplayMode"},{"name":"SplitRole","kind":"type-alias","url":"/api/type-aliases/SplitRole"},{"name":"SplitStyle","kind":"type-alias","url":"/api/type-aliases/SplitStyle"},{"name":"TouchAnimationOptions","kind":"type-alias","url":"/api/type-aliases/TouchAnimationOptions"},{"name":"Transformation","kind":"type-alias","url":"/api/type-aliases/Transformation"},{"name":"TransformationType","kind":"type-alias","url":"/api/type-aliases/TransformationType"},{"name":"TransformationValue","kind":"type-alias","url":"/api/type-aliases/TransformationValue"},{"name":"TransformFunctionsInfo","kind":"type-alias","url":"/api/type-aliases/TransformFunctionsInfo"},{"name":"VerticalAlignment","kind":"type-alias","url":"/api/type-aliases/VerticalAlignment"},{"name":"VisionHoverOptions","kind":"type-alias","url":"/api/type-aliases/VisionHoverOptions"},{"name":"WebViewNavigationType","kind":"type-alias","url":"/api/type-aliases/WebViewNavigationType","summary":"Represents navigation type"},{"name":"_resetRootView","kind":"variable","url":"/api/variables/_resetRootView"},{"name":"addCss","kind":"variable","url":"/api/variables/addCss"},{"name":"android","kind":"variable","url":"/api/variables/android"},{"name":"androidDynamicElevationOffsetProperty","kind":"variable","url":"/api/variables/androidDynamicElevationOffsetProperty"},{"name":"androidElevationProperty","kind":"variable","url":"/api/variables/androidElevationProperty"},{"name":"androidRegisterBroadcastReceiver","kind":"variable","url":"/api/variables/androidRegisterBroadcastReceiver"},{"name":"AnimationCurve","kind":"variable","url":"/api/variables/AnimationCurve"},{"name":"Application","kind":"variable","url":"/api/variables/Application"},{"name":"autocapitalizationTypeProperty","kind":"variable","url":"/api/variables/autocapitalizationTypeProperty"},{"name":"autocorrectProperty","kind":"variable","url":"/api/variables/autocorrectProperty"},{"name":"backgroundColorProperty","kind":"variable","url":"/api/variables/backgroundColorProperty"},{"name":"backgroundEvent","kind":"variable","url":"/api/variables/backgroundEvent"},{"name":"backgroundImageProperty","kind":"variable","url":"/api/variables/backgroundImageProperty"},{"name":"backgroundInternalProperty","kind":"variable","url":"/api/variables/backgroundInternalProperty"},{"name":"backgroundPositionProperty","kind":"variable","url":"/api/variables/backgroundPositionProperty"},{"name":"backgroundRepeatProperty","kind":"variable","url":"/api/variables/backgroundRepeatProperty"},{"name":"backgroundSizeProperty","kind":"variable","url":"/api/variables/backgroundSizeProperty"},{"name":"borderBottomColorProperty","kind":"variable","url":"/api/variables/borderBottomColorProperty"},{"name":"borderBottomLeftRadiusProperty","kind":"variable","url":"/api/variables/borderBottomLeftRadiusProperty"},{"name":"borderBottomRightRadiusProperty","kind":"variable","url":"/api/variables/borderBottomRightRadiusProperty"},{"name":"borderBottomWidthProperty","kind":"variable","url":"/api/variables/borderBottomWidthProperty"},{"name":"borderLeftColorProperty","kind":"variable","url":"/api/variables/borderLeftColorProperty"},{"name":"borderLeftWidthProperty","kind":"variable","url":"/api/variables/borderLeftWidthProperty"},{"name":"borderRightColorProperty","kind":"variable","url":"/api/variables/borderRightColorProperty"},{"name":"borderRightWidthProperty","kind":"variable","url":"/api/variables/borderRightWidthProperty"},{"name":"borderTopColorProperty","kind":"variable","url":"/api/variables/borderTopColorProperty"},{"name":"borderTopLeftRadiusProperty","kind":"variable","url":"/api/variables/borderTopLeftRadiusProperty"},{"name":"borderTopRightRadiusProperty","kind":"variable","url":"/api/variables/borderTopRightRadiusProperty"},{"name":"borderTopWidthProperty","kind":"variable","url":"/api/variables/borderTopWidthProperty"},{"name":"clipPathProperty","kind":"variable","url":"/api/variables/clipPathProperty"},{"name":"colorProperty","kind":"variable","url":"/api/variables/colorProperty"},{"name":"CSSHelper","kind":"variable","url":"/api/variables/CSSHelper"},{"name":"Device","kind":"variable","url":"/api/variables/Device","summary":"Gets the current device information."},{"name":"Dialogs","kind":"variable","url":"/api/variables/Dialogs","summary":"Singular rollup for convenience of all dialog methods"},{"name":"directionProperty","kind":"variable","url":"/api/variables/directionProperty"},{"name":"discardedErrorEvent","kind":"variable","url":"/api/variables/discardedErrorEvent"},{"name":"displayedEvent","kind":"variable","url":"/api/variables/displayedEvent"},{"name":"editableProperty","kind":"variable","url":"/api/variables/editableProperty"},{"name":"Enums","kind":"variable","url":"/api/variables/Enums"},{"name":"exitEvent","kind":"variable","url":"/api/variables/exitEvent"},{"name":"fontFamilyProperty","kind":"variable","url":"/api/variables/fontFamilyProperty"},{"name":"fontInternalProperty","kind":"variable","url":"/api/variables/fontInternalProperty"},{"name":"fontScaleChangedEvent","kind":"variable","url":"/api/variables/fontScaleChangedEvent"},{"name":"fontScaleInternalProperty","kind":"variable","url":"/api/variables/fontScaleInternalProperty"},{"name":"fontSizeProperty","kind":"variable","url":"/api/variables/fontSizeProperty"},{"name":"fontStyleProperty","kind":"variable","url":"/api/variables/fontStyleProperty"},{"name":"fontVariationSettingsProperty","kind":"variable","url":"/api/variables/fontVariationSettingsProperty"},{"name":"fontWeightProperty","kind":"variable","url":"/api/variables/fontWeightProperty"},{"name":"foregroundEvent","kind":"variable","url":"/api/variables/foregroundEvent"},{"name":"getCssFileName","kind":"variable","url":"/api/variables/getCssFileName"},{"name":"getMainEntry","kind":"variable","url":"/api/variables/getMainEntry"},{"name":"getNativeApplication","kind":"variable","url":"/api/variables/getNativeApplication"},{"name":"getResources","kind":"variable","url":"/api/variables/getResources"},{"name":"getRootView","kind":"variable","url":"/api/variables/getRootView"},{"name":"hasLaunched","kind":"variable","url":"/api/variables/hasLaunched"},{"name":"hasListeners","kind":"variable","url":"/api/variables/hasListeners"},{"name":"heightProperty","kind":"variable","url":"/api/variables/heightProperty"},{"name":"hintProperty","kind":"variable","url":"/api/variables/hintProperty"},{"name":"horizontalAlignmentProperty","kind":"variable","url":"/api/variables/horizontalAlignmentProperty"},{"name":"inBackground","kind":"variable","url":"/api/variables/inBackground"},{"name":"ios","kind":"variable","url":"/api/variables/ios"},{"name":"isAndroid","kind":"variable","url":"/api/variables/isAndroid","summary":"Gets a value indicating if the app is running on the Android platform."},{"name":"isApple","kind":"variable","url":"/api/variables/isApple","summary":"Gets a value indicating if the app is running on an Apple platform."},{"name":"isIOS","kind":"variable","url":"/api/variables/isIOS","summary":"Gets a value indicating if the app is running on the iOS platform."},{"name":"isUserInteractionEnabledProperty","kind":"variable","url":"/api/variables/isUserInteractionEnabledProperty"},{"name":"isVisionOS","kind":"variable","url":"/api/variables/isVisionOS","summary":"Gets a value indicating if the app is running on the iOS platform."},{"name":"keyboardTypeProperty","kind":"variable","url":"/api/variables/keyboardTypeProperty"},{"name":"launchEvent","kind":"variable","url":"/api/variables/launchEvent"},{"name":"layoutDirection","kind":"variable","url":"/api/variables/layoutDirection"},{"name":"layoutDirectionChanged","kind":"variable","url":"/api/variables/layoutDirectionChanged"},{"name":"layoutDirectionChangedEvent","kind":"variable","url":"/api/variables/layoutDirectionChangedEvent"},{"name":"letterSpacingProperty","kind":"variable","url":"/api/variables/letterSpacingProperty"},{"name":"lineHeightProperty","kind":"variable","url":"/api/variables/lineHeightProperty"},{"name":"loadAppCss","kind":"variable","url":"/api/variables/loadAppCss"},{"name":"lowMemoryEvent","kind":"variable","url":"/api/variables/lowMemoryEvent"},{"name":"marginBottomProperty","kind":"variable","url":"/api/variables/marginBottomProperty"},{"name":"marginLeftProperty","kind":"variable","url":"/api/variables/marginLeftProperty"},{"name":"marginRightProperty","kind":"variable","url":"/api/variables/marginRightProperty"},{"name":"marginTopProperty","kind":"variable","url":"/api/variables/marginTopProperty"},{"name":"maxLengthProperty","kind":"variable","url":"/api/variables/maxLengthProperty"},{"name":"minHeightProperty","kind":"variable","url":"/api/variables/minHeightProperty"},{"name":"minWidthProperty","kind":"variable","url":"/api/variables/minWidthProperty"},{"name":"notify","kind":"variable","url":"/api/variables/notify"},{"name":"off","kind":"variable","url":"/api/variables/off"},{"name":"on","kind":"variable","url":"/api/variables/on"},{"name":"opacityProperty","kind":"variable","url":"/api/variables/opacityProperty"},{"name":"orientation","kind":"variable","url":"/api/variables/orientation"},{"name":"orientationChangedEvent","kind":"variable","url":"/api/variables/orientationChangedEvent"},{"name":"paddingBottomProperty","kind":"variable","url":"/api/variables/paddingBottomProperty"},{"name":"paddingInternalProperty","kind":"variable","url":"/api/variables/paddingInternalProperty"},{"name":"paddingLeftProperty","kind":"variable","url":"/api/variables/paddingLeftProperty"},{"name":"paddingRightProperty","kind":"variable","url":"/api/variables/paddingRightProperty"},{"name":"paddingTopProperty","kind":"variable","url":"/api/variables/paddingTopProperty"},{"name":"perspectiveProperty","kind":"variable","url":"/api/variables/perspectiveProperty"},{"name":"placeholderColorProperty","kind":"variable","url":"/api/variables/placeholderColorProperty"},{"name":"platformNames","kind":"variable","url":"/api/variables/platformNames"},{"name":"resetRootView","kind":"variable","url":"/api/variables/resetRootView"},{"name":"resumeEvent","kind":"variable","url":"/api/variables/resumeEvent"},{"name":"returnKeyTypeProperty","kind":"variable","url":"/api/variables/returnKeyTypeProperty"},{"name":"rotateProperty","kind":"variable","url":"/api/variables/rotateProperty"},{"name":"rotateXProperty","kind":"variable","url":"/api/variables/rotateXProperty"},{"name":"rotateYProperty","kind":"variable","url":"/api/variables/rotateYProperty"},{"name":"run","kind":"variable","url":"/api/variables/run"},{"name":"scaleXProperty","kind":"variable","url":"/api/variables/scaleXProperty"},{"name":"scaleYProperty","kind":"variable","url":"/api/variables/scaleYProperty"},{"name":"SceneEvents","kind":"variable","url":"/api/variables/SceneEvents"},{"name":"setAutoSystemAppearanceChanged","kind":"variable","url":"/api/variables/setAutoSystemAppearanceChanged"},{"name":"setCssFileName","kind":"variable","url":"/api/variables/setCssFileName"},{"name":"setMaxRefreshRate","kind":"variable","url":"/api/variables/setMaxRefreshRate"},{"name":"setResources","kind":"variable","url":"/api/variables/setResources"},{"name":"suspended","kind":"variable","url":"/api/variables/suspended"},{"name":"suspendEvent","kind":"variable","url":"/api/variables/suspendEvent"},{"name":"systemAppearance","kind":"variable","url":"/api/variables/systemAppearance"},{"name":"systemAppearanceChanged","kind":"variable","url":"/api/variables/systemAppearanceChanged"},{"name":"systemAppearanceChangedEvent","kind":"variable","url":"/api/variables/systemAppearanceChangedEvent"},{"name":"textAlignmentProperty","kind":"variable","url":"/api/variables/textAlignmentProperty"},{"name":"textDecorationProperty","kind":"variable","url":"/api/variables/textDecorationProperty"},{"name":"textOverflowProperty","kind":"variable","url":"/api/variables/textOverflowProperty"},{"name":"textShadowProperty","kind":"variable","url":"/api/variables/textShadowProperty"},{"name":"textStrokeProperty","kind":"variable","url":"/api/variables/textStrokeProperty"},{"name":"textTransformProperty","kind":"variable","url":"/api/variables/textTransformProperty"},{"name":"translateXProperty","kind":"variable","url":"/api/variables/translateXProperty"},{"name":"translateYProperty","kind":"variable","url":"/api/variables/translateYProperty"},{"name":"uncaughtErrorEvent","kind":"variable","url":"/api/variables/uncaughtErrorEvent"},{"name":"unsetValue","kind":"variable","url":"/api/variables/unsetValue","summary":"Value specifying that Property should be set to its initial value."},{"name":"updateTextTriggerProperty","kind":"variable","url":"/api/variables/updateTextTriggerProperty"},{"name":"VALID_FONT_SCALES","kind":"variable","url":"/api/variables/VALID_FONT_SCALES"},{"name":"verticalAlignmentProperty","kind":"variable","url":"/api/variables/verticalAlignmentProperty"},{"name":"visibilityProperty","kind":"variable","url":"/api/variables/visibilityProperty"},{"name":"whiteSpaceProperty","kind":"variable","url":"/api/variables/whiteSpaceProperty"},{"name":"widthProperty","kind":"variable","url":"/api/variables/widthProperty"},{"name":"zIndexProperty","kind":"variable","url":"/api/variables/zIndexProperty"},{"name":"_resolveAnimationCurve","kind":"function","url":"/api/functions/_resolveAnimationCurve"},{"name":"_setResolver","kind":"function","url":"/api/functions/_setResolver"},{"name":"action","kind":"function","url":"/api/functions/action"},{"name":"addTaggedAdditionalCSS","kind":"function","url":"/api/functions/addTaggedAdditionalCSS"},{"name":"addWeakEventListener","kind":"function","url":"/api/functions/addWeakEventListener"},{"name":"alert","kind":"function","url":"/api/functions/alert"},{"name":"animationTimingFunctionConverter","kind":"function","url":"/api/functions/animationTimingFunctionConverter"},{"name":"booleanConverter","kind":"function","url":"/api/functions/booleanConverter"},{"name":"confirm","kind":"function","url":"/api/functions/confirm"},{"name":"CSSType","kind":"function","url":"/api/functions/CSSType"},{"name":"eachDescendant","kind":"function","url":"/api/functions/eachDescendant"},{"name":"fromObject","kind":"function","url":"/api/functions/fromObject"},{"name":"fromObjectRecursive","kind":"function","url":"/api/functions/fromObjectRecursive"},{"name":"getAncestor","kind":"function","url":"/api/functions/getAncestor"},{"name":"getAndroidAccessibilityManager","kind":"function","url":"/api/functions/getAndroidAccessibilityManager"},{"name":"getCurrentFontScale","kind":"function","url":"/api/functions/getCurrentFontScale"},{"name":"getCurrentPage","kind":"function","url":"/api/functions/getCurrentPage"},{"name":"getFileAccess","kind":"function","url":"/api/functions/getFileAccess"},{"name":"getLastFocusedViewOnPage","kind":"function","url":"/api/functions/getLastFocusedViewOnPage"},{"name":"getNativeApp","kind":"function","url":"/api/functions/getNativeApp"},{"name":"getRootLayout","kind":"function","url":"/api/functions/getRootLayout"},{"name":"getRootLayoutById","kind":"function","url":"/api/functions/getRootLayoutById"},{"name":"getTransformedText","kind":"function","url":"/api/functions/getTransformedText"},{"name":"getViewById","kind":"function","url":"/api/functions/getViewById"},{"name":"initializeSdkVersionClass","kind":"function","url":"/api/functions/initializeSdkVersionClass"},{"name":"isAccessibilityServiceEnabled","kind":"function","url":"/api/functions/isAccessibilityServiceEnabled"},{"name":"isEmbedded","kind":"function","url":"/api/functions/isEmbedded"},{"name":"login","kind":"function","url":"/api/functions/login"},{"name":"makeParser","kind":"function","url":"/api/functions/makeParser"},{"name":"makeValidator","kind":"function","url":"/api/functions/makeValidator"},{"name":"parseCSSShadow","kind":"function","url":"/api/functions/parseCSSShadow"},{"name":"parseCSSStroke","kind":"function","url":"/api/functions/parseCSSStroke"},{"name":"parseKeyframeDeclarations","kind":"function","url":"/api/functions/parseKeyframeDeclarations"},{"name":"profile","kind":"function","url":"/api/functions/profile"},{"name":"profilingDisable","kind":"function","url":"/api/functions/profilingDisable"},{"name":"profilingDumpProfiles","kind":"function","url":"/api/functions/profilingDumpProfiles"},{"name":"profilingEnable","kind":"function","url":"/api/functions/profilingEnable"},{"name":"profilingIsRunning","kind":"function","url":"/api/functions/profilingIsRunning"},{"name":"profilingResetProfiles","kind":"function","url":"/api/functions/profilingResetProfiles"},{"name":"profilingStart","kind":"function","url":"/api/functions/profilingStart"},{"name":"profilingStartCPU","kind":"function","url":"/api/functions/profilingStartCPU"},{"name":"profilingStop","kind":"function","url":"/api/functions/profilingStop"},{"name":"profilingStopCPU","kind":"function","url":"/api/functions/profilingStopCPU"},{"name":"profilingTime","kind":"function","url":"/api/functions/profilingTime"},{"name":"profilingUptime","kind":"function","url":"/api/functions/profilingUptime"},{"name":"prompt","kind":"function","url":"/api/functions/prompt"},{"name":"PseudoClassHandler","kind":"function","url":"/api/functions/PseudoClassHandler"},{"name":"querySelectorAll","kind":"function","url":"/api/functions/querySelectorAll"},{"name":"removeTaggedAdditionalCSS","kind":"function","url":"/api/functions/removeTaggedAdditionalCSS"},{"name":"removeWeakEventListener","kind":"function","url":"/api/functions/removeWeakEventListener"},{"name":"resolveFileNameFromUrl","kind":"function","url":"/api/functions/resolveFileNameFromUrl"},{"name":"sendAccessibilityEvent","kind":"function","url":"/api/functions/sendAccessibilityEvent"},{"name":"setActivityCallbacks","kind":"function","url":"/api/functions/setActivityCallbacks"},{"name":"setNativeApp","kind":"function","url":"/api/functions/setNativeApp"},{"name":"timeConverter","kind":"function","url":"/api/functions/timeConverter"},{"name":"updateAccessibilityProperties","kind":"function","url":"/api/functions/updateAccessibilityProperties"}]} \ No newline at end of file +{"package":"@nativescript/core","version":"9.1.0","generated":"2026-08-27","symbols":[{"name":"AccessibilityEvents","kind":"namespace","url":"/api/namespaces/AccessibilityEvents/"},{"name":"accessibilityBlurEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityBlurEvent"},{"name":"accessibilityFocusChangedEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityFocusChangedEvent"},{"name":"accessibilityFocusEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityFocusEvent"},{"name":"accessibilityPerformEscapeEvent","kind":"variable","url":"/api/namespaces/AccessibilityEvents/variables/accessibilityPerformEscapeEvent"},{"name":"AndroidHelper","kind":"namespace","url":"/api/namespaces/AndroidHelper/","summary":"Various Android view helper methods"},{"name":"clearDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/clearDrawableColor"},{"name":"getCopyOrDrawable","kind":"function","url":"/api/namespaces/AndroidHelper/functions/getCopyOrDrawable"},{"name":"getDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/getDrawableColor"},{"name":"setDrawableColor","kind":"function","url":"/api/namespaces/AndroidHelper/functions/setDrawableColor"},{"name":"ApplicationSettings","kind":"namespace","url":"/api/namespaces/ApplicationSettings/"},{"name":"clear","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/clear"},{"name":"flush","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/flush"},{"name":"getAllKeys","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getAllKeys"},{"name":"getBoolean","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getBoolean"},{"name":"getNumber","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getNumber"},{"name":"getString","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/getString"},{"name":"hasKey","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/hasKey"},{"name":"remove","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/remove"},{"name":"setBoolean","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setBoolean"},{"name":"setNumber","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setNumber"},{"name":"setString","kind":"function","url":"/api/namespaces/ApplicationSettings/functions/setString"},{"name":"capitalizationType","kind":"namespace","url":"/api/namespaces/capitalizationType/","summary":"Defines the capitalization type for prompt dialog."},{"name":"all","kind":"variable","url":"/api/namespaces/capitalizationType/variables/all","summary":"Capitalizes every character."},{"name":"none","kind":"variable","url":"/api/namespaces/capitalizationType/variables/none","summary":"No automatic capitalization."},{"name":"sentences","kind":"variable","url":"/api/namespaces/capitalizationType/variables/sentences","summary":"Capitalize the first word of each sentence."},{"name":"words","kind":"variable","url":"/api/namespaces/capitalizationType/variables/words","summary":"Capitalize the first letter of every word."},{"name":"Connectivity","kind":"namespace","url":"/api/namespaces/Connectivity/"},{"name":"connectionType","kind":"enum","url":"/api/namespaces/Connectivity/enumerations/connectionType","summary":"Defines the different connection types."},{"name":"getConnectionType","kind":"function","url":"/api/namespaces/Connectivity/functions/getConnectionType"},{"name":"startMonitoring","kind":"function","url":"/api/namespaces/Connectivity/functions/startMonitoring"},{"name":"stopMonitoring","kind":"function","url":"/api/namespaces/Connectivity/functions/stopMonitoring"},{"name":"CoreTypes","kind":"namespace","url":"/api/namespaces/CoreTypes/"},{"name":"Accuracy","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/"},{"name":"any","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/variables/any"},{"name":"high","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Accuracy/variables/high"},{"name":"AndroidActionBarIconVisibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/"},{"name":"always","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/always"},{"name":"auto","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/auto"},{"name":"never","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionBarIconVisibility/variables/never"},{"name":"AndroidActionItemPosition","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/"},{"name":"actionBar","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBar"},{"name":"actionBarIfRoom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/actionBarIfRoom"},{"name":"popup","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AndroidActionItemPosition/variables/popup"},{"name":"AnimationCurve","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/"},{"name":"ease","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/ease"},{"name":"easeIn","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeIn"},{"name":"easeInOut","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeInOut"},{"name":"easeOut","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/easeOut"},{"name":"linear","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/linear"},{"name":"spring","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/variables/spring"},{"name":"cubicBezier","kind":"function","url":"/api/namespaces/CoreTypes/namespaces/AnimationCurve/functions/cubicBezier"},{"name":"AutocapitalizationType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/"},{"name":"allCharacters","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/allCharacters"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/none"},{"name":"sentences","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/sentences"},{"name":"words","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutocapitalizationType/variables/words"},{"name":"AutofillType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/"},{"name":"newPassword","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newPassword"},{"name":"newUsername","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/newUsername"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/none"},{"name":"oneTimeCode","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/oneTimeCode"},{"name":"password","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/password"},{"name":"username","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/AutofillType/variables/username"},{"name":"BackgroundRepeat","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/isValid"},{"name":"noRepeat","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/noRepeat"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/parse"},{"name":"repeat","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeat"},{"name":"repeatX","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatX"},{"name":"repeatY","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/BackgroundRepeat/variables/repeatY"},{"name":"CornerShape","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/CornerShape/"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/CornerShape/variables/isValid"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/CornerShape/variables/parse"},{"name":"round","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/CornerShape/variables/round"},{"name":"squircle","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/CornerShape/variables/squircle"},{"name":"DeviceOrientation","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/"},{"name":"landscape","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/landscape"},{"name":"portrait","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/portrait"},{"name":"unknown","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceOrientation/variables/unknown"},{"name":"DeviceType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/"},{"name":"Phone","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Phone"},{"name":"Tablet","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/DeviceType/variables/Tablet"},{"name":"Dock","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Dock/"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/bottom"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/right"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Dock/variables/top"},{"name":"FontAttributes","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/"},{"name":"Bold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Bold"},{"name":"Italic","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Italic"},{"name":"Normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontAttributes/variables/Normal"},{"name":"FontStyle","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/"},{"name":"italic","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/variables/italic"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontStyle/variables/normal"},{"name":"FontWeight","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/"},{"name":"black","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/black"},{"name":"bold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/bold"},{"name":"extraBold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraBold"},{"name":"extraLight","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/extraLight"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/light"},{"name":"medium","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/medium"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/normal"},{"name":"semiBold","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/semiBold"},{"name":"thin","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/FontWeight/variables/thin"},{"name":"HorizontalAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/"},{"name":"center","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/center"},{"name":"end","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/end"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/isValid"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/left"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/parse"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/right"},{"name":"start","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/start"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/HorizontalAlignment/variables/stretch"},{"name":"ImageFormat","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/"},{"name":"jpeg","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpeg"},{"name":"jpg","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/jpg"},{"name":"png","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageFormat/variables/png"},{"name":"ImageStretch","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/"},{"name":"aspectFill","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFill"},{"name":"aspectFit","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/aspectFit"},{"name":"fill","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/fill"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ImageStretch/variables/none"},{"name":"IOSActionItemPosition","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/IOSActionItemPosition/variables/right"},{"name":"KeyboardType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/"},{"name":"datetime","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/datetime"},{"name":"decimal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/decimal"},{"name":"email","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/email"},{"name":"integer","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/integer"},{"name":"number","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/number"},{"name":"phone","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/phone"},{"name":"url","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/KeyboardType/variables/url"},{"name":"LayoutDirection","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/"},{"name":"ltr","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/ltr"},{"name":"rtl","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/LayoutDirection/variables/rtl"},{"name":"NavigationBarVisibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/"},{"name":"always","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/always"},{"name":"auto","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/auto"},{"name":"never","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/NavigationBarVisibility/variables/never"},{"name":"Orientation","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Orientation/"},{"name":"horizontal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Orientation/variables/horizontal"},{"name":"vertical","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Orientation/variables/vertical"},{"name":"ReturnKeyType","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/"},{"name":"done","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/done"},{"name":"go","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/go"},{"name":"next","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/next"},{"name":"search","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/search"},{"name":"send","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/ReturnKeyType/variables/send"},{"name":"StatusBarStyle","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/"},{"name":"dark","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/dark"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/StatusBarStyle/variables/light"},{"name":"SystemAppearance","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/"},{"name":"dark","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/dark"},{"name":"light","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/SystemAppearance/variables/light"},{"name":"TextAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/"},{"name":"center","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/center"},{"name":"justify","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/justify"},{"name":"left","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/left"},{"name":"right","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextAlignment/variables/right"},{"name":"TextDecoration","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/"},{"name":"lineThrough","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/lineThrough"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/none"},{"name":"underline","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextDecoration/variables/underline"},{"name":"TextOverflow","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/"},{"name":"clip","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/clip"},{"name":"ellipsis","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextOverflow/variables/ellipsis"},{"name":"TextTransform","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/"},{"name":"capitalize","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/capitalize"},{"name":"lowercase","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/lowercase"},{"name":"none","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/none"},{"name":"uppercase","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/TextTransform/variables/uppercase"},{"name":"UpdateTextTrigger","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/"},{"name":"focusLost","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/focusLost"},{"name":"textChanged","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/UpdateTextTrigger/variables/textChanged"},{"name":"VerticalAlignment","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/bottom"},{"name":"middle","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/middle"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/stretch"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignment/variables/top"},{"name":"VerticalAlignmentText","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/"},{"name":"baseline","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/baseline"},{"name":"bottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/bottom"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/isValid"},{"name":"middle","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/middle"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/parse"},{"name":"stretch","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/stretch"},{"name":"sub","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sub"},{"name":"sup","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/sup"},{"name":"textbottom","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/textbottom"},{"name":"texttop","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/texttop"},{"name":"top","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/VerticalAlignmentText/variables/top"},{"name":"Visibility","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/Visibility/"},{"name":"collapse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapse"},{"name":"collapsed","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/collapsed"},{"name":"hidden","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/hidden"},{"name":"isValid","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/isValid"},{"name":"parse","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/parse"},{"name":"visible","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/Visibility/variables/visible"},{"name":"WhiteSpace","kind":"namespace","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/"},{"name":"normal","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/normal"},{"name":"nowrap","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/nowrap"},{"name":"wrap","kind":"variable","url":"/api/namespaces/CoreTypes/namespaces/WhiteSpace/variables/wrap"},{"name":"AndroidOverflow","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AndroidOverflow"},{"name":"AutocapitalizationInputType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AutocapitalizationInputType"},{"name":"AutofillType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/AutofillType"},{"name":"BackgroundRepeatType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/BackgroundRepeatType"},{"name":"CornerShapeType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/CornerShapeType"},{"name":"CSSWideKeywords","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/CSSWideKeywords"},{"name":"DeviceOrientationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/DeviceOrientationType"},{"name":"dip","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/dip","summary":"Denotes a length number that is in device independent pixel units."},{"name":"DockType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/DockType"},{"name":"FixedLengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/FixedLengthType"},{"name":"HorizontalAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/HorizontalAlignmentType"},{"name":"ImageStretchType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/ImageStretchType"},{"name":"KeyboardInputType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/KeyboardInputType"},{"name":"LayoutDirectionType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LayoutDirectionType"},{"name":"LengthDipUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthDipUnit"},{"name":"LengthPercentUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthPercentUnit"},{"name":"LengthPxUnit","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthPxUnit"},{"name":"LengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/LengthType"},{"name":"MaxLinesType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/MaxLinesType"},{"name":"OrientationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/OrientationType"},{"name":"percent","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/percent","summary":"Denotes a normalized percent number. 0% is represented as 0 50% is represented as 0.5 100% is represented as 1"},{"name":"PercentLengthType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/PercentLengthType"},{"name":"px","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/px","summary":"Denotes a length number that is in physical device pixels."},{"name":"ReturnKeyButtonType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/ReturnKeyButtonType"},{"name":"TextAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextAlignmentType"},{"name":"TextDecorationType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextDecorationType"},{"name":"TextOverflowType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextOverflowType"},{"name":"TextTransformType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/TextTransformType"},{"name":"UpdateTextTriggerType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/UpdateTextTriggerType"},{"name":"VerticalAlignmentTextType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentTextType"},{"name":"VerticalAlignmentType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VerticalAlignmentType"},{"name":"VisibilityType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/VisibilityType"},{"name":"WhiteSpaceType","kind":"type-alias","url":"/api/namespaces/CoreTypes/type-aliases/WhiteSpaceType"},{"name":"zeroLength","kind":"variable","url":"/api/namespaces/CoreTypes/variables/zeroLength"},{"name":"CSSUtils","kind":"namespace","url":"/api/namespaces/CSSUtils/"},{"name":"CLASS_PREFIX","kind":"variable","url":"/api/namespaces/CSSUtils/variables/CLASS_PREFIX"},{"name":"LAYOUT_DIRECTION_CSS_CLASSES","kind":"variable","url":"/api/namespaces/CSSUtils/variables/LAYOUT_DIRECTION_CSS_CLASSES"},{"name":"MODAL_ROOT_VIEW_CSS_CLASS","kind":"variable","url":"/api/namespaces/CSSUtils/variables/MODAL_ROOT_VIEW_CSS_CLASS"},{"name":"ORIENTATION_CSS_CLASSES","kind":"variable","url":"/api/namespaces/CSSUtils/variables/ORIENTATION_CSS_CLASSES"},{"name":"ROOT_VIEW_CSS_CLASS","kind":"variable","url":"/api/namespaces/CSSUtils/variables/ROOT_VIEW_CSS_CLASS"},{"name":"SYSTEM_APPEARANCE_CSS_CLASSES","kind":"variable","url":"/api/namespaces/CSSUtils/variables/SYSTEM_APPEARANCE_CSS_CLASSES"},{"name":"WINDOW_SCOPED_CSS_CLASSES","kind":"variable","url":"/api/namespaces/CSSUtils/variables/WINDOW_SCOPED_CSS_CLASSES","summary":"Classes describing the state of a single window. Two windows can legitimately disagree on all of them, so they live on each window's root view (and the modals presented over it) rather than in the process-wide system ..."},{"name":"getModalRootViewCssClass","kind":"function","url":"/api/namespaces/CSSUtils/functions/getModalRootViewCssClass"},{"name":"getRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/getRootViewCssClasses"},{"name":"getSystemCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/getSystemCssClasses"},{"name":"pushToRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/pushToRootViewCssClasses"},{"name":"pushToSystemCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/pushToSystemCssClasses"},{"name":"removeFromRootViewCssClasses","kind":"function","url":"/api/namespaces/CSSUtils/functions/removeFromRootViewCssClasses"},{"name":"removeSystemCssClass","kind":"function","url":"/api/namespaces/CSSUtils/functions/removeSystemCssClass"},{"name":"DialogStrings","kind":"namespace","url":"/api/namespaces/DialogStrings/"},{"name":"ALERT","kind":"variable","url":"/api/namespaces/DialogStrings/variables/ALERT"},{"name":"CANCEL","kind":"variable","url":"/api/namespaces/DialogStrings/variables/CANCEL"},{"name":"CONFIRM","kind":"variable","url":"/api/namespaces/DialogStrings/variables/CONFIRM"},{"name":"LOGIN","kind":"variable","url":"/api/namespaces/DialogStrings/variables/LOGIN"},{"name":"OK","kind":"variable","url":"/api/namespaces/DialogStrings/variables/OK"},{"name":"PROMPT","kind":"variable","url":"/api/namespaces/DialogStrings/variables/PROMPT"},{"name":"STRING","kind":"variable","url":"/api/namespaces/DialogStrings/variables/STRING"},{"name":"encoding","kind":"namespace","url":"/api/namespaces/encoding/","summary":"Defines the supported character encodings."},{"name":"ISO_8859_1","kind":"variable","url":"/api/namespaces/encoding/variables/ISO_8859_1","summary":"Denotes ISO-8859-1 character encoding."},{"name":"US_ASCII","kind":"variable","url":"/api/namespaces/encoding/variables/US_ASCII","summary":"Denotes US_ASCII character encoding."},{"name":"UTF_16","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16","summary":"Denotes UTF_16 character encoding."},{"name":"UTF_16BE","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16BE","summary":"Denotes UTF_16BE character encoding."},{"name":"UTF_16LE","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_16LE","summary":"Denotes UTF_16LE character encoding."},{"name":"UTF_8","kind":"variable","url":"/api/namespaces/encoding/variables/UTF_8","summary":"Denotes UTF_8 character encoding."},{"name":"FixedLength","kind":"namespace","url":"/api/namespaces/FixedLength/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/FixedLength/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/FixedLength/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/FixedLength/variables/toDevicePixels","summary":"Converts FixedLengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/FixedLength/functions/parse"},{"name":"FontStyle","kind":"namespace","url":"/api/namespaces/FontStyle/"},{"name":"ITALIC","kind":"variable","url":"/api/namespaces/FontStyle/variables/ITALIC"},{"name":"NORMAL","kind":"variable","url":"/api/namespaces/FontStyle/variables/NORMAL"},{"name":"isValid","kind":"function","url":"/api/namespaces/FontStyle/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/FontStyle/functions/parse"},{"name":"FontVariationSettings","kind":"namespace","url":"/api/namespaces/FontVariationSettings/"},{"name":"parse","kind":"function","url":"/api/namespaces/FontVariationSettings/functions/parse"},{"name":"toString","kind":"function","url":"/api/namespaces/FontVariationSettings/functions/toString"},{"name":"FontWeight","kind":"namespace","url":"/api/namespaces/FontWeight/"},{"name":"BLACK","kind":"variable","url":"/api/namespaces/FontWeight/variables/BLACK"},{"name":"BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/BOLD"},{"name":"EXTRA_BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/EXTRA_BOLD"},{"name":"EXTRA_LIGHT","kind":"variable","url":"/api/namespaces/FontWeight/variables/EXTRA_LIGHT"},{"name":"LIGHT","kind":"variable","url":"/api/namespaces/FontWeight/variables/LIGHT"},{"name":"MEDIUM","kind":"variable","url":"/api/namespaces/FontWeight/variables/MEDIUM"},{"name":"NORMAL","kind":"variable","url":"/api/namespaces/FontWeight/variables/NORMAL"},{"name":"SEMI_BOLD","kind":"variable","url":"/api/namespaces/FontWeight/variables/SEMI_BOLD"},{"name":"THIN","kind":"variable","url":"/api/namespaces/FontWeight/variables/THIN"},{"name":"isValid","kind":"function","url":"/api/namespaces/FontWeight/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/FontWeight/functions/parse"},{"name":"GridUnitType","kind":"namespace","url":"/api/namespaces/GridUnitType/"},{"name":"AUTO","kind":"variable","url":"/api/namespaces/GridUnitType/variables/AUTO"},{"name":"PIXEL","kind":"variable","url":"/api/namespaces/GridUnitType/variables/PIXEL"},{"name":"STAR","kind":"variable","url":"/api/namespaces/GridUnitType/variables/STAR"},{"name":"isValid","kind":"function","url":"/api/namespaces/GridUnitType/functions/isValid"},{"name":"parse","kind":"function","url":"/api/namespaces/GridUnitType/functions/parse"},{"name":"Http","kind":"namespace","url":"/api/namespaces/Http/"},{"name":"HttpContentHandler","kind":"interface","url":"/api/namespaces/Http/interfaces/HttpContentHandler"},{"name":"request","kind":"variable","url":"/api/namespaces/Http/variables/request","summary":"Makes a generic http request using the provided options and returns a HttpResponse Object."},{"name":"getBinary","kind":"function","url":"/api/namespaces/Http/functions/getBinary"},{"name":"getFile","kind":"function","url":"/api/namespaces/Http/functions/getFile"},{"name":"getImage","kind":"function","url":"/api/namespaces/Http/functions/getImage"},{"name":"getJSON","kind":"function","url":"/api/namespaces/Http/functions/getJSON"},{"name":"getString","kind":"function","url":"/api/namespaces/Http/functions/getString"},{"name":"inputType","kind":"namespace","url":"/api/namespaces/inputType/","summary":"Defines the input type for prompt dialog."},{"name":"decimal","kind":"variable","url":"/api/namespaces/inputType/variables/decimal","summary":"Decimal input type."},{"name":"email","kind":"variable","url":"/api/namespaces/inputType/variables/email","summary":"Email input type."},{"name":"number","kind":"variable","url":"/api/namespaces/inputType/variables/number","summary":"Number input type."},{"name":"password","kind":"variable","url":"/api/namespaces/inputType/variables/password","summary":"Password input type."},{"name":"phone","kind":"variable","url":"/api/namespaces/inputType/variables/phone","summary":"Phone input type."},{"name":"text","kind":"variable","url":"/api/namespaces/inputType/variables/text","summary":"Plain text input type."},{"name":"IOSHelper","kind":"namespace","url":"/api/namespaces/IOSHelper/","summary":"Various iOS view helper methods"},{"name":"UIAdaptivePresentationControllerDelegateImp","kind":"class","url":"/api/namespaces/IOSHelper/classes/UIAdaptivePresentationControllerDelegateImp"},{"name":"UILayoutViewController","kind":"class","url":"/api/namespaces/IOSHelper/classes/UILayoutViewController"},{"name":"UIPopoverPresentationControllerDelegateImp","kind":"class","url":"/api/namespaces/IOSHelper/classes/UIPopoverPresentationControllerDelegateImp"},{"name":"traitCollectionColorAppearanceChangedEvent","kind":"variable","url":"/api/namespaces/IOSHelper/variables/traitCollectionColorAppearanceChangedEvent","summary":"String value used when hooking to traitCollectionColorAppearanceChangedEvent event."},{"name":"traitCollectionLayoutDirectionChangedEvent","kind":"variable","url":"/api/namespaces/IOSHelper/variables/traitCollectionLayoutDirectionChangedEvent","summary":"String value used when hooking to traitCollectionLayoutDirectionChangedEvent event."},{"name":"expandBeyondSafeArea","kind":"function","url":"/api/namespaces/IOSHelper/functions/expandBeyondSafeArea"},{"name":"getFrameFromPosition","kind":"function","url":"/api/namespaces/IOSHelper/functions/getFrameFromPosition"},{"name":"getParentWithViewController","kind":"function","url":"/api/namespaces/IOSHelper/functions/getParentWithViewController"},{"name":"getPositionFromFrame","kind":"function","url":"/api/namespaces/IOSHelper/functions/getPositionFromFrame"},{"name":"hasIOSManagedInsetAncestor","kind":"function","url":"/api/namespaces/IOSHelper/functions/hasIOSManagedInsetAncestor"},{"name":"invalidateStatusBarAppearance","kind":"function","url":"/api/namespaces/IOSHelper/functions/invalidateStatusBarAppearance"},{"name":"layoutView","kind":"function","url":"/api/namespaces/IOSHelper/functions/layoutView"},{"name":"shrinkToSafeArea","kind":"function","url":"/api/namespaces/IOSHelper/functions/shrinkToSafeArea"},{"name":"updateAutoAdjustScrollInsets","kind":"function","url":"/api/namespaces/IOSHelper/functions/updateAutoAdjustScrollInsets"},{"name":"updateConstraints","kind":"function","url":"/api/namespaces/IOSHelper/functions/updateConstraints"},{"name":"knownFolders","kind":"namespace","url":"/api/namespaces/knownFolders/","summary":"Provides access to the top-level Folders instances that are accessible from the application. Use these as entry points to access the FileSystem."},{"name":"ios","kind":"namespace","url":"/api/namespaces/knownFolders/namespaces/ios/","summary":"Contains iOS-specific known folders."},{"name":"desktop","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/desktop"},{"name":"developer","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/developer"},{"name":"downloads","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/downloads"},{"name":"library","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/library"},{"name":"movies","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/movies"},{"name":"music","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/music"},{"name":"pictures","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/pictures"},{"name":"sharedPublic","kind":"function","url":"/api/namespaces/knownFolders/namespaces/ios/functions/sharedPublic"},{"name":"currentApp","kind":"function","url":"/api/namespaces/knownFolders/functions/currentApp"},{"name":"documents","kind":"function","url":"/api/namespaces/knownFolders/functions/documents"},{"name":"externalDocuments","kind":"function","url":"/api/namespaces/knownFolders/functions/externalDocuments"},{"name":"temp","kind":"function","url":"/api/namespaces/knownFolders/functions/temp"},{"name":"Length","kind":"namespace","url":"/api/namespaces/Length/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/Length/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/Length/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/Length/variables/toDevicePixels","summary":"Converts LengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/Length/functions/parse"},{"name":"path","kind":"namespace","url":"/api/namespaces/path/","summary":"Enables path-specific operations like join, extension, etc."},{"name":"separator","kind":"variable","url":"/api/namespaces/path/variables/separator","summary":"Gets the string used to separate file paths."},{"name":"join","kind":"function","url":"/api/namespaces/path/functions/join"},{"name":"normalize","kind":"function","url":"/api/namespaces/path/functions/normalize"},{"name":"PercentLength","kind":"namespace","url":"/api/namespaces/PercentLength/"},{"name":"convertToString","kind":"variable","url":"/api/namespaces/PercentLength/variables/convertToString"},{"name":"equals","kind":"variable","url":"/api/namespaces/PercentLength/variables/equals"},{"name":"toDevicePixels","kind":"variable","url":"/api/namespaces/PercentLength/variables/toDevicePixels","summary":"Converts PercentLengthType unit to device pixels."},{"name":"parse","kind":"function","url":"/api/namespaces/PercentLength/functions/parse"},{"name":"Trace","kind":"namespace","url":"/api/namespaces/Trace/"},{"name":"categories","kind":"namespace","url":"/api/namespaces/Trace/namespaces/categories/","summary":"all predefined categories."},{"name":"All","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/All"},{"name":"Animation","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Animation"},{"name":"Binding","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Binding"},{"name":"BindingError","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/BindingError"},{"name":"Debug","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Debug"},{"name":"Error","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Error"},{"name":"Layout","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Layout"},{"name":"Livesync","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Livesync"},{"name":"MediaQuery","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/MediaQuery"},{"name":"ModuleNameResolver","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/ModuleNameResolver"},{"name":"NativeLifecycle","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/NativeLifecycle"},{"name":"Navigation","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Navigation"},{"name":"separator","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/separator"},{"name":"Style","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Style"},{"name":"Test","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Test"},{"name":"Transition","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/Transition"},{"name":"ViewHierarchy","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/ViewHierarchy"},{"name":"VisualTreeEvents","kind":"variable","url":"/api/namespaces/Trace/namespaces/categories/variables/VisualTreeEvents"},{"name":"concat","kind":"function","url":"/api/namespaces/Trace/namespaces/categories/functions/concat"},{"name":"messageType","kind":"namespace","url":"/api/namespaces/Trace/namespaces/messageType/"},{"name":"error","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/error"},{"name":"info","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/info"},{"name":"log","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/log"},{"name":"warn","kind":"variable","url":"/api/namespaces/Trace/namespaces/messageType/variables/warn"},{"name":"ConsoleWriter","kind":"class","url":"/api/namespaces/Trace/classes/ConsoleWriter","summary":"An interface used to define a writer used by trace to print (log)."},{"name":"DefaultErrorHandler","kind":"class","url":"/api/namespaces/Trace/classes/DefaultErrorHandler","summary":"An interface used to for handling trace error"},{"name":"addCategories","kind":"function","url":"/api/namespaces/Trace/functions/addCategories"},{"name":"addEventListener","kind":"function","url":"/api/namespaces/Trace/functions/addEventListener"},{"name":"addWriter","kind":"function","url":"/api/namespaces/Trace/functions/addWriter"},{"name":"clearWriters","kind":"function","url":"/api/namespaces/Trace/functions/clearWriters"},{"name":"disable","kind":"function","url":"/api/namespaces/Trace/functions/disable"},{"name":"enable","kind":"function","url":"/api/namespaces/Trace/functions/enable"},{"name":"error","kind":"function","url":"/api/namespaces/Trace/functions/error"},{"name":"getErrorHandler","kind":"function","url":"/api/namespaces/Trace/functions/getErrorHandler"},{"name":"isCategorySet","kind":"function","url":"/api/namespaces/Trace/functions/isCategorySet"},{"name":"isEnabled","kind":"function","url":"/api/namespaces/Trace/functions/isEnabled"},{"name":"notifyEvent","kind":"function","url":"/api/namespaces/Trace/functions/notifyEvent"},{"name":"removeEventListener","kind":"function","url":"/api/namespaces/Trace/functions/removeEventListener"},{"name":"removeWriter","kind":"function","url":"/api/namespaces/Trace/functions/removeWriter"},{"name":"setCategories","kind":"function","url":"/api/namespaces/Trace/functions/setCategories"},{"name":"setErrorHandler","kind":"function","url":"/api/namespaces/Trace/functions/setErrorHandler"},{"name":"write","kind":"function","url":"/api/namespaces/Trace/functions/write"},{"name":"Utils","kind":"namespace","url":"/api/namespaces/Utils/"},{"name":"layout","kind":"namespace","url":"/api/namespaces/Utils/namespaces/layout/","summary":"Utility module related to layout."},{"name":"AT_MOST","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/AT_MOST"},{"name":"EXACTLY","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/EXACTLY"},{"name":"MEASURED_HEIGHT_STATE_SHIFT","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_HEIGHT_STATE_SHIFT"},{"name":"MEASURED_SIZE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_SIZE_MASK"},{"name":"MEASURED_STATE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_MASK"},{"name":"MEASURED_STATE_TOO_SMALL","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MEASURED_STATE_TOO_SMALL"},{"name":"MODE_MASK","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MODE_MASK"},{"name":"MODE_SHIFT","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/MODE_SHIFT","summary":"Bits that provide the actual measured size."},{"name":"UNSPECIFIED","kind":"variable","url":"/api/namespaces/Utils/namespaces/layout/variables/UNSPECIFIED"},{"name":"getDisplayDensity","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getDisplayDensity"},{"name":"getMeasureSpecMode","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecMode"},{"name":"getMeasureSpecSize","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMeasureSpecSize"},{"name":"getMode","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/getMode"},{"name":"hasRtlSupport","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/hasRtlSupport"},{"name":"makeMeasureSpec","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/makeMeasureSpec"},{"name":"measureNativeView","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/measureNativeView"},{"name":"measureSpecToString","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/measureSpecToString"},{"name":"round","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/round"},{"name":"toDeviceIndependentPixels","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/toDeviceIndependentPixels"},{"name":"toDevicePixels","kind":"function","url":"/api/namespaces/Utils/namespaces/layout/functions/toDevicePixels"},{"name":"ClassInfo","kind":"class","url":"/api/namespaces/Utils/classes/ClassInfo","summary":"A Class holding information about a class"},{"name":"ScopeError","kind":"class","url":"/api/namespaces/Utils/classes/ScopeError","summary":"An Error class that provides additional context to an error."},{"name":"Source","kind":"class","url":"/api/namespaces/Utils/classes/Source","summary":"A class encapsulating information for source code origin."},{"name":"SourceError","kind":"class","url":"/api/namespaces/Utils/classes/SourceError","summary":"Represents a scope error providing addiot"},{"name":"PlatformWindow","kind":"type-alias","url":"/api/namespaces/Utils/type-aliases/PlatformWindow"},{"name":"ad","kind":"variable","url":"/api/namespaces/Utils/variables/ad"},{"name":"android","kind":"variable","url":"/api/namespaces/Utils/variables/android","summary":"Utilities related to Android."},{"name":"CORE_ANIMATION_DEFAULTS","kind":"variable","url":"/api/namespaces/Utils/variables/CORE_ANIMATION_DEFAULTS","summary":"Default animation values used throughout core"},{"name":"debug","kind":"variable","url":"/api/namespaces/Utils/variables/debug","summary":"A runtime option indicating whether the build has debugging enabled."},{"name":"FILE_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/FILE_PREFIX"},{"name":"FONT_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/FONT_PREFIX"},{"name":"ios","kind":"variable","url":"/api/namespaces/Utils/variables/ios","summary":"Utilities related to iOS."},{"name":"iOSNativeHelper","kind":"variable","url":"/api/namespaces/Utils/variables/iOSNativeHelper"},{"name":"RESOURCE_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/RESOURCE_PREFIX"},{"name":"SDK_VERSION","kind":"variable","url":"/api/namespaces/Utils/variables/SDK_VERSION"},{"name":"SYSTEM_PREFIX","kind":"variable","url":"/api/namespaces/Utils/variables/SYSTEM_PREFIX"},{"name":"clearInterval","kind":"function","url":"/api/namespaces/Utils/functions/clearInterval"},{"name":"clearTimeout","kind":"function","url":"/api/namespaces/Utils/functions/clearTimeout"},{"name":"convertString","kind":"function","url":"/api/namespaces/Utils/functions/convertString"},{"name":"copyToClipboard","kind":"function","url":"/api/namespaces/Utils/functions/copyToClipboard"},{"name":"dataDeserialize","kind":"function","url":"/api/namespaces/Utils/functions/dataDeserialize"},{"name":"dataSerialize","kind":"function","url":"/api/namespaces/Utils/functions/dataSerialize"},{"name":"debounce","kind":"function","url":"/api/namespaces/Utils/functions/debounce"},{"name":"dismissKeyboard","kind":"function","url":"/api/namespaces/Utils/functions/dismissKeyboard"},{"name":"dismissSoftInput","kind":"function","url":"/api/namespaces/Utils/functions/dismissSoftInput"},{"name":"dispatchToMainThread","kind":"function","url":"/api/namespaces/Utils/functions/dispatchToMainThread"},{"name":"dispatchToUIThread","kind":"function","url":"/api/namespaces/Utils/functions/dispatchToUIThread"},{"name":"eliminateDuplicates","kind":"function","url":"/api/namespaces/Utils/functions/eliminateDuplicates"},{"name":"escapeRegexSymbols","kind":"function","url":"/api/namespaces/Utils/functions/escapeRegexSymbols"},{"name":"executeOnMainThread","kind":"function","url":"/api/namespaces/Utils/functions/executeOnMainThread"},{"name":"executeOnUIThread","kind":"function","url":"/api/namespaces/Utils/functions/executeOnUIThread"},{"name":"GC","kind":"function","url":"/api/namespaces/Utils/functions/GC"},{"name":"getBaseClasses","kind":"function","url":"/api/namespaces/Utils/functions/getBaseClasses"},{"name":"getClass","kind":"function","url":"/api/namespaces/Utils/functions/getClass"},{"name":"getClassInfo","kind":"function","url":"/api/namespaces/Utils/functions/getClassInfo"},{"name":"getDurationWithDampingFromSpring","kind":"function","url":"/api/namespaces/Utils/functions/getDurationWithDampingFromSpring"},{"name":"getFileExtension","kind":"function","url":"/api/namespaces/Utils/functions/getFileExtension"},{"name":"getModuleName","kind":"function","url":"/api/namespaces/Utils/functions/getModuleName"},{"name":"getWindow","kind":"function","url":"/api/namespaces/Utils/functions/getWindow"},{"name":"hasDuplicates","kind":"function","url":"/api/namespaces/Utils/functions/hasDuplicates"},{"name":"isBoolean","kind":"function","url":"/api/namespaces/Utils/functions/isBoolean"},{"name":"isDataURI","kind":"function","url":"/api/namespaces/Utils/functions/isDataURI"},{"name":"isDefined","kind":"function","url":"/api/namespaces/Utils/functions/isDefined"},{"name":"isEmoji","kind":"function","url":"/api/namespaces/Utils/functions/isEmoji"},{"name":"isFileOrResourcePath","kind":"function","url":"/api/namespaces/Utils/functions/isFileOrResourcePath"},{"name":"isFontIconURI","kind":"function","url":"/api/namespaces/Utils/functions/isFontIconURI"},{"name":"isFunction","kind":"function","url":"/api/namespaces/Utils/functions/isFunction"},{"name":"isMainThread","kind":"function","url":"/api/namespaces/Utils/functions/isMainThread"},{"name":"isNullOrUndefined","kind":"function","url":"/api/namespaces/Utils/functions/isNullOrUndefined"},{"name":"isNumber","kind":"function","url":"/api/namespaces/Utils/functions/isNumber"},{"name":"isObject","kind":"function","url":"/api/namespaces/Utils/functions/isObject"},{"name":"isRealDevice","kind":"function","url":"/api/namespaces/Utils/functions/isRealDevice"},{"name":"isString","kind":"function","url":"/api/namespaces/Utils/functions/isString"},{"name":"isSystemURI","kind":"function","url":"/api/namespaces/Utils/functions/isSystemURI"},{"name":"isUndefined","kind":"function","url":"/api/namespaces/Utils/functions/isUndefined"},{"name":"mainThreadify","kind":"function","url":"/api/namespaces/Utils/functions/mainThreadify"},{"name":"merge","kind":"function","url":"/api/namespaces/Utils/functions/merge"},{"name":"mergeSort","kind":"function","url":"/api/namespaces/Utils/functions/mergeSort"},{"name":"numberHasDecimals","kind":"function","url":"/api/namespaces/Utils/functions/numberHasDecimals"},{"name":"numberIs64Bit","kind":"function","url":"/api/namespaces/Utils/functions/numberIs64Bit"},{"name":"openFile","kind":"function","url":"/api/namespaces/Utils/functions/openFile"},{"name":"openUrl","kind":"function","url":"/api/namespaces/Utils/functions/openUrl"},{"name":"openUrlAsync","kind":"function","url":"/api/namespaces/Utils/functions/openUrlAsync"},{"name":"queueGC","kind":"function","url":"/api/namespaces/Utils/functions/queueGC"},{"name":"queueMacrotask","kind":"function","url":"/api/namespaces/Utils/functions/queueMacrotask"},{"name":"releaseNativeObject","kind":"function","url":"/api/namespaces/Utils/functions/releaseNativeObject"},{"name":"sanitizeModuleName","kind":"function","url":"/api/namespaces/Utils/functions/sanitizeModuleName"},{"name":"setInterval","kind":"function","url":"/api/namespaces/Utils/functions/setInterval"},{"name":"setTimeout","kind":"function","url":"/api/namespaces/Utils/functions/setTimeout"},{"name":"supportsGlass","kind":"function","url":"/api/namespaces/Utils/functions/supportsGlass"},{"name":"throttle","kind":"function","url":"/api/namespaces/Utils/functions/throttle"},{"name":"toUIString","kind":"function","url":"/api/namespaces/Utils/functions/toUIString"},{"name":"verifyCallback","kind":"function","url":"/api/namespaces/Utils/functions/verifyCallback"},{"name":"AccessibilityLiveRegion","kind":"enum","url":"/api/enumerations/AccessibilityLiveRegion"},{"name":"AccessibilityRole","kind":"enum","url":"/api/enumerations/AccessibilityRole"},{"name":"AccessibilityState","kind":"enum","url":"/api/enumerations/AccessibilityState"},{"name":"AccessibilityTrait","kind":"enum","url":"/api/enumerations/AccessibilityTrait"},{"name":"AndroidDirectory","kind":"enum","url":"/api/enumerations/AndroidDirectory"},{"name":"CacheMode","kind":"enum","url":"/api/enumerations/CacheMode"},{"name":"FontScaleCategory","kind":"enum","url":"/api/enumerations/FontScaleCategory"},{"name":"GestureEvents","kind":"enum","url":"/api/enumerations/GestureEvents"},{"name":"GestureStateTypes","kind":"enum","url":"/api/enumerations/GestureStateTypes"},{"name":"GestureTypes","kind":"enum","url":"/api/enumerations/GestureTypes"},{"name":"HttpResponseEncoding","kind":"enum","url":"/api/enumerations/HttpResponseEncoding"},{"name":"ImageSymbolEffects","kind":"enum","url":"/api/enumerations/ImageSymbolEffects"},{"name":"NavigationType","kind":"enum","url":"/api/enumerations/NavigationType"},{"name":"SharedTransitionAnimationType","kind":"enum","url":"/api/enumerations/SharedTransitionAnimationType"},{"name":"SwipeDirection","kind":"enum","url":"/api/enumerations/SwipeDirection"},{"name":"TouchAction","kind":"enum","url":"/api/enumerations/TouchAction"},{"name":"WritingToolsAllowedInput","kind":"enum","url":"/api/enumerations/WritingToolsAllowedInput","summary":"(iOS Only) Allowed input for Apple Intelligence Writing Tools"},{"name":"WritingToolsBehavior","kind":"enum","url":"/api/enumerations/WritingToolsBehavior","summary":"(iOS Only) Behavior for Apple Intelligence Writing Tools"},{"name":"AbsoluteLayout","kind":"class","url":"/api/classes/AbsoluteLayout","summary":"A layout that lets you specify exact locations (left/top coordinates) of its children."},{"name":"ActionBar","kind":"class","url":"/api/classes/ActionBar","summary":"Provides an abstraction over the ActionBar (android) and NavigationBar (iOS)."},{"name":"ActionItem","kind":"class","url":"/api/classes/ActionItem","summary":"Represents an action item in the action bar."},{"name":"ActionItems","kind":"class","url":"/api/classes/ActionItems","summary":"Represents a collection of ActionItems."},{"name":"ActivityIndicator","kind":"class","url":"/api/classes/ActivityIndicator","summary":"Represents a UI widget which displays a progress indicator hinting the user for some background operation running."},{"name":"AndroidApplication","kind":"class","url":"/api/classes/AndroidApplication"},{"name":"Animation","kind":"class","url":"/api/classes/Animation","summary":"Defines a animation set."},{"name":"ApplicationCommon","kind":"class","url":"/api/classes/ApplicationCommon"},{"name":"Background","kind":"class","url":"/api/classes/Background"},{"name":"Binding","kind":"class","url":"/api/classes/Binding"},{"name":"Builder","kind":"class","url":"/api/classes/Builder"},{"name":"Button","kind":"class","url":"/api/classes/Button","summary":"Represents a standard Button widget."},{"name":"ChangeType","kind":"class","url":"/api/classes/ChangeType"},{"name":"CoercibleProperty","kind":"class","url":"/api/classes/CoercibleProperty"},{"name":"Color","kind":"class","url":"/api/classes/Color","summary":"Represents a color object. Stores all color components (alpha (opacity), red, green, blue) in a [0..255] range."},{"name":"ContainerView","kind":"class","url":"/api/classes/ContainerView","summary":"Base class for all UI components that are containers."},{"name":"ContentView","kind":"class","url":"/api/classes/ContentView"},{"name":"ControlStateChangeListener","kind":"class","url":"/api/classes/ControlStateChangeListener","summary":"An utility class used for supporting styling infrastructure. WARNING: This class is intended for IOS only."},{"name":"CssAnimationParser","kind":"class","url":"/api/classes/CssAnimationParser"},{"name":"CssAnimationProperty","kind":"class","url":"/api/classes/CssAnimationProperty"},{"name":"CssProperty","kind":"class","url":"/api/classes/CssProperty"},{"name":"CustomLayoutView","kind":"class","url":"/api/classes/CustomLayoutView","summary":"Base class for all UI components that implement custom layouts."},{"name":"DatePicker","kind":"class","url":"/api/classes/DatePicker","summary":"Represents an date picker."},{"name":"DockLayout","kind":"class","url":"/api/classes/DockLayout","summary":"A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space."},{"name":"EditableTextBase","kind":"class","url":"/api/classes/EditableTextBase","summary":"Represents the base class for all editable text views."},{"name":"FadeTransition","kind":"class","url":"/api/classes/FadeTransition"},{"name":"File","kind":"class","url":"/api/classes/File","summary":"Represents a File entity on the file system."},{"name":"FileSystemEntity","kind":"class","url":"/api/classes/FileSystemEntity","summary":"Represents a single entity on the file system."},{"name":"FlexboxLayout","kind":"class","url":"/api/classes/FlexboxLayout"},{"name":"Folder","kind":"class","url":"/api/classes/Folder","summary":"Represents a Folder (directory) entity on the file system."},{"name":"Font","kind":"class","url":"/api/classes/Font"},{"name":"FormattedString","kind":"class","url":"/api/classes/FormattedString","summary":"A class used to create a formatted (rich text) string."},{"name":"Frame","kind":"class","url":"/api/classes/Frame","summary":"Represents the logical View unit that is responsible for navigation within an application. Nested frames are supported, enabling hierarchical navigation scenarios."},{"name":"GesturesObserver","kind":"class","url":"/api/classes/GesturesObserver","summary":"Provides options for the GesturesObserver."},{"name":"GridLayout","kind":"class","url":"/api/classes/GridLayout","summary":"Defines a rectangular layout area that consists of columns and rows."},{"name":"HtmlView","kind":"class","url":"/api/classes/HtmlView","summary":"Represents a view with html content. Use this component instead WebView when you want to show just static HTML content. [iOS support](https://developer.apple.com/documentation/foundation/nsattributedstring/1524613-ini..."},{"name":"Image","kind":"class","url":"/api/classes/Image","summary":"Represents a class that provides functionality for loading and streching image(s)."},{"name":"ImageAsset","kind":"class","url":"/api/classes/ImageAsset","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"ImageCache","kind":"class","url":"/api/classes/ImageCache","summary":"Represents a class that stores handles image download requests and caches the already downloaded images."},{"name":"ImageSource","kind":"class","url":"/api/classes/ImageSource","summary":"Encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images."},{"name":"ImageSymbolEffect","kind":"class","url":"/api/classes/ImageSymbolEffect","summary":"iOS only Symbol effects: https://developer.apple.com/documentation/symbols?language=objc"},{"name":"InheritedCssProperty","kind":"class","url":"/api/classes/InheritedCssProperty"},{"name":"InheritedProperty","kind":"class","url":"/api/classes/InheritedProperty"},{"name":"iOSApplication","kind":"class","url":"/api/classes/iOSApplication"},{"name":"ItemSpec","kind":"class","url":"/api/classes/ItemSpec","summary":"Defines row/column specific properties that apply to GridLayout elements."},{"name":"KeyframeAnimation","kind":"class","url":"/api/classes/KeyframeAnimation"},{"name":"KeyframeAnimationInfo","kind":"class","url":"/api/classes/KeyframeAnimationInfo"},{"name":"KeyframeDeclaration","kind":"class","url":"/api/classes/KeyframeDeclaration"},{"name":"KeyframeInfo","kind":"class","url":"/api/classes/KeyframeInfo"},{"name":"Label","kind":"class","url":"/api/classes/Label","summary":"Represents a text label."},{"name":"LayoutBase","kind":"class","url":"/api/classes/LayoutBase","summary":"Base class for all views that supports children positioning."},{"name":"LinearGradient","kind":"class","url":"/api/classes/LinearGradient"},{"name":"LiquidGlass","kind":"class","url":"/api/classes/LiquidGlass"},{"name":"LiquidGlassContainer","kind":"class","url":"/api/classes/LiquidGlassContainer"},{"name":"ListPicker","kind":"class","url":"/api/classes/ListPicker","summary":"Represents an list picker."},{"name":"ListView","kind":"class","url":"/api/classes/ListView","summary":"Represents a view that shows items in a vertically scrolling list."},{"name":"ModalTransition","kind":"class","url":"/api/classes/ModalTransition"},{"name":"ModuleNameResolver","kind":"class","url":"/api/classes/ModuleNameResolver"},{"name":"NativeWindow","kind":"class","url":"/api/classes/NativeWindow","summary":"A window surface that hosts a NativeScript view tree. Wraps a platform window (iOS UIWindowScene + UIWindow, Android Activity) and owns the per-window root view, its CSS classes and its lifecycle events. Instances are..."},{"name":"NavigationButton","kind":"class","url":"/api/classes/NavigationButton","summary":"Represents the navigation (a.k.a. \"back\") button."},{"name":"Observable","kind":"class","url":"/api/classes/Observable","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"ObservableArray","kind":"class","url":"/api/classes/ObservableArray","summary":"Advanced array like class used when you want to be notified when a change occurs."},{"name":"Page","kind":"class","url":"/api/classes/Page","summary":"Represents a logical unit for navigation (inside Frame)."},{"name":"PageBase","kind":"class","url":"/api/classes/PageBase"},{"name":"PageTransition","kind":"class","url":"/api/classes/PageTransition"},{"name":"ParserEvent","kind":"class","url":"/api/classes/ParserEvent","summary":"Provides information for a parser event."},{"name":"ParserEventType","kind":"class","url":"/api/classes/ParserEventType","summary":"Specifies the type of parser event."},{"name":"Placeholder","kind":"class","url":"/api/classes/Placeholder","summary":"Represents a Placeholder, which is used to add a native view to the visual tree."},{"name":"Progress","kind":"class","url":"/api/classes/Progress","summary":"Represents a progress component."},{"name":"Property","kind":"class","url":"/api/classes/Property"},{"name":"ProxyViewContainer","kind":"class","url":"/api/classes/ProxyViewContainer","summary":"Proxy view container that adds all its native children directly to the parent. To be used as a logical grouping container of views."},{"name":"Repeater","kind":"class","url":"/api/classes/Repeater","summary":"Represents a UI Repeater component."},{"name":"RootLayout","kind":"class","url":"/api/classes/RootLayout"},{"name":"Screen","kind":"class","url":"/api/classes/Screen","summary":"An object describing general information about a display."},{"name":"ScrollView","kind":"class","url":"/api/classes/ScrollView","summary":"Represents a scrollable area that can have content that is larger than its bounds."},{"name":"SearchBar","kind":"class","url":"/api/classes/SearchBar","summary":"Represents a search bar component."},{"name":"SegmentedBar","kind":"class","url":"/api/classes/SegmentedBar","summary":"Represents a UI SegmentedBar component."},{"name":"SegmentedBarItem","kind":"class","url":"/api/classes/SegmentedBarItem","summary":"Represents a SegmentedBar item."},{"name":"SharedTransition","kind":"class","url":"/api/classes/SharedTransition","summary":"Shared Element Transitions (preview) Allows you to auto animate between shared elements on two different screesn to create smooth navigational experiences. View components can define sharedTransitionTag=\"name\" alone w..."},{"name":"SharedTransitionHelper","kind":"class","url":"/api/classes/SharedTransitionHelper","summary":"Platform helper to aid in creating your own custom Shared Element Transition classes. (iOS Only)"},{"name":"ShorthandProperty","kind":"class","url":"/api/classes/ShorthandProperty"},{"name":"Slider","kind":"class","url":"/api/classes/Slider","summary":"Represents a slider component."},{"name":"SlideTransition","kind":"class","url":"/api/classes/SlideTransition"},{"name":"Span","kind":"class","url":"/api/classes/Span","summary":"A class used to create a single part of formatted string with a common text properties."},{"name":"SplitView","kind":"class","url":"/api/classes/SplitView","summary":"iOS UISplitViewController-backed container. On Android, acts as a simple container."},{"name":"StackLayout","kind":"class","url":"/api/classes/StackLayout","summary":"A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property."},{"name":"Style","kind":"class","url":"/api/classes/Style","summary":"Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0..."},{"name":"Switch","kind":"class","url":"/api/classes/Switch","summary":"Represents a switch component."},{"name":"TabView","kind":"class","url":"/api/classes/TabView","summary":"Represents a tab view."},{"name":"TabViewItem","kind":"class","url":"/api/classes/TabViewItem","summary":"Represents a tab view entry."},{"name":"TextBase","kind":"class","url":"/api/classes/TextBase"},{"name":"TextField","kind":"class","url":"/api/classes/TextField","summary":"Represents an editable text field."},{"name":"TextView","kind":"class","url":"/api/classes/TextView","summary":"Represents an editable multiline text view."},{"name":"TimePicker","kind":"class","url":"/api/classes/TimePicker","summary":"Represents an time picker."},{"name":"TouchManager","kind":"class","url":"/api/classes/TouchManager","summary":"Manage interactivity in your apps easily with TouchManager. Store reusable down/up animation settings for touches as well as optionally enable automatic tap (down/up) animations for your app."},{"name":"Transition","kind":"class","url":"/api/classes/Transition"},{"name":"View","kind":"class","url":"/api/classes/View","summary":"This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within."},{"name":"ViewBase","kind":"class","url":"/api/classes/ViewBase"},{"name":"ViewHelper","kind":"class","url":"/api/classes/ViewHelper"},{"name":"VirtualArray","kind":"class","url":"/api/classes/VirtualArray","summary":"Advanced array like class that helps loading items on demand."},{"name":"WebView","kind":"class","url":"/api/classes/WebView","summary":"Represents a standard WebView widget."},{"name":"WindowBase","kind":"class","url":"/api/classes/WindowBase","summary":"Cross-platform base for any window surface. Carries identity, role, state, lifecycle events and the native accessors. Surfaces that host a NativeScript view tree are NativeWindow instances."},{"name":"WrapLayout","kind":"class","url":"/api/classes/WrapLayout","summary":"WrapLayout position children in rows or columns depending on orientation property until space is filled and then wraps them on new row or column."},{"name":"WrappedValue","kind":"class","url":"/api/classes/WrappedValue","summary":"Helper class that is used to fire property change even when real object is the same. By default property change will not be fired for a same object. By wrapping object into a WrappedValue instance `same object restric..."},{"name":"XmlParser","kind":"class","url":"/api/classes/XmlParser","summary":"A simple non-validating SAX parser based on https://github.com/vflash/easysax version 0.1.14"},{"name":"AccessibilityDecrementEventData","kind":"interface","url":"/api/interfaces/AccessibilityDecrementEventData","summary":"Base event data."},{"name":"AccessibilityIncrementEventData","kind":"interface","url":"/api/interfaces/AccessibilityIncrementEventData","summary":"Base event data."},{"name":"ActionOptions","kind":"interface","url":"/api/interfaces/ActionOptions","summary":"Provides options for the dialog."},{"name":"AddArrayFromBuilder","kind":"interface","url":"/api/interfaces/AddArrayFromBuilder","summary":"Defines an interface for adding arrays declared in xml."},{"name":"AddChildFromBuilder","kind":"interface","url":"/api/interfaces/AddChildFromBuilder","summary":"Defines an interface for adding a child element declared in xml."},{"name":"AlertOptions","kind":"interface","url":"/api/interfaces/AlertOptions","summary":"Provides options for the alert."},{"name":"AndroidActivityBackPressedEventData","kind":"interface","url":"/api/interfaces/AndroidActivityBackPressedEventData","summary":"Data for the Android activity back pressed event."},{"name":"AndroidActivityBundleEventData","kind":"interface","url":"/api/interfaces/AndroidActivityBundleEventData","summary":"Data for the Android activity events with bundle."},{"name":"AndroidActivityCallbacks","kind":"interface","url":"/api/interfaces/AndroidActivityCallbacks"},{"name":"AndroidActivityEventData","kind":"interface","url":"/api/interfaces/AndroidActivityEventData","summary":"Data for the Android activity events."},{"name":"AndroidActivityNewIntentEventData","kind":"interface","url":"/api/interfaces/AndroidActivityNewIntentEventData","summary":"Data for the Android activity newIntent event."},{"name":"AndroidActivityRequestPermissionsEventData","kind":"interface","url":"/api/interfaces/AndroidActivityRequestPermissionsEventData","summary":"Data for the Android activity onRequestPermissions callback"},{"name":"AndroidActivityResultEventData","kind":"interface","url":"/api/interfaces/AndroidActivityResultEventData","summary":"Data for the Android activity result event."},{"name":"AndroidOverflowInsetData","kind":"interface","url":"/api/interfaces/AndroidOverflowInsetData","summary":"Defines the data for the androidOverflowInset event."},{"name":"AnimationDefinition","kind":"interface","url":"/api/interfaces/AnimationDefinition"},{"name":"AnimationDefinitionInternal","kind":"interface","url":"/api/interfaces/AnimationDefinitionInternal"},{"name":"ApplicationEventData","kind":"interface","url":"/api/interfaces/ApplicationEventData","summary":"Event data containing information for the application events."},{"name":"BackstackEntry","kind":"interface","url":"/api/interfaces/BackstackEntry","summary":"Represents an entry in the back stack of a Frame object."},{"name":"BindingOptions","kind":"interface","url":"/api/interfaces/BindingOptions","summary":"The options object used in the Bindable.bind method."},{"name":"Cancelable","kind":"interface","url":"/api/interfaces/Cancelable"},{"name":"CancelableOptions","kind":"interface","url":"/api/interfaces/CancelableOptions","summary":"Provides options for the dialog."},{"name":"ChangedData","kind":"interface","url":"/api/interfaces/ChangedData","summary":"Event args for \"changed\" event."},{"name":"CommonLayoutParams","kind":"interface","url":"/api/interfaces/CommonLayoutParams"},{"name":"ComponentModule","kind":"interface","url":"/api/interfaces/ComponentModule"},{"name":"ConfirmOptions","kind":"interface","url":"/api/interfaces/ConfirmOptions","summary":"Provides options for the confirm dialog."},{"name":"CreateViewEventData","kind":"interface","url":"/api/interfaces/CreateViewEventData","summary":"Event data containing information for creating a native view that will be added to the visual tree."},{"name":"CssChangedEventData","kind":"interface","url":"/api/interfaces/CssChangedEventData","summary":"Event data containing information about application css change."},{"name":"DialogOptions","kind":"interface","url":"/api/interfaces/DialogOptions","summary":"Provides options for the dialog."},{"name":"DiscardedErrorEventData","kind":"interface","url":"/api/interfaces/DiscardedErrorEventData","summary":"Event data containing information about discarded application errors."},{"name":"DownloadedData","kind":"interface","url":"/api/interfaces/DownloadedData","summary":"Provides data for downloaded event."},{"name":"DownloadError","kind":"interface","url":"/api/interfaces/DownloadError","summary":"Provides data for download error."},{"name":"DownloadRequest","kind":"interface","url":"/api/interfaces/DownloadRequest","summary":"Represents a single download request."},{"name":"EventData","kind":"interface","url":"/api/interfaces/EventData","summary":"Base event data."},{"name":"EventDataValue","kind":"interface","url":"/api/interfaces/EventDataValue","summary":"Base event data."},{"name":"FontScaleChangedEventData","kind":"interface","url":"/api/interfaces/FontScaleChangedEventData","summary":"Event data containing information for font scale changed event."},{"name":"GestureEventData","kind":"interface","url":"/api/interfaces/GestureEventData","summary":"Base event data."},{"name":"GestureEventDataWithState","kind":"interface","url":"/api/interfaces/GestureEventDataWithState","summary":"Base event data."},{"name":"HttpContent","kind":"interface","url":"/api/interfaces/HttpContent","summary":"Encapsulates the content of an HttpResponse."},{"name":"HttpRequestOptions","kind":"interface","url":"/api/interfaces/HttpRequestOptions","summary":"Provides options for the http requests."},{"name":"HttpResponse","kind":"interface","url":"/api/interfaces/HttpResponse","summary":"Encapsulates HTTP-response information from an HTTP-request."},{"name":"IDevice","kind":"interface","url":"/api/interfaces/IDevice"},{"name":"ImageAssetOptions","kind":"interface","url":"/api/interfaces/ImageAssetOptions"},{"name":"InitRootViewEventData","kind":"interface","url":"/api/interfaces/InitRootViewEventData","summary":"Event data containing information about root view application."},{"name":"IOSView","kind":"interface","url":"/api/interfaces/IOSView","summary":"This class is the base class for all UI components. A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within."},{"name":"ItemEventData","kind":"interface","url":"/api/interfaces/ItemEventData","summary":"Event data containing information for the index and the view associated to a list view item."},{"name":"ItemsLoading","kind":"interface","url":"/api/interfaces/ItemsLoading","summary":"Event args for \"itemsLoading\" event."},{"name":"ItemsSource","kind":"interface","url":"/api/interfaces/ItemsSource"},{"name":"KeyedTemplate","kind":"interface","url":"/api/interfaces/KeyedTemplate","summary":"Defines an interface for Template with a key."},{"name":"LaunchEventData","kind":"interface","url":"/api/interfaces/LaunchEventData","summary":"Event data containing information for launch event."},{"name":"LayoutDirectionChangedEventData","kind":"interface","url":"/api/interfaces/LayoutDirectionChangedEventData","summary":"Event data containing information for system layout direction changed event."},{"name":"LoadAppCSSEventData","kind":"interface","url":"/api/interfaces/LoadAppCSSEventData","summary":"Event data containing information for the application events."},{"name":"LoadEventData","kind":"interface","url":"/api/interfaces/LoadEventData","summary":"Event data containing information for the loading events of a WebView."},{"name":"LoadOptions","kind":"interface","url":"/api/interfaces/LoadOptions"},{"name":"LoginOptions","kind":"interface","url":"/api/interfaces/LoginOptions","summary":"Provides options for the login dialog."},{"name":"LoginResult","kind":"interface","url":"/api/interfaces/LoginResult","summary":"Provides result data from the login dialog."},{"name":"NativeScriptConfig","kind":"interface","url":"/api/interfaces/NativeScriptConfig","summary":"IMPORTANT: this is not generated automatically due to this issue: https://github.com/microsoft/TypeScript/issues/36763 the reference path above will get rewritten and break on compilation unless kept here Once issue i..."},{"name":"NativeScriptError","kind":"interface","url":"/api/interfaces/NativeScriptError","summary":"An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code."},{"name":"NativeWindowEventData","kind":"interface","url":"/api/interfaces/NativeWindowEventData","summary":"Base event data for NativeWindow events."},{"name":"NavigatedData","kind":"interface","url":"/api/interfaces/NavigatedData","summary":"Defines the data for the page navigation events."},{"name":"NavigationContext","kind":"interface","url":"/api/interfaces/NavigationContext","summary":"Represents a context passed to navigation methods."},{"name":"NavigationData","kind":"interface","url":"/api/interfaces/NavigationData","summary":"Base event data."},{"name":"NavigationEntry","kind":"interface","url":"/api/interfaces/NavigationEntry","summary":"Represents an entry in passed to navigate method."},{"name":"NavigationTransition","kind":"interface","url":"/api/interfaces/NavigationTransition","summary":"Represents an object specifying a page navigation transition."},{"name":"OrientationChangedEventData","kind":"interface","url":"/api/interfaces/OrientationChangedEventData","summary":"Event data containing information for orientation changed event."},{"name":"Pair","kind":"interface","url":"/api/interfaces/Pair"},{"name":"PanGestureEventData","kind":"interface","url":"/api/interfaces/PanGestureEventData","summary":"Base event data."},{"name":"PinchGestureEventData","kind":"interface","url":"/api/interfaces/PinchGestureEventData","summary":"Base event data."},{"name":"PlatformContext","kind":"interface","url":"/api/interfaces/PlatformContext","summary":"Used with qualifier matchers and module resolution"},{"name":"Point3D","kind":"interface","url":"/api/interfaces/Point3D"},{"name":"PrimaryWindowChangedEventData","kind":"interface","url":"/api/interfaces/PrimaryWindowChangedEventData","summary":"Event data fired on Application when the primary window changes."},{"name":"PromptOptions","kind":"interface","url":"/api/interfaces/PromptOptions","summary":"Provides options for the prompt dialog."},{"name":"PromptResult","kind":"interface","url":"/api/interfaces/PromptResult","summary":"Provides result data from the prompt dialog."},{"name":"PropertyAnimation","kind":"interface","url":"/api/interfaces/PropertyAnimation"},{"name":"PropertyAnimationInfo","kind":"interface","url":"/api/interfaces/PropertyAnimationInfo"},{"name":"PropertyChangeData","kind":"interface","url":"/api/interfaces/PropertyChangeData","summary":"Data for the \"propertyChange\" event."},{"name":"RootLayoutOptions","kind":"interface","url":"/api/interfaces/RootLayoutOptions"},{"name":"RotationGestureEventData","kind":"interface","url":"/api/interfaces/RotationGestureEventData","summary":"Base event data."},{"name":"SceneContinueUserActivityEventData","kind":"interface","url":"/api/interfaces/SceneContinueUserActivityEventData","summary":"iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and universal links directed at a scene. Replaces the `applicationContinueUserActivityRestorationHandler` app delegate callback, which UIKit..."},{"name":"SceneEventData","kind":"interface","url":"/api/interfaces/SceneEventData","summary":"iOS Event data containing information for scene lifecycle events (iOS 13+)."},{"name":"SceneOpenURLContextsEventData","kind":"interface","url":"/api/interfaces/SceneOpenURLContextsEventData","summary":"iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs. Replaces the `applicationOpenURLOptions` app delegate callback, which UIKit no longer calls once the app adopts scenes. H..."},{"name":"ScenePerformActionForShortcutItemEventData","kind":"interface","url":"/api/interfaces/ScenePerformActionForShortcutItemEventData","summary":"iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home screen quick action targets a scene. Replaces the `applicationPerformActionForShortcutItemCompletionHandler` app delegate callback, ..."},{"name":"ScrollEventData","kind":"interface","url":"/api/interfaces/ScrollEventData","summary":"Base event data."},{"name":"SearchEventData","kind":"interface","url":"/api/interfaces/SearchEventData","summary":"Event data containing information for the search text change event."},{"name":"SelectedIndexChangedEventData","kind":"interface","url":"/api/interfaces/SelectedIndexChangedEventData","summary":"Defines the data for the SegmentedBar.selectedIndexChanged event."},{"name":"ShadeCoverOptions","kind":"interface","url":"/api/interfaces/ShadeCoverOptions"},{"name":"ShadowCSSValues","kind":"interface","url":"/api/interfaces/ShadowCSSValues"},{"name":"SharedTransitionConfig","kind":"interface","url":"/api/interfaces/SharedTransitionConfig"},{"name":"ShowModalOptions","kind":"interface","url":"/api/interfaces/ShowModalOptions"},{"name":"ShownModallyData","kind":"interface","url":"/api/interfaces/ShownModallyData","summary":"Defines the data for the shownModally event."},{"name":"Size","kind":"interface","url":"/api/interfaces/Size","summary":"The Size interface describes abstract dimensions in two dimensional space. It has two properties width and height, representing the width and height values of the size."},{"name":"StrokeCSSValues","kind":"interface","url":"/api/interfaces/StrokeCSSValues"},{"name":"SwipeGestureEventData","kind":"interface","url":"/api/interfaces/SwipeGestureEventData","summary":"Base event data."},{"name":"SystemAppearanceChangedEventData","kind":"interface","url":"/api/interfaces/SystemAppearanceChangedEventData","summary":"Event data containing information for system appearance changed event."},{"name":"TapGestureEventData","kind":"interface","url":"/api/interfaces/TapGestureEventData","summary":"Base event data."},{"name":"Template","kind":"interface","url":"/api/interfaces/Template","summary":"Defines an interface for a View factory function. Commonly used to specify the visualization of data objects."},{"name":"TemplatedItemsView","kind":"interface","url":"/api/interfaces/TemplatedItemsView"},{"name":"TimerInfo","kind":"interface","url":"/api/interfaces/TimerInfo","summary":"Contains contains utility methods for profiling. All methods in this module are experimental and may be changed in a non-major version."},{"name":"TouchGestureEventData","kind":"interface","url":"/api/interfaces/TouchGestureEventData"},{"name":"TraceErrorHandler","kind":"interface","url":"/api/interfaces/TraceErrorHandler","summary":"An interface used to for handling trace error"},{"name":"TraceEventListener","kind":"interface","url":"/api/interfaces/TraceEventListener","summary":"An interface used to trace information about specific event."},{"name":"TraceWriter","kind":"interface","url":"/api/interfaces/TraceWriter","summary":"An interface used to define a writer used by trace to print (log)."},{"name":"UnhandledErrorEventData","kind":"interface","url":"/api/interfaces/UnhandledErrorEventData","summary":"Event data containing information about unhandled application errors."},{"name":"ViewEntry","kind":"interface","url":"/api/interfaces/ViewEntry","summary":"Represents an entry to be used to create a view or load it form file"},{"name":"WindowBaseEventData","kind":"interface","url":"/api/interfaces/WindowBaseEventData","summary":"Base event data for window surface events."},{"name":"WindowCloseEventData","kind":"interface","url":"/api/interfaces/WindowCloseEventData","summary":"Event data fired on Application when a window closes."},{"name":"WindowContentRequest","kind":"interface","url":"/api/interfaces/WindowContentRequest","summary":"Describes the window asking for content."},{"name":"WindowLayoutDirectionChangedEventData","kind":"interface","url":"/api/interfaces/WindowLayoutDirectionChangedEventData","summary":"Event data for the `layoutDirectionChanged` event of a NativeWindow."},{"name":"WindowOpenEventData","kind":"interface","url":"/api/interfaces/WindowOpenEventData","summary":"Event data fired on Application when a window opens."},{"name":"WindowOpenOptions","kind":"interface","url":"/api/interfaces/WindowOpenOptions","summary":"Options for opening a new window."},{"name":"WindowOrientationChangedEventData","kind":"interface","url":"/api/interfaces/WindowOrientationChangedEventData","summary":"Event data for the `orientationChanged` event of a NativeWindow."},{"name":"WindowSystemAppearanceChangedEventData","kind":"interface","url":"/api/interfaces/WindowSystemAppearanceChangedEventData","summary":"Event data for the `systemAppearanceChanged` event of a NativeWindow."},{"name":"AlignContent","kind":"type-alias","url":"/api/type-aliases/AlignContent"},{"name":"AlignItems","kind":"type-alias","url":"/api/type-aliases/AlignItems"},{"name":"AlignSelf","kind":"type-alias","url":"/api/type-aliases/AlignSelf"},{"name":"AnimationPromise","kind":"type-alias","url":"/api/type-aliases/AnimationPromise"},{"name":"dip","kind":"type-alias","url":"/api/type-aliases/dip"},{"name":"Flex","kind":"type-alias","url":"/api/type-aliases/Flex"},{"name":"FlexDirection","kind":"type-alias","url":"/api/type-aliases/FlexDirection"},{"name":"FlexFlow","kind":"type-alias","url":"/api/type-aliases/FlexFlow"},{"name":"FlexWrap","kind":"type-alias","url":"/api/type-aliases/FlexWrap"},{"name":"FontStyleType","kind":"type-alias","url":"/api/type-aliases/FontStyleType"},{"name":"FontVariationSettingsType","kind":"type-alias","url":"/api/type-aliases/FontVariationSettingsType"},{"name":"FontWeightType","kind":"type-alias","url":"/api/type-aliases/FontWeightType"},{"name":"GlassEffectConfig","kind":"type-alias","url":"/api/type-aliases/GlassEffectConfig"},{"name":"GlassEffectType","kind":"type-alias","url":"/api/type-aliases/GlassEffectType"},{"name":"GlassEffectVariant","kind":"type-alias","url":"/api/type-aliases/GlassEffectVariant","summary":"Glass effects"},{"name":"GridUnitType","kind":"type-alias","url":"/api/type-aliases/GridUnitType"},{"name":"Headers","kind":"type-alias","url":"/api/type-aliases/Headers"},{"name":"HorizontalAlignment","kind":"type-alias","url":"/api/type-aliases/HorizontalAlignment"},{"name":"InstrumentationMode","kind":"type-alias","url":"/api/type-aliases/InstrumentationMode","summary":"Profiling mode to use. - `counters` Accumulates method call counts and times until dumpProfiles is called and then prints aggregated statistic in the console. This is the default. - `timeline` Outputs method names alo..."},{"name":"iosSymbolScaleType","kind":"type-alias","url":"/api/type-aliases/iosSymbolScaleType","summary":"iOS only SF Symbol scale"},{"name":"JustifyContent","kind":"type-alias","url":"/api/type-aliases/JustifyContent"},{"name":"LengthDipUnit","kind":"type-alias","url":"/api/type-aliases/LengthDipUnit"},{"name":"LengthPercentUnit","kind":"type-alias","url":"/api/type-aliases/LengthPercentUnit"},{"name":"LengthPxUnit","kind":"type-alias","url":"/api/type-aliases/LengthPxUnit"},{"name":"LengthType","kind":"type-alias","url":"/api/type-aliases/LengthType"},{"name":"ModuleListProvider","kind":"type-alias","url":"/api/type-aliases/ModuleListProvider"},{"name":"NativeWindowEventName","kind":"type-alias","url":"/api/type-aliases/NativeWindowEventName"},{"name":"percent","kind":"type-alias","url":"/api/type-aliases/percent"},{"name":"PercentLengthType","kind":"type-alias","url":"/api/type-aliases/PercentLengthType"},{"name":"px","kind":"type-alias","url":"/api/type-aliases/px"},{"name":"SceneEventName","kind":"type-alias","url":"/api/type-aliases/SceneEventName"},{"name":"SharedTransitionTagProperties","kind":"type-alias","url":"/api/type-aliases/SharedTransitionTagProperties","summary":"Properties which can be set on individual Shared Elements"},{"name":"SplitBehavior","kind":"type-alias","url":"/api/type-aliases/SplitBehavior"},{"name":"SplitDisplayMode","kind":"type-alias","url":"/api/type-aliases/SplitDisplayMode"},{"name":"SplitRole","kind":"type-alias","url":"/api/type-aliases/SplitRole"},{"name":"SplitStyle","kind":"type-alias","url":"/api/type-aliases/SplitStyle"},{"name":"TouchAnimationOptions","kind":"type-alias","url":"/api/type-aliases/TouchAnimationOptions"},{"name":"Transformation","kind":"type-alias","url":"/api/type-aliases/Transformation"},{"name":"TransformationType","kind":"type-alias","url":"/api/type-aliases/TransformationType"},{"name":"TransformationValue","kind":"type-alias","url":"/api/type-aliases/TransformationValue"},{"name":"TransformFunctionsInfo","kind":"type-alias","url":"/api/type-aliases/TransformFunctionsInfo"},{"name":"VerticalAlignment","kind":"type-alias","url":"/api/type-aliases/VerticalAlignment"},{"name":"VisionHoverOptions","kind":"type-alias","url":"/api/type-aliases/VisionHoverOptions"},{"name":"WebViewNavigationType","kind":"type-alias","url":"/api/type-aliases/WebViewNavigationType","summary":"Represents navigation type"},{"name":"WindowContentResolver","kind":"type-alias","url":"/api/type-aliases/WindowContentResolver","summary":"Supplies the UI for a window that needs content. Called once per window that needs it. Return a `View`, a `NavigationEntry` or a module name to set the window content, `null` to take ownership and set the content asyn..."},{"name":"WindowRole","kind":"type-alias","url":"/api/type-aliases/WindowRole","summary":"The purpose a window surface serves. - `application` – a regular app window (iOS application scene, Android activity). - `embedded` – a window hosted inside another app or container. - `carplay` – a CarPlay template s..."},{"name":"WindowState","kind":"type-alias","url":"/api/type-aliases/WindowState","summary":"The lifecycle state of a window surface. - `attached` – connected to a live native surface. - `detached` – the native surface went away but the window may be reconnected. - `closed` – permanently torn down."},{"name":"_resetRootView","kind":"variable","url":"/api/variables/_resetRootView"},{"name":"addCss","kind":"variable","url":"/api/variables/addCss"},{"name":"android","kind":"variable","url":"/api/variables/android"},{"name":"androidDynamicElevationOffsetProperty","kind":"variable","url":"/api/variables/androidDynamicElevationOffsetProperty"},{"name":"androidElevationProperty","kind":"variable","url":"/api/variables/androidElevationProperty"},{"name":"androidRegisterBroadcastReceiver","kind":"variable","url":"/api/variables/androidRegisterBroadcastReceiver"},{"name":"AnimationCurve","kind":"variable","url":"/api/variables/AnimationCurve"},{"name":"Application","kind":"variable","url":"/api/variables/Application"},{"name":"autocapitalizationTypeProperty","kind":"variable","url":"/api/variables/autocapitalizationTypeProperty"},{"name":"autocorrectProperty","kind":"variable","url":"/api/variables/autocorrectProperty"},{"name":"backgroundColorProperty","kind":"variable","url":"/api/variables/backgroundColorProperty"},{"name":"backgroundEvent","kind":"variable","url":"/api/variables/backgroundEvent"},{"name":"backgroundImageProperty","kind":"variable","url":"/api/variables/backgroundImageProperty"},{"name":"backgroundInternalProperty","kind":"variable","url":"/api/variables/backgroundInternalProperty"},{"name":"backgroundPositionProperty","kind":"variable","url":"/api/variables/backgroundPositionProperty"},{"name":"backgroundRepeatProperty","kind":"variable","url":"/api/variables/backgroundRepeatProperty"},{"name":"backgroundSizeProperty","kind":"variable","url":"/api/variables/backgroundSizeProperty"},{"name":"borderBottomColorProperty","kind":"variable","url":"/api/variables/borderBottomColorProperty"},{"name":"borderBottomLeftRadiusProperty","kind":"variable","url":"/api/variables/borderBottomLeftRadiusProperty"},{"name":"borderBottomRightRadiusProperty","kind":"variable","url":"/api/variables/borderBottomRightRadiusProperty"},{"name":"borderBottomWidthProperty","kind":"variable","url":"/api/variables/borderBottomWidthProperty"},{"name":"borderLeftColorProperty","kind":"variable","url":"/api/variables/borderLeftColorProperty"},{"name":"borderLeftWidthProperty","kind":"variable","url":"/api/variables/borderLeftWidthProperty"},{"name":"borderRightColorProperty","kind":"variable","url":"/api/variables/borderRightColorProperty"},{"name":"borderRightWidthProperty","kind":"variable","url":"/api/variables/borderRightWidthProperty"},{"name":"borderTopColorProperty","kind":"variable","url":"/api/variables/borderTopColorProperty"},{"name":"borderTopLeftRadiusProperty","kind":"variable","url":"/api/variables/borderTopLeftRadiusProperty"},{"name":"borderTopRightRadiusProperty","kind":"variable","url":"/api/variables/borderTopRightRadiusProperty"},{"name":"borderTopWidthProperty","kind":"variable","url":"/api/variables/borderTopWidthProperty"},{"name":"clipPathProperty","kind":"variable","url":"/api/variables/clipPathProperty"},{"name":"colorProperty","kind":"variable","url":"/api/variables/colorProperty"},{"name":"columnGapProperty","kind":"variable","url":"/api/variables/columnGapProperty"},{"name":"cornerShapeProperty","kind":"variable","url":"/api/variables/cornerShapeProperty"},{"name":"CSSHelper","kind":"variable","url":"/api/variables/CSSHelper"},{"name":"Device","kind":"variable","url":"/api/variables/Device","summary":"Gets the current device information."},{"name":"Dialogs","kind":"variable","url":"/api/variables/Dialogs","summary":"Singular rollup for convenience of all dialog methods"},{"name":"directionProperty","kind":"variable","url":"/api/variables/directionProperty"},{"name":"discardedErrorEvent","kind":"variable","url":"/api/variables/discardedErrorEvent"},{"name":"displayedEvent","kind":"variable","url":"/api/variables/displayedEvent"},{"name":"editableProperty","kind":"variable","url":"/api/variables/editableProperty"},{"name":"Enums","kind":"variable","url":"/api/variables/Enums"},{"name":"exitEvent","kind":"variable","url":"/api/variables/exitEvent"},{"name":"fontFamilyProperty","kind":"variable","url":"/api/variables/fontFamilyProperty"},{"name":"fontInternalProperty","kind":"variable","url":"/api/variables/fontInternalProperty"},{"name":"fontScaleChangedEvent","kind":"variable","url":"/api/variables/fontScaleChangedEvent"},{"name":"fontScaleInternalProperty","kind":"variable","url":"/api/variables/fontScaleInternalProperty"},{"name":"fontSizeProperty","kind":"variable","url":"/api/variables/fontSizeProperty"},{"name":"fontStyleProperty","kind":"variable","url":"/api/variables/fontStyleProperty"},{"name":"fontVariationSettingsProperty","kind":"variable","url":"/api/variables/fontVariationSettingsProperty"},{"name":"fontWeightProperty","kind":"variable","url":"/api/variables/fontWeightProperty"},{"name":"foregroundEvent","kind":"variable","url":"/api/variables/foregroundEvent"},{"name":"getCssFileName","kind":"variable","url":"/api/variables/getCssFileName"},{"name":"getMainEntry","kind":"variable","url":"/api/variables/getMainEntry"},{"name":"getNativeApplication","kind":"variable","url":"/api/variables/getNativeApplication"},{"name":"getResources","kind":"variable","url":"/api/variables/getResources"},{"name":"getRootView","kind":"variable","url":"/api/variables/getRootView"},{"name":"hasLaunched","kind":"variable","url":"/api/variables/hasLaunched"},{"name":"hasListeners","kind":"variable","url":"/api/variables/hasListeners"},{"name":"heightProperty","kind":"variable","url":"/api/variables/heightProperty"},{"name":"hintProperty","kind":"variable","url":"/api/variables/hintProperty"},{"name":"horizontalAlignmentProperty","kind":"variable","url":"/api/variables/horizontalAlignmentProperty"},{"name":"inBackground","kind":"variable","url":"/api/variables/inBackground"},{"name":"ios","kind":"variable","url":"/api/variables/ios"},{"name":"isAndroid","kind":"variable","url":"/api/variables/isAndroid","summary":"Gets a value indicating if the app is running on the Android platform."},{"name":"isApple","kind":"variable","url":"/api/variables/isApple","summary":"Gets a value indicating if the app is running on an Apple platform."},{"name":"isIOS","kind":"variable","url":"/api/variables/isIOS","summary":"Gets a value indicating if the app is running on the iOS platform."},{"name":"isUserInteractionEnabledProperty","kind":"variable","url":"/api/variables/isUserInteractionEnabledProperty"},{"name":"isVisionOS","kind":"variable","url":"/api/variables/isVisionOS","summary":"Gets a value indicating if the app is running on the iOS platform."},{"name":"keyboardTypeProperty","kind":"variable","url":"/api/variables/keyboardTypeProperty"},{"name":"launchEvent","kind":"variable","url":"/api/variables/launchEvent"},{"name":"layoutDirection","kind":"variable","url":"/api/variables/layoutDirection"},{"name":"layoutDirectionChanged","kind":"variable","url":"/api/variables/layoutDirectionChanged"},{"name":"layoutDirectionChangedEvent","kind":"variable","url":"/api/variables/layoutDirectionChangedEvent"},{"name":"letterSpacingProperty","kind":"variable","url":"/api/variables/letterSpacingProperty"},{"name":"lineHeightProperty","kind":"variable","url":"/api/variables/lineHeightProperty"},{"name":"loadAppCss","kind":"variable","url":"/api/variables/loadAppCss"},{"name":"lowMemoryEvent","kind":"variable","url":"/api/variables/lowMemoryEvent"},{"name":"marginBottomProperty","kind":"variable","url":"/api/variables/marginBottomProperty"},{"name":"marginLeftProperty","kind":"variable","url":"/api/variables/marginLeftProperty"},{"name":"marginRightProperty","kind":"variable","url":"/api/variables/marginRightProperty"},{"name":"marginTopProperty","kind":"variable","url":"/api/variables/marginTopProperty"},{"name":"maxHeightProperty","kind":"variable","url":"/api/variables/maxHeightProperty"},{"name":"maxLengthProperty","kind":"variable","url":"/api/variables/maxLengthProperty"},{"name":"maxWidthProperty","kind":"variable","url":"/api/variables/maxWidthProperty"},{"name":"minHeightProperty","kind":"variable","url":"/api/variables/minHeightProperty"},{"name":"minWidthProperty","kind":"variable","url":"/api/variables/minWidthProperty"},{"name":"NativeWindowEvents","kind":"variable","url":"/api/variables/NativeWindowEvents","summary":"Events emitted by a NativeWindow instance."},{"name":"notify","kind":"variable","url":"/api/variables/notify"},{"name":"off","kind":"variable","url":"/api/variables/off"},{"name":"on","kind":"variable","url":"/api/variables/on"},{"name":"opacityProperty","kind":"variable","url":"/api/variables/opacityProperty"},{"name":"orientation","kind":"variable","url":"/api/variables/orientation"},{"name":"orientationChangedEvent","kind":"variable","url":"/api/variables/orientationChangedEvent"},{"name":"paddingBottomProperty","kind":"variable","url":"/api/variables/paddingBottomProperty"},{"name":"paddingInternalProperty","kind":"variable","url":"/api/variables/paddingInternalProperty"},{"name":"paddingLeftProperty","kind":"variable","url":"/api/variables/paddingLeftProperty"},{"name":"paddingRightProperty","kind":"variable","url":"/api/variables/paddingRightProperty"},{"name":"paddingTopProperty","kind":"variable","url":"/api/variables/paddingTopProperty"},{"name":"perspectiveProperty","kind":"variable","url":"/api/variables/perspectiveProperty"},{"name":"placeholderColorProperty","kind":"variable","url":"/api/variables/placeholderColorProperty"},{"name":"platformNames","kind":"variable","url":"/api/variables/platformNames"},{"name":"resetRootView","kind":"variable","url":"/api/variables/resetRootView"},{"name":"resumeEvent","kind":"variable","url":"/api/variables/resumeEvent"},{"name":"returnKeyTypeProperty","kind":"variable","url":"/api/variables/returnKeyTypeProperty"},{"name":"rotateProperty","kind":"variable","url":"/api/variables/rotateProperty"},{"name":"rotateXProperty","kind":"variable","url":"/api/variables/rotateXProperty"},{"name":"rotateYProperty","kind":"variable","url":"/api/variables/rotateYProperty"},{"name":"rowGapProperty","kind":"variable","url":"/api/variables/rowGapProperty"},{"name":"run","kind":"variable","url":"/api/variables/run"},{"name":"scaleXProperty","kind":"variable","url":"/api/variables/scaleXProperty"},{"name":"scaleYProperty","kind":"variable","url":"/api/variables/scaleYProperty"},{"name":"SceneEvents","kind":"variable","url":"/api/variables/SceneEvents"},{"name":"setAutoSystemAppearanceChanged","kind":"variable","url":"/api/variables/setAutoSystemAppearanceChanged"},{"name":"setCssFileName","kind":"variable","url":"/api/variables/setCssFileName"},{"name":"setMaxRefreshRate","kind":"variable","url":"/api/variables/setMaxRefreshRate"},{"name":"setResources","kind":"variable","url":"/api/variables/setResources"},{"name":"suspended","kind":"variable","url":"/api/variables/suspended"},{"name":"suspendEvent","kind":"variable","url":"/api/variables/suspendEvent"},{"name":"systemAppearance","kind":"variable","url":"/api/variables/systemAppearance"},{"name":"systemAppearanceChanged","kind":"variable","url":"/api/variables/systemAppearanceChanged"},{"name":"systemAppearanceChangedEvent","kind":"variable","url":"/api/variables/systemAppearanceChangedEvent"},{"name":"textAlignmentProperty","kind":"variable","url":"/api/variables/textAlignmentProperty"},{"name":"textDecorationProperty","kind":"variable","url":"/api/variables/textDecorationProperty"},{"name":"textOverflowProperty","kind":"variable","url":"/api/variables/textOverflowProperty"},{"name":"textShadowProperty","kind":"variable","url":"/api/variables/textShadowProperty"},{"name":"textStrokeProperty","kind":"variable","url":"/api/variables/textStrokeProperty"},{"name":"textTransformProperty","kind":"variable","url":"/api/variables/textTransformProperty"},{"name":"translateXProperty","kind":"variable","url":"/api/variables/translateXProperty"},{"name":"translateYProperty","kind":"variable","url":"/api/variables/translateYProperty"},{"name":"uncaughtErrorEvent","kind":"variable","url":"/api/variables/uncaughtErrorEvent"},{"name":"unsetValue","kind":"variable","url":"/api/variables/unsetValue","summary":"Value specifying that Property should be set to its initial value."},{"name":"updateTextTriggerProperty","kind":"variable","url":"/api/variables/updateTextTriggerProperty"},{"name":"VALID_FONT_SCALES","kind":"variable","url":"/api/variables/VALID_FONT_SCALES"},{"name":"verticalAlignmentProperty","kind":"variable","url":"/api/variables/verticalAlignmentProperty"},{"name":"visibilityProperty","kind":"variable","url":"/api/variables/visibilityProperty"},{"name":"whiteSpaceProperty","kind":"variable","url":"/api/variables/whiteSpaceProperty"},{"name":"widthProperty","kind":"variable","url":"/api/variables/widthProperty"},{"name":"WindowEvents","kind":"variable","url":"/api/variables/WindowEvents","summary":"Application-level events related to window management."},{"name":"zIndexProperty","kind":"variable","url":"/api/variables/zIndexProperty"},{"name":"_hasPaddingSetNativeOverrides","kind":"function","url":"/api/functions/_hasPaddingSetNativeOverrides"},{"name":"_resolveAnimationCurve","kind":"function","url":"/api/functions/_resolveAnimationCurve"},{"name":"_setResolver","kind":"function","url":"/api/functions/_setResolver"},{"name":"action","kind":"function","url":"/api/functions/action"},{"name":"addTaggedAdditionalCSS","kind":"function","url":"/api/functions/addTaggedAdditionalCSS"},{"name":"addWeakEventListener","kind":"function","url":"/api/functions/addWeakEventListener"},{"name":"alert","kind":"function","url":"/api/functions/alert"},{"name":"animationTimingFunctionConverter","kind":"function","url":"/api/functions/animationTimingFunctionConverter"},{"name":"booleanConverter","kind":"function","url":"/api/functions/booleanConverter"},{"name":"confirm","kind":"function","url":"/api/functions/confirm"},{"name":"CSSType","kind":"function","url":"/api/functions/CSSType"},{"name":"eachDescendant","kind":"function","url":"/api/functions/eachDescendant"},{"name":"fromObject","kind":"function","url":"/api/functions/fromObject"},{"name":"fromObjectRecursive","kind":"function","url":"/api/functions/fromObjectRecursive"},{"name":"getAncestor","kind":"function","url":"/api/functions/getAncestor"},{"name":"getAndroidAccessibilityManager","kind":"function","url":"/api/functions/getAndroidAccessibilityManager"},{"name":"getCurrentFontScale","kind":"function","url":"/api/functions/getCurrentFontScale"},{"name":"getCurrentPage","kind":"function","url":"/api/functions/getCurrentPage"},{"name":"getFileAccess","kind":"function","url":"/api/functions/getFileAccess"},{"name":"getLastFocusedViewOnPage","kind":"function","url":"/api/functions/getLastFocusedViewOnPage"},{"name":"getNativeApp","kind":"function","url":"/api/functions/getNativeApp"},{"name":"getRootLayout","kind":"function","url":"/api/functions/getRootLayout"},{"name":"getRootLayoutById","kind":"function","url":"/api/functions/getRootLayoutById"},{"name":"getTransformedText","kind":"function","url":"/api/functions/getTransformedText"},{"name":"getViewById","kind":"function","url":"/api/functions/getViewById"},{"name":"isAccessibilityServiceEnabled","kind":"function","url":"/api/functions/isAccessibilityServiceEnabled"},{"name":"isEmbedded","kind":"function","url":"/api/functions/isEmbedded"},{"name":"login","kind":"function","url":"/api/functions/login"},{"name":"makeParser","kind":"function","url":"/api/functions/makeParser"},{"name":"makeValidator","kind":"function","url":"/api/functions/makeValidator"},{"name":"parseCSSShadow","kind":"function","url":"/api/functions/parseCSSShadow"},{"name":"parseCSSStroke","kind":"function","url":"/api/functions/parseCSSStroke"},{"name":"parseKeyframeDeclarations","kind":"function","url":"/api/functions/parseKeyframeDeclarations"},{"name":"profile","kind":"function","url":"/api/functions/profile"},{"name":"profilingDisable","kind":"function","url":"/api/functions/profilingDisable"},{"name":"profilingDumpProfiles","kind":"function","url":"/api/functions/profilingDumpProfiles"},{"name":"profilingEnable","kind":"function","url":"/api/functions/profilingEnable"},{"name":"profilingIsRunning","kind":"function","url":"/api/functions/profilingIsRunning"},{"name":"profilingResetProfiles","kind":"function","url":"/api/functions/profilingResetProfiles"},{"name":"profilingStart","kind":"function","url":"/api/functions/profilingStart"},{"name":"profilingStartCPU","kind":"function","url":"/api/functions/profilingStartCPU"},{"name":"profilingStop","kind":"function","url":"/api/functions/profilingStop"},{"name":"profilingStopCPU","kind":"function","url":"/api/functions/profilingStopCPU"},{"name":"profilingTime","kind":"function","url":"/api/functions/profilingTime"},{"name":"profilingUptime","kind":"function","url":"/api/functions/profilingUptime"},{"name":"prompt","kind":"function","url":"/api/functions/prompt"},{"name":"PseudoClassHandler","kind":"function","url":"/api/functions/PseudoClassHandler"},{"name":"querySelectorAll","kind":"function","url":"/api/functions/querySelectorAll"},{"name":"removeTaggedAdditionalCSS","kind":"function","url":"/api/functions/removeTaggedAdditionalCSS"},{"name":"removeWeakEventListener","kind":"function","url":"/api/functions/removeWeakEventListener"},{"name":"resolveFileNameFromUrl","kind":"function","url":"/api/functions/resolveFileNameFromUrl"},{"name":"sendAccessibilityEvent","kind":"function","url":"/api/functions/sendAccessibilityEvent"},{"name":"setActivityCallbacks","kind":"function","url":"/api/functions/setActivityCallbacks"},{"name":"setNativeApp","kind":"function","url":"/api/functions/setNativeApp"},{"name":"timeConverter","kind":"function","url":"/api/functions/timeConverter"},{"name":"updateAccessibilityProperties","kind":"function","url":"/api/functions/updateAccessibilityProperties"}]} \ No newline at end of file diff --git a/package.json b/package.json index ff4a2542..df690486 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "update-theme": "node ./.vitepress/update-theme.mjs" }, "devDependencies": { - "@nativescript/core": "^9.0.20", + "@nativescript/core": "9.1.0", "@nativescript/vitepress-theme": "https://docs.nativescript.org/__/vitepress-theme.tgz?1743004879934", "@types/node": "18.11.9", "npm-run-all": "^4.1.5", diff --git a/yarn.lock b/yarn.lock index e6340c10..509cc4b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -416,10 +416,10 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@nativescript/core@^9.0.20": - version "9.0.20" - resolved "https://registry.yarnpkg.com/@nativescript/core/-/core-9.0.20.tgz#3ed43c6652d6bdd9454483410e05c67ae11e5f6f" - integrity sha512-zx+4mGO6aUCeVIV3c6x+b3H+ZTBJAvHAYqtjpOYJGiPZc0AG3OwVzXhp4qyAteWha8cnFFHU5+trnve9O0q2xg== +"@nativescript/core@9.1.0": + version "9.1.0" + resolved "https://registry.yarnpkg.com/@nativescript/core/-/core-9.1.0.tgz#3399cf9d00cb8e7272047258dab613b9a69d81cf" + integrity sha512-3aXJ3Xh69aLtpplACdKL1OUesjYCj0PGv7M8PNIZfQHoZLVF7d0piFl2wFABph00bGDBXop7OQmUsuW7Bht3OA== dependencies: "@csstools/css-calc" "~2.1.4" "@csstools/css-color-parser" "^3.0.10"