This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@triptyk/ember-actions-menu

1.0.0-beta.18 • Public • Published

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.

Package Sidebar

Install

npm i @triptyk/ember-actions-menu

Weekly Downloads

83

Version

1.0.0-beta.18

License

MIT

Unpacked Size

10.7 kB

Total Files

16

Last publish

Collaborators

  • amauryd
  • dramixdw
  • remadex
  • tcdp
  • vesass