diff --git a/README.md b/README.md index 08f95f5..62469d2 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,8 @@ In `.tsconfig`, add `liff-type` to `types` in `compilerOptions` "types": ["liff-type"] } } -``` \ No newline at end of file +``` + +In your code, you can access `liff` directly as global variable without window! + +![example](doc/example.png) diff --git a/doc/example.png b/doc/example.png new file mode 100644 index 0000000..c53663f Binary files /dev/null and b/doc/example.png differ