@totalflow4/tfsweet-modal-vue

1.0.8 • Public • Published

TotalFlow-SweetModal

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

Usage

Install TotalFlow-SweetModal for Vue.js through npm:

npm install @totalflow4/tfsweet-modal-vue

Examples

###Install Globally:

import SweetModal from '@totalflow4/tfsweet-modal-vue/src/plugin.js'

Vue.use(SweetModal)

###Install per Component:

import { SweetModal, SweetModalTab } from 'tfsweet-modal-vue'

components: {

SweetModal,

SweetModalTab

}

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
  • kebap-case attributes
  • arrow functions if possible
  • be fully ES6 compliant!

Readme

Keywords

none

Package Sidebar

Install

npm i @totalflow4/tfsweet-modal-vue

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

2.7 MB

Total Files

34

Last publish

Collaborators

  • totalflow4