Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micnews/deku-youtube-subscribe-button
YouTube subscribe button deku component
https://github.com/micnews/deku-youtube-subscribe-button
Last synced: about 2 months ago
JSON representation
YouTube subscribe button deku component
- Host: GitHub
- URL: https://github.com/micnews/deku-youtube-subscribe-button
- Owner: micnews
- Created: 2015-12-03T13:20:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T16:41:32.000Z (over 8 years ago)
- Last Synced: 2024-04-14T22:46:18.742Z (9 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 4
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-deku - deku-youtube-subscribe-button - YouTube subscribe button for deku. (Components)
README
# deku-youtube-subscribe-button
YouTube subscribe button for [deku](https://github.com/dekujs/deku). Docs https://developers.google.com/youtube/youtube_subscribe_button.
## Usage
```shell
npm install deku-youtube-subscribe-button
```Requires youtube script added to the page **and loaded before the deku-script**:
```html
```
```js
import YoutubeSubscribeButton from 'deku-youtube-subscribe-button';export function render () {
return ;
}
```### Attributes
#### channel-id
YouTube channel ID