mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
update toolbar docs (#3423)
This commit is contained in:
parent
d4f57b8786
commit
2bba93d80e
@ -80,6 +80,28 @@ You can divide groups of elements with a visual separator `<adf-toolbar-divider>
|
||||
</adf-toolbar>
|
||||
```
|
||||
|
||||
### Spacer
|
||||
|
||||
You can provide a separate element with `adf-toolbar--spacer` class name
|
||||
to fill the empty space and move the content to the right of the toolbar if needed:
|
||||
|
||||
```html
|
||||
<adf-toolbar>
|
||||
<adf-toolbar-title>
|
||||
...
|
||||
<adf-toolbar-title>
|
||||
|
||||
<div class="adf-toolbar--spacer"></div>
|
||||
|
||||
<button></button>
|
||||
<adf-toolbar-divider></adf-toolbar-divider>
|
||||
<button></button>
|
||||
</adf-toolbar>
|
||||
```
|
||||
|
||||
In the example above, the toolbar title element is rendered to the left,
|
||||
but all the buttons are pushed to the right side.
|
||||
|
||||
### Dropdown menu
|
||||
|
||||
You can use the following example to create a dropdown menu:
|
||||
|
Loading…
x
Reference in New Issue
Block a user