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

Type Parameters ​

Type Parameter
T extends Style
P

Implements ​

  • ShorthandProperty<T, P>

Constructors ​

Constructor ​

ts
new ShorthandProperty<T, P>(options: ShorthandPropertyOptions<P>): ShorthandProperty<T, P>;

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

Parameters ​

ParameterType
optionsShorthandPropertyOptions<P>

Returns ​

ShorthandProperty<T, P>

Properties ​

cssLocalName ​

ts
readonly cssLocalName: string;

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

Implementation of ​

ts
ShorthandProperty.cssLocalName

cssName ​

ts
readonly cssName: string;

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

Implementation of ​

ts
ShorthandProperty.cssName

cssValueDescriptor ​

ts
protected readonly cssValueDescriptor: PropertyDescriptor;

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

Implementation of ​

ts
ShorthandProperty.cssValueDescriptor

key ​

ts
readonly key: symbol;

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

Implementation of ​

ts
ShorthandProperty.key

localValueDescriptor ​

ts
protected readonly localValueDescriptor: PropertyDescriptor;

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

Implementation of ​

ts
ShorthandProperty.localValueDescriptor

name ​

ts
readonly name: string;

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

Implementation of ​

ts
ShorthandProperty.name

sourceKey ​

ts
readonly sourceKey: symbol;

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

Implementation of ​

ts
ShorthandProperty.sourceKey

Methods ​

register() ​

ts
register(cls: typeof Style): void;

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

Parameters ​

ParameterType
clstypeof Style

Returns ​

void

Implementation of ​

ts
ShorthandProperty.register
Next
Slider