API / geotoolkit / controls / toolbar / Toolbar / Toolbar
Type Aliases
Type Aliases
Ƭ Options: Object
toolbar options
| Name | Type | Description |
|---|---|---|
alignment? | AnchorType | canvas point to which the toolbar is attached |
border? | string | toolbar buttons css-styled border (e.g. "1px black solid" for solid border style) |
borderradius? | number | toolbar element border radius (in px) |
buttons? | (Button[] | Button | string)[] | toolbar buttons or its string identifier (see geotoolkit.controls.toolbar.ButtonRegistry.getInstance().getIds() for all the buttons available) |
classname? | string | toolbar css class name |
color? | string | css-styled toolbar buttons background color |
element? | HTMLElement | html dom element to use as the tooltip (instead of the new one creating by default) |
fontsize? | number | toolbar buttons font size |
gap? | number | gap size (in px) between buttons |
node? | CompositeNode | - |
offset? | number | Dimension | Point | { x: number ; y: number } | toolbar offset (in pixel) |
orientation? | Orientation | toolbar orientation (vertical/horizontal) |
size? | number | toolbar buttons size (in pixel) |
tools | ToolsContainer | plot tools container to add toolbar to |