Skip to content

Commit 493ee02

Browse files
Update README.md
1 parent 8318396 commit 493ee02

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,60 @@ npm run serve
8080
```
8181
8. Enjoy! 🎉
8282

83+
-------------
84+
85+
### Props
86+
87+
##### `apiKey`
88+
API key from Google API Console
89+
90+
*Type:* String
91+
*Required:* true
92+
93+
##### `channelId`
94+
ID of Youtube channel
95+
96+
*Type:* String
97+
*Required:* true
98+
99+
##### `resultsPerRequest`
100+
Number of requested videos per request
101+
102+
*Type:* Number
103+
*Required:* false
104+
*Default:* 1
105+
106+
##### `subscribersCountToFixed`
107+
The number of digits to appear after the decimal point in subscribers count
108+
109+
*Type:* Number
110+
*Required:* false
111+
*Default:* 1
112+
113+
##### `subscribersCountToFixed`
114+
The number of digits to appear after the decimal point in subscribers count
115+
116+
*Type:* Number
117+
*Required:* false
118+
*Default:* 1
119+
120+
##### `subscribersCountText`
121+
"subscribers" word replacement for localized text using vue-i18n
122+
123+
*Type:* String
124+
*Required:* false
125+
*Default:* "subscribers"
126+
127+
##### `subscribeBtnText`
128+
"Subscribe" word replacement in "Subscribe" button for localized text using vue-i18n
129+
130+
*Type:* String
131+
*Required:* false
132+
*Default:* "Subscribe"
133+
134+
##### `loadMoreBtnText`
135+
"Load more" word replacement in "Load more" button for localized text using vue-i18n
136+
137+
*Type:* String
138+
*Required:* false
139+
*Default:* "Load more"

0 commit comments

Comments
 (0)