In the skinning wiki I see examples like this
<onfocus>-</onfocus>
<onunfocus>-</onunfocus>
What does the '-' do, please?
Thanks. I was confused because both syntaxes appear in the same example in the wiki.
BTW, can you point me to docs on the focused* tags? Can I just add focused to any other tag?
Can't seem to get Edit to work - it seems there is only focusedlayout available so I'll go with that.
(2018-02-03, 19:03)ronie Wrote: [ -> ]empty / do nothing
in kodi v18 leia ... you can simple use:
xml:
<onfocus></onfocus>
<onunfocus></onunfocus>
ref: https://forum.kodi.tv/showthread.php?tid...pid2534486
Unless I'm mistaken, that is only correct for tags that are not actions (e.g. <label /> <font /> etc.).
For actions (e.g. those starting with "on" such as <onup>), a blank tag will use the default action.
Instead, "noop" should be used to specify no action.
For instance, with a blank onup tag on a vertical list, the list will scroll back around to the bottom when reaching the top:
However, using "noop" will prevent this from happening: