mirror of
https://github.com/Xevion/glance.git
synced 2026-01-31 02:24:25 -06:00
Merge pull request #76 from fawni/feat/twitch-channels-sort
Add custom sorting to the twitch channels widget
This commit is contained in:
@@ -1068,6 +1068,7 @@ Preview:
|
||||
| ---- | ---- | -------- | ------- |
|
||||
| channels | array | yes | |
|
||||
| collapse-after | integer | no | 5 |
|
||||
| sort-by | string | no | viewers |
|
||||
|
||||
##### `channels`
|
||||
A list of channels to display.
|
||||
@@ -1075,6 +1076,9 @@ A list of channels to display.
|
||||
##### `collapse-after`
|
||||
How many channels are visible before the "SHOW MORE" button appears. Set to `-1` to never collapse.
|
||||
|
||||
##### `sort-by`
|
||||
Can be used to specify the order in which the channels are displayed. Possible values are `viewers` and `live`.
|
||||
|
||||
### Twitch top games
|
||||
Display a list of games with the most viewers on Twitch.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user