
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
ember-floating-mobile-buttons
Advanced tools
Stylish and easy to use Ember floating buttons.
More information in the demo site.
ember install ember-floating-mobile-buttons
Define a simple floating button.
{{#floating-mobile-buttons}}
<a href>{{fa-icon "pencil"}}</a>
{{/floating-mobile-buttons}}
You can additionally define child buttons which will be display grouped by the parent button.
{{#floating-mobile-buttons position="bottom right"}}
{{#floating-mobile-child-buttons label="Add Item"}}
<a href>{{fa-icon "user"}}</a>
{{/floating-mobile-child-buttons}}
{{#floating-mobile-child-buttons label="Remove Item"}}
<a href>{{fa-icon "trash-o"}}</a>
{{/floating-mobile-child-buttons}}
{{#floating-mobile-child-buttons label="Edit Item"}}
<a href>{{fa-icon "pencil"}}</a>
{{/floating-mobile-child-buttons}}
{{/floating-mobile-buttons}}
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.
{{#floating-mobile-buttons as |toggleChildren|}}
{{#floating-mobile-child-buttons label="Add Item"}}
<a href {{action toggleChildren}}>{{fa-icon "user"}}</a>
{{/floating-mobile-child-buttons}}
{{/floating-mobile-buttons}}
As seen in the examples above, you can combine it with your own icon library.
The fixed position of the floating button.
The available list por position:
ember servenpm test (Runs ember try:each to test your addon against multiple Ember versions)ember testember test --serverember buildFor more information on using ember-cli, visit https://ember-cli.com/.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.