Lines Matching defs:Base
2 * The base module provides the Base class, which objects requiring attribute and custom event support can extend.
3 * The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides
10 * The base-base submodule provides the Base class without the Plugin support, provided by Plugin.Host,
18 * The base module provides the Base class, which objects requiring attribute and custom event support can extend.
19 * The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides
20 * plugin support and also provides the Base.build method which provides a way to build custom classes using extensions.
26 * The base-base submodule provides the Base class without the Plugin support, provided by Plugin.Host,
27 * and without the extension support provided by Base.build.
47 * extend. Base also handles the chaining of initializer and destructor methods across
50 * in the hierarchy will be initialized by Base.
55 * from Base will be used as the identifier for the class, and is used by Base to prefix
59 * @class Base
78 * <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>
80 * <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>
87 function Base() {
100 Base._ATTR_CFG = Attribute._ATTR_CFG.concat("cloneDefaultValue");
101 Base._ATTR_CFG_HASH = Y.Array.hash(Base._ATTR_CFG);
106 * `Base` supports "on", "after", "plugins" and "bubbleTargets" properties,
118 Base._NON_ATTRS_CFG = BaseCore._NON_ATTRS_CFG.concat(["on", "after", "bubbleTargets"]);
126 * Classes extending Base, should define their own
134 Base.NAME = "base";
150 Base.ATTRS = AttributeCore.prototype._protectAttrs(BaseCore.ATTRS);
152 Base.prototype = {
155 * Internal construction logic for Base.
188 return Base._ATTR_CFG_HASH;
199 * @return {Base} A reference to this object
279 * @return {Base} A reference to this object
337 Y.mix(Base, Attribute, false, null, 1);
338 Y.mix(Base, BaseCore, false, null, 1);
341 Base.prototype.constructor = Base;
343 Y.Base = Base