Types
Import these from @grafloria/angular.
Types
AnimationPreset
Also has every member of String, listed on its own entry.
Animation preset
tstype AnimationPreset = 'none' | 'fade' | 'slide' | 'scale' | 'bounce';
EffectiveToolbarConfig
Also has every member of NodeToolbarConfig, listed on its own entry.
Effective configuration type with all required properties except template
tstype EffectiveToolbarConfig = Required<Omit<NodeToolbarConfig, 'template'>> & { template?: TemplateRef<any> };
Properties
| Name | Type | Default | Description |
|---|---|---|---|
template? | TemplateRef<any> |
PositioningStrategy
Also has every member of String, listed on its own entry.
Positioning strategy
- auto: Smart positioning with boundary detection (default)
- fixed: Fixed position relative to node, no boundary detection
- follow: Follow node in real-time as it moves
- sticky: Stick to viewport edge when node scrolls off-screen
tstype PositioningStrategy = 'auto' | 'fixed' | 'follow' | 'sticky';
ToolbarAlignment
Also has every member of String, listed on its own entry.
tstype ToolbarAlignment = 'start' | 'center' | 'end';
ToolbarPosition
Also has every member of String, listed on its own entry.
tstype ToolbarPosition = 'top' | 'bottom' | 'left' | 'right';
ToolbarPresetName
Also has every member of String, listed on its own entry.
tstype ToolbarPresetName = keyof typeof TOOLBAR_PRESETS;
Was this page helpful?