Handle single widget arguments to force (#29)
* Handle single widget arguments to force * update README (force/single-use)
This commit is contained in:
parent
d9ecb9f20d
commit
043e50322d
|
@ -125,10 +125,12 @@ enable caching of values returned by a widget type
|
||||||
**Force update of widgets:**
|
**Force update of widgets:**
|
||||||
|
|
||||||
```Lua
|
```Lua
|
||||||
vicious.force({ widget, })
|
vicious.force(widget)
|
||||||
|
vicious.force({ widget1, widget2 })
|
||||||
```
|
```
|
||||||
|
|
||||||
widget argument is a table with one or more widgets that will be updated
|
widget argument is a single widget or a table with one or more widgets that
|
||||||
|
will be updated
|
||||||
|
|
||||||
|
|
||||||
Widget types
|
Widget types
|
||||||
|
|
Loading…
Reference in New Issue