type WithPreset
Type definition for an extended view composite class, result of ViewComposite.withPreset().
static
type WithPreset<TPreset, TContent extends any[], TBodyView extends View, TObject> = { new (preset?: TPreset & { variant?: ViewCompositeVariant<TPreset, TObject>; }, ...content: TContent): ViewComposite<TBodyView> & TObject; preset(preset?: TPreset & { variant?: ViewCompositeVariant<TPreset, TObject>; }, ...content: TContent): { new (): ViewComposite<TBodyView> & TObject; }; }
Related
- class ViewComposite abstractA class that encapsulates a dynamic view.