Better formatting

dev
Rahix 9 years ago
parent c4bd3dffef
commit ffce90b049

@ -40,12 +40,12 @@ id = bc:listen_noun("<noun>", event_type, event_arg, function callback)
which is used to register asynchroneous callbacks on noun changes.
`event_type` is one of
* onchange => whenever the value changes, `event_arg` is ignored
* onrising => whenever the value gets bigger, `event_arg` is ignored
* onfalling => whenever the value gets smaller, `event_arg` is ignored
* onvalue => whenever the value equals `event_arg`
* onabove => whenever the value is bigger than `event_arg`
* onbelow => whenever the value smaller than `event_arg`
* `onchange` => whenever the value changes, `event_arg` is ignored
* `onrising` => whenever the value gets bigger, `event_arg` is ignored
* `onfalling` => whenever the value gets smaller, `event_arg` is ignored
* `onvalue` => whenever the value equals `event_arg`
* `onabove` => whenever the value is bigger than `event_arg`
* `onbelow` => whenever the value smaller than `event_arg`
A listener can be removed using

Loading…
Cancel
Save