twitter-button:Twitter按钮作为Web组件

时间:2021-02-14 13:46:47
【文件属性】:
文件名称:twitter-button:Twitter按钮作为Web组件
文件大小:59KB
文件格式:ZIP
更新时间:2021-02-14 13:46:47
twitter web-components TypeScript 推特按钮 Twitter按钮作为Web组件。 安装 使用npm: $ npm install twitter-button 用法 导入和注册脚本。 < script type =" module " > import { TwitterFollowButton } from 'https://unpkg.com/twitter-button/dist/twitter-follow-button.js' ; import { TwitterHashtagButton } from 'https://unpkg.com/twitter-button/dist/twitter-hashtag-button.js' ; import { TwitterMentionButton } from 'https://unpkg.com/twitter-button/dist/twitter-men
【文件预览】:
twitter-button-master
----.gitignore(17B)
----package.json(1KB)
----package-lock.json(179KB)
----src()
--------twitter-follow-button.ts(2KB)
--------twitter-mention-button.ts(2KB)
--------twitter-hashtag-button.ts(3KB)
--------index.ts(254B)
--------twitter-share-button.ts(3KB)
----tsconfig.json(356B)
----.github()
--------workflows()
----license(1KB)
----index.html(6KB)
----readme.md(2KB)
----.npmignore(12B)
----test()
--------twitter-hashtag-button.test.ts(218B)
--------twitter-mention-button.test.ts(218B)
--------twitter-follow-button.test.ts(214B)
--------twitter-share-button.test.ts(210B)
----.editorconfig(213B)

网友评论