the object to look for. If it is a string,
it is assumed to be UUID, unless it starts with '$'.
For example, zkbind.$('uuid')
is the same as zkbind.$('#uuid')
,
and both look for a widget whose ID is 'uuid'. On the other hand,
zkbind.$('$id')
looks for a widget whose ID is 'id'.
and zkbind.$('.className')
looks for a widget whose CSS selector is 'className'.
If it is an DOM element (DOMElement), it will look up
which widget it belongs to.
If the object is not a DOM element and has a property called
target
, then target
is assumed.
Thus, you can pass an instance of jq.Event or zk.Event,
and the target widget will be returned.
Optional
opts: BinderOptionsthe options. Allowed values:
8.0.0
Retrieves the binder if any.