mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
commandref_frame*.html: Add eventMap doc for widgetOverride (Forum #76755)
git-svn-id: https://svn.fhem.de/fhem/trunk@15113 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
938d572ed1
commit
d64d4dad95
@ -359,6 +359,9 @@ Device specific attributes are documented in the corresponding device section.
|
|||||||
separated pair. The first part specifies the "old" value, the second
|
separated pair. The first part specifies the "old" value, the second
|
||||||
the new/desired value. If the first character is slash(/) or comma(,)
|
the new/desired value. If the first character is slash(/) or comma(,)
|
||||||
then split not by space but by this character, enabling to embed spaces.
|
then split not by space but by this character, enabling to embed spaces.
|
||||||
|
You can specify a widgetOverride after an additional colon (e.g.
|
||||||
|
on-for-timer:OnFor:texField), the default widget is :noArg to avoid
|
||||||
|
extra input fields in cmdList.
|
||||||
Examples:<ul><code>
|
Examples:<ul><code>
|
||||||
attr store eventMap on:open off:closed<br>
|
attr store eventMap on:open off:closed<br>
|
||||||
attr store eventMap /on-for-timer 10:open/off:closed/<br>
|
attr store eventMap /on-for-timer 10:open/off:closed/<br>
|
||||||
|
@ -361,6 +361,9 @@ Gerät dokumentiert.
|
|||||||
"alten" Wert, der zweite Teil den "neuen" Wert dar. Wenn der erste Wert
|
"alten" Wert, der zweite Teil den "neuen" Wert dar. Wenn der erste Wert
|
||||||
ein Slash (/) oder ein Komma (,) ist, dann wird nicht durch Leerzeichen
|
ein Slash (/) oder ein Komma (,) ist, dann wird nicht durch Leerzeichen
|
||||||
sondern durch das vorgestellte Zeichen getrennt.
|
sondern durch das vorgestellte Zeichen getrennt.
|
||||||
|
Optional kann man auch ein widgetOverride angeben (angehängt nach
|
||||||
|
einem Doppelpunkt (z.Bsp. on-for-timer:OnFor:texField). Die
|
||||||
|
Voreinstellung ist :noArg, um das Input Feld bei cmdList zu vermeiden.
|
||||||
Beispiele:
|
Beispiele:
|
||||||
<ul><code>
|
<ul><code>
|
||||||
attr store eventMap on:open off:closed<br>
|
attr store eventMap on:open off:closed<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user