NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in

Defined in: ui/core/properties/index.ts

Extended by ​

Type Parameters ​

Type Parameter
T extends ViewBase
U

Implements ​

  • TypedPropertyDescriptor<U>
  • Property<T, U>

Constructors ​

Constructor ​

ts
new Property<T, U>(options: PropertyOptions<T, U>): Property<T, U>;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
optionsPropertyOptions<T, U>

Returns ​

Property<T, U>

Properties ​

configurable ​

ts
configurable: boolean;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
TypedPropertyDescriptor.configurable

defaultValue ​

ts
readonly defaultValue: U;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.defaultValue

defaultValueKey ​

ts
readonly defaultValueKey: symbol;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.defaultValueKey

enumerable ​

ts
enumerable: boolean;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
TypedPropertyDescriptor.enumerable

get ​

ts
get: () => U;

Defined in: ui/core/properties/index.ts

Returns ​

U

Implementation of ​

ts
TypedPropertyDescriptor.get

getDefault ​

ts
readonly getDefault: symbol;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.getDefault

isStyleProperty ​

ts
isStyleProperty: boolean;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.isStyleProperty

key ​

ts
readonly key: symbol;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.key

name ​

ts
readonly name: string;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.name

nativeValueChange ​

ts
readonly nativeValueChange: (owner: T, value: U) => void;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
ownerT
valueU

Returns ​

void

Implementation of ​

ts
Property.nativeValueChange

overrideHandlers ​

ts
overrideHandlers: (options: PropertyOptions<T, U>) => void;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
optionsPropertyOptions<T, U>

Returns ​

void

Implementation of ​

ts
Property.overrideHandlers

set ​

ts
set: (value: U) => void;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
valueU

Returns ​

void

Implementation of ​

ts
TypedPropertyDescriptor.set

setNative ​

ts
readonly setNative: symbol;

Defined in: ui/core/properties/index.ts

Implementation of ​

ts
Property.setNative

Methods ​

isSet() ​

ts
isSet(instance: T): boolean;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
instanceT

Returns ​

boolean

Implementation of ​

ts
Property.isSet

register() ​

ts
register(cls: {
  prototype: T;
}): void;

Defined in: ui/core/properties/index.ts

Parameters ​

ParameterType
cls{ prototype: T; }
cls.prototypeT

Returns ​

void

Implementation of ​

ts
Property.register
Previous
Progress