mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-04-19 23:37:41 +00:00
Update README.md
This commit is contained in:
parent
ad41e29319
commit
d29c65ee24
1 changed files with 21 additions and 1 deletions
|
@ -11,6 +11,26 @@ Set the Order-Number and your E-Mail Adress, separated by `;` to the Widget Para
|
||||||
Example: `W1234567;jon@snow.com`
|
Example: `W1234567;jon@snow.com`
|
||||||
|
|
||||||
### Optional
|
### Optional
|
||||||
if you have more than one item in your order, you can use the third parameter to specify which item should be displayed (default: 1).
|
|
||||||
|
#### Item
|
||||||
|
If you have more than one item in your order, you can use the third parameter to specify which item should be displayed (default: 1).
|
||||||
|
|
||||||
Example: Example: `W1234567;jon@snow.com;2`
|
Example: Example: `W1234567;jon@snow.com;2`
|
||||||
|
|
||||||
|
#### Dark Mode
|
||||||
|
If you like to use the Dark Mode or Auto Mode, you can change in the Script the display mode in 'EDIT ME' - section:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
//////////////////// - EDIT ME - ///////////////////////////
|
||||||
|
|
||||||
|
/// Display mode
|
||||||
|
///
|
||||||
|
/// - DisplayMode.LIGHT: Light mode
|
||||||
|
/// - DisplayMode.DARK: Dark mode
|
||||||
|
/// - DisplayMode.AUTO: Follow system settings
|
||||||
|
|
||||||
|
const displayMode = DisplayMode.LIGHT
|
||||||
|
```
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
- [florentmorin](https://github.com/florentmorin)
|
||||||
|
|
Loading…
Add table
Reference in a new issue