Directory

fly-out - Vaadin Add-on Directory

A fly out menu fly-out - Vaadin Add-on Directory
# <fly-out> A fly-out (aka drop-down) menu with the following features: * Written in light-weight plain JavaScript; no framework dependencies. * Accessibility is a primary goal. ## Usage / Install Use directly from unpkg: ```html ``` ## Customize ### Content The content for the fly-out button can be provided 2 ways. The first is to use the `button` slot. The following shows this usage: ```html @person ``` As shown above, when you want to customize the button contents you need to add 2 named slots: * `slot=button`: Used to set the contents of the button. * `slot=menu`: Used to set the contents of the (initially) hidden menu. If all you need is text you can use the __label__ attribute, in which case no named slots are necessary: ```html ``` ### Alignment By default the dropdown will be aligned to the *left* of the button. If you would like it to be aligned to the right, such as if your button is all the way to the right end of the screen, use the `align` attribute: ```html
  • Item 1
  • Item 2
``` ### Styling The `
View on NPM
View on GitHub

fly-out version 1.0.0
### Dependencies

fly-out version 1.0.1
### Dependencies

fly-out version 1.1.0
### Dependencies

fly-out version 1.2.0
### Dependencies

fly-out version 1.2.1
### Dependencies