1.0.1 • Published 7 years ago
vue-dealwithit v1.0.1
dealwithit
Set the sizePercentage attribute (default = 100)
To display, run:
vm.displayAt = {top: 30, left: 40};As webcomponent:
<script src="https://unpkg.com/vue"></script>
<script src="./deal-with-it.js"></script>
<deal-with-it id="your-id" size-percentage="150"></deal-with-it>
document.getElementById('your-id').displayAt = {top: 10, left: 30};To hide, click the shades
Project setup
yarn installCompiles and hot-reloads for development
yarn run serveCompiles and minifies for production
yarn run buildBuild web component
vue build --target wc --name deal-with-it ./src/web-component.jsRun your tests
yarn run testLints and fixes files
yarn run lint