tkst-line
v1.0.1
Published
'Line' Button tag component for riot.js.
Downloads
3
Readme
tkst-line
"Line" Button tag component for riot.js.
It is displayed only in the case of mobile
Use
$ npm install tkst-line --save
Markup
<tkst-line message="takusuta :) https://takusuta.com" image="./linebutton_82x20.png"></tkst-line>
<script src="..../riot.min.js"></script>
<script src="..../tkst-line.min.js"></script>
<script>
riot.mount('tkst-line');
</script>
or
<tkst-line></tkst-line>
<script src="..../riot.min.js"></script>
<script src="..../tkst-line.min.js"></script>
<script>
riot.mount('tkst-line', {
message: "takusuta :) https://takusuta.com",
image: "./linebutton_82x20.png"
});
</script>
Options
message
: Message string to be sent to the LINEimage
: Image filepath of LINE Button
Demo
$ open ./demo/index.html
Develop
Build
$ npm install gulp
$ npm install .
$ gulp compress
Watch
$ gulp
Test
node.js
$ npm test
LICENSE
@see : LICENSE