0.3.4 • Published 13 days ago
gameos-jackpot-widget v0.3.4
GameOS Jackpot Widgets
Usage:
Attributes:
widget-data: String
- It should be provided as string, you can stringify it byJSON.stringify()
method. </ br> Structure example:[ { title: "Major Jackpot 1", theme: "green-light", size: "large", type: "1" } ... ]
;client-coded-data: ASCII string
- Client data in Base64 encoding. You can usebtoa()
method As example: client_id = "test_id", client_secret = "kldfgnLKNnklgnlanlNlkn", partner_id = "test_partner_id"; Decoded: "test_id:kldfgnLKNnklgnlanlNlkn:test_partner_id" -> Encoded: dGVzdF9pZDprbGRmZ25MS05ua2xnbmxhbmxObGtuOlNreVNvZnRUZWNo;partner-id: String
;provider: String
;game-name: String
;player-id: String
: Current player id.
Example usage:
Import package:
import 'gos-widgets'
Pass attributes:
<widgets-container
widget-data={JSON.stringify(WIDGETS_DATA)}
client-coded-data={btoa('gUygaofegNuVeRpe1il0NGiNMG51MapSwDnlaozf:2kIatuyNo6W45p5WpGtee8W3GWSg8L0wVgP3nF9qiGVKk96X8EtpxVAJRWLSkpWV2AGD4VT09tWOaF456piLWd6uVTgxMadqV3iW1VNcQ0XJugB5SvH9eg35xLHMiiJM:Partner_id')}
partner-id='Partner_id'
provider='Test'
game-name='Casino'
player-id='k32hsv9s-jooo-90x2-0xi2-ica9123ljjsq'
>
</widgets-container>
0.3.4
13 days ago
0.3.3
13 days ago
0.3.2
14 days ago
0.3.0
22 days ago
0.3.1
21 days ago
0.2.9
28 days ago
0.2.8
29 days ago
0.2.7
1 month ago
0.2.6
1 month ago
0.2.5
2 months ago
0.2.4
2 months ago
0.2.3
2 months ago
0.2.2
2 months ago
0.2.1
2 months ago
0.2.0
2 months ago
0.1.8
2 months ago
0.1.9
2 months ago
0.1.7
2 months ago
0.1.6
2 months ago
0.1.5
2 months ago
0.1.4
2 months ago
0.1.2
3 months ago
0.1.3
3 months ago
0.1.1
3 months ago
0.1.0
3 months ago
0.0.9
3 months ago
0.0.8
3 months ago
0.0.7
3 months ago
0.0.6
3 months ago
0.0.5
3 months ago
0.0.3
3 months ago
0.0.4
3 months ago
0.0.2
3 months ago
0.0.1
3 months ago