8.7 released—WinterCG Compliance Part 1
Learn more
ShorthandProperty

Summary

Constructors

constructor

new ShorthandProperty<T, P>(options: ShorthandPropertyOptions<P>): ShorthandProperty<T, P>
Parameter Default Description
options
ShorthandPropertyOptions<P>

Returns ShorthandProperty<T, P>

Properties

cssLocalName

Readonly

cssName

Readonly

cssValueDescriptor

ProtectedReadonly
cssValueDescriptor: PropertyDescriptor

localValueDescriptor

ProtectedReadonly
localValueDescriptor: PropertyDescriptor

propertyBagDescriptor

ProtectedReadonly
propertyBagDescriptor: PropertyDescriptor

sourceKey

Readonly

Methods

register

register(cls: typeof Style): void
Parameter Default Description
cls
typeof Style

Returns void