public class zkbind extends java.lang.Object
|Modifier and Type||Method and Description|
Retrieves the binder if any.
n- the object to look for. If it is a string, it is assumed to be UUID, unless it starts with '$'. For example,
is the same as
, and both look for a widget whose ID is 'uuid'. On the other hand,
zkbind.$('$id') looks for a widget whose ID is 'id'.
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
targetis assumed. Thus, you can pass an instance of
Event, and the target widget will be returned.
opts- [optional] the options. Allowed values:
Widget.$n(_global_.String)). In most cases, if ID of an element is xxx-yyy, the the element must be a child of the element whose ID is xxx. However, there is some exception such as the shadow of a window.
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.