Installation
ember install ember-floating-mobile-buttons
Usage
Define a simple floating button.
You can additionally define child buttons which will be display grouped by the parent button.
The floating-mobile-buttons
component yields the clousure action toggleChildren
so you are able to use it in your child components to toggle the child button group.
As seen in the example above, you can combine it with you own icons.
Properties
Position
The fixed position of the floating button.
The available list por position:
- bottom right (default)
- bottom left
- top right
- top left
Running
ember serve
- Visit your app at http://localhost:4200.
Running tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.