t-checkbox

0.2.0 • Public • Published

t-checkbox

Vue checkbox wrapper

Usage

install package: npm install t-checkbox

import & register Vue component like this:

var Vue = require("vue"),
    TChexkbox = require("t-checkbox");

Vue.component("t-checkbox", TCheckbox);

or import checkbox.js file in your html head tag

<script src="/path/to/checkbox.js"></script>

additionally you can use default style by importing checkbox.css file

<link rel="stylesheet" href="/path/to/checkbox.css">

after that you can use vue component in your vue template

example

<label for="test">Click to check</label>
<t-checkbox c-id="test" v-model="myModel"></t-checkbox>

Readme

Keywords

none

Package Sidebar

Install

npm i t-checkbox

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

5.58 kB

Total Files

7

Last publish

Collaborators

  • tabatadze