Lines Matching refs:Base
4 * The base module provides the Base class, which objects requiring attribute and custom event support can extend.
5 * The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides
12 * The base-base submodule provides the Base class without the Plugin support, provided by Plugin.Host,
20 * The base module provides the Base class, which objects requiring attribute and custom event support can extend.
21 * The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides
22 * plugin support and also provides the Base.build method which provides a way to build custom classes using extensions.
28 * The base-base submodule provides the Base class without the Plugin support, provided by Plugin.Host,
29 * and without the extension support provided by Base.build.
49 * extend. Base also handles the chaining of initializer and destructor methods across
52 * in the hierarchy will be initialized by Base.
57 * from Base will be used as the identifier for the class, and is used by Base to prefix
61 * @class Base
80 * <dd>An event name to listener function map, to register event listeners for the "on" moment of the event. A constructor convenience property for the <a href="Base.html#method_on">on</a> method.</dd>
82 * <dd>An event name to listener function map, to register event listeners for the "after" moment of the event. A constructor convenience property for the <a href="Base.html#method_after">after</a> method.</dd>
89 function Base() {
102 Base._ATTR_CFG = Attribute._ATTR_CFG.concat("cloneDefaultValue");
103 Base._ATTR_CFG_HASH = Y.Array.hash(Base._ATTR_CFG);
108 * `Base` supports "on", "after", "plugins" and "bubbleTargets" properties,
120 Base._NON_ATTRS_CFG = BaseCore._NON_ATTRS_CFG.concat(["on", "after", "bubbleTargets"]);
128 * Classes extending Base, should define their own
136 Base.NAME = "base";
152 Base.ATTRS = AttributeCore.prototype._protectAttrs(BaseCore.ATTRS);
154 Base.prototype = {
157 * Internal construction logic for Base.
190 return Base._ATTR_CFG_HASH;
201 * @return {Base} A reference to this object
281 * @return {Base} A reference to this object
339 Y.mix(Base, Attribute, false, null, 1);
340 Y.mix(Base, BaseCore, false, null, 1);
343 Base.prototype.constructor = Base;
345 Y.Base = Base;