- Preparing search index...
- The search index is not available
TESSA Web API
Class ShadowPropsContainer<T>
Constructors
constructor
- new ShadowPropsContainer<T>(target: T): ShadowPropsContainer<T>
-
Methods
add
- add<P>(propName: P, func: ShadowPropsFunc<T, P>, opt?: Partial<ShadowPropsOptions>): VoidFunction
-
Type Parameters
-
P extends string | number | symbol
Returns VoidFunction
dispose
- dispose(): void
-
Returns void
get
- get<P>(propName: P, defaultValue: T[P]): T[P]
-
Type Parameters
-
P extends string | number | symbol
Parameters
-
propName: P
-
defaultValue: T[P]
Returns T[P]
getItems
- getItems<P>(propName: P): null | ShadowPropsContainerItem<T, P>[]
-
Type Parameters
-
P extends string | number | symbol