3.0.0 • Published 3 years ago

ember-safe-button v3.0.0

Weekly downloads
43
License
MIT
Repository
gitlab
Last release
3 years ago

ember-safe-button logo

ember-safe-button

Provides a button for potentially dangerous actions that better needs a confirmation. First click unlocks the fuse, second then confirms. If no confirmation is provided, then the button returns the safety in place after a timeout.

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v12 or above

Installation

ember install ember-safe-button

Usage

Minimal example:

<SafeButton
  @message="delete"
  @onConfirm={{this.safeButtonClicked}}
/>

Which will produce:

Example

Documentation

For many more examples and API design see ember-safe-button documentation website.

Contributing

See the Contributing guide for details.

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Contributors

License

This project is licensed under the MIT License.

Attribution

3.0.0

3 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago