Paratii-Video / paratii-player

Probably the world's 1st in-player token wallet (v0.0.1 of the Paratii embeddable web player).
http://paratii.video
GNU General Public License v3.0
41 stars 11 forks source link

376 - Main loader #381

Closed jrgarou closed 6 years ago

jrgarou commented 6 years ago

Following the guide on https://github.com/Paratii-Video/paratii-player/issues/376

showLoader(phrases)

_**Note:** You still can set only a string: `showLoader('Show loader on app')`_

![mainloader01](https://user-images.githubusercontent.com/320157/33967538-0251b938-e04b-11e7-8560-da1893840e5f.gif)

* ### Items list on top if receive a second array
**Usage:** 
```javascript 
let phrases = ['Your phrase one', 'Your phrase two', 'Your phrase three']
let items =  ['<strong>Your item</strong> here', 'Then you can add <strong>other item</strong> here', 'Another <strong>item</strong> here']

showLoader(phrases, items)

mainloader02