s2w-ui
v0.0.5
Published
UI library based on native JavaScript
Downloads
2
Readme
s2w-ui
UI library based on native JavaScript
Install
npm install s2w-ui -S
On demand import
import {
$loading
$radio
} from 's2w-ui'
// or
const {
$loading
$radio
} = require('s2w-ui')
// ui
import 's2w-ui/style/loading.css'
import 's2w-ui/style/radio.css'
// use
$loading()
$radio()
Complete introduction
import s2wUI from 's2w-ui'
// or
const s2wUI = require('s2w-ui')
// ui
import 's2w-ui/style/index.css'
// use
s2wUI.$XXX()
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style/index.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/script/index.js"></script>
s2wUI.$XXX()
// or
s2w.$XXX()