LIFF Snippets
The LIFF (LINE Front-end Framework) v1 Code Snippets.
Snippets Included
This extension contains a set of LIFF code snippets that helps LIFF app developers write code faster.
TypeScript/JavaScript snippets
liff-init: Initialize LIFF.
liff-init-profile: Initialize LIFF and getProfile.
liff-getProfile: Get user profile.
liff-sendMessages: Send TEXT messages to the room.
liff-sendMessages-image: Send IMAGE messages to the room.
liff-sendMessages-location: Send LOCATION messages to the room.
liff-openWindow: Open a new window internally or externally.
liff-closeWindow: Close current LIFF app.
TypeScript-only snippets
liff-tsd: Generates TypeScript declaration files for LIFF JS SDK.
HTML snippets
liffsdk: Insert LIFF JS SDK into HTML.
Enjoy!
| |