1.1.1 • Published 2 years ago
lesca-line-share v1.1.1
Why use it?
easy share url to line.
Live Demo
Installation
npm install lesca-line-share --saveUsage
As a Node module:
import Line from 'lesca-line-share';
// add on user-triggered event
function clicked() {
Line.share('https://github.com/jameshsu1125/lesca-line-share', 'your message');
}
<button onClick={clicked}>Share to line</button>;Development
Methods
| method | description | return |
|---|---|---|
| .share(url:string, message:string) | share to line | void |
Features
- maintain if necessary