0.1.1 • Published 2 years ago

vue-twcaseal v0.1.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

TWCASeal non-official vue2 package

This component simplifies twcaseal.js use in vue project.

Install

npm i vue-twcaseal

How to use

// in main.js
import VueTwcaSeal from 'vue-twcaseal'
// ...
Vue.use(VueTwcaSeal, '<your site common name>')
// ...
<!-- in template -->
<twca-seal version="v3" logo-type="SMALL" :src="<your twcaseal image uri>"></twca-seal>

Configuration

description
versiontwcaseal version. support v3, v4. default: v4
logo-typetwcaseal logo size. support MINI, SMALL. default: MINI
srcput your twcaseal gif file

Warning

This component may not work if twcaseal.js is changed by the authorities.