Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/visma-meglerfront/sweet-modal-vue

The sweetest library to happen to modals.
https://github.com/visma-meglerfront/sweet-modal-vue

dialog library modal sweet sweet-modal vue vue-components

Last synced: 27 days ago
JSON representation

The sweetest library to happen to modals.

Awesome Lists containing this project

README

        

# SweetModal

The sweetest library to happen to modals.
Now available for Vue.js.

## Usage

Install SweetModal for Vue.js through npm:

```
npm install sweet-modal-vue
```

## Examples

For examples, refer to [the demo page](http://sweet-modal-vue.adepto.as).

## Browser Compatibility

SweetModal should work in most major browsers:

- Safari 9+
- Firefox 20+
- Chrome 20+
- Opera 15+
- Microsoft Edge

## Contribution

1. Fork the repository
2. Run `npm install`
3. Run `npm run dev` and start hacking. You can reach the example site at `http://localhost:8081`.
4. When you're done, run one final `npm run build` command and commit your work for a pull request.

### Guidelines

- tabs for indentation, 1 tab = 4 spaces
- camelCase method names
- _camelCase for private methods
- snake_case computed properties
- snake_case data
- kebab-case attributes
- arrow functions if possible
- be fully ES6 compliant!