Socket
Socket
Sign inDemoInstall

@triptyk/ember-actions-menu

Package Overview
Dependencies
522
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @triptyk/ember-actions-menu

Easy tailwindcss actions menu in Ember.JS


Version published
Weekly downloads
28
decreased by-72.82%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

ember-modal

This addon will give you a simple menu with visibility toggle

Compatibility

  • Ember.js v4.6 or above
  • Ember CLI v4.6 or above
  • Node.js v18 or above
  • You need tailwind v2 or above to use this simple textarea

Installation

ember install @triptyk/ember-actions-menu

OR

pnpm add -D @triptyk/ember-actions-menu

Usage

Features
  • Actions menu, visibility is toggled by a button
  • Close on ESC key press or click outside.
  • Customatizable Action.
Integration example

Arguments :

  • @classless : Disable generated css classes

Yielded Component:

Action:
	Arguments:
		- action: The function triggered when the action is clicked
		- icon: src of an image that would be displayed to the left of the action button
  <TpkActionsMenu
    @classless={{false}}
		as |Action|
  >
		<Action
			@icon={{this.iconSrc}}
			@action={{this.action}}
		>
			ActionText
		</Action>
	</TpkActionsMenu>

Structure of the component (Emmet like)

  • ActionsMenu
    • button.open_actions -img
    • ul - Action

Contributing

See the Contributing guide for details. You can also contact info@triptyk for more informations on how contributing on this project.

License

This project is licensed under the MIT License.

Keywords

FAQs

Last updated on 19 Sep 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc