Lines Matching refs:state
6 * store state.
35 // Used for internal state management
49 * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>.
110 * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
226 state = host._state,
235 state.addAll(name, {
241 if (host.attrAdded(name) && !state.get(name, IS_LAZY_ADD)) { Y.log('Attribute: ' + name + ' already exists. Cannot add it again without removing it first', 'warn', 'attribute'); }
243 if (!host.attrAdded(name) || state.get(name, IS_LAZY_ADD)) {
258 state.addAll(name, config);
265 state.remove(name, INITIALIZING);
320 var state = this._state,
321 lazyCfg = state.get(name, LAZY);
323 state.add(name, IS_LAZY_ADD, true);
324 state.remove(name, LAZY);
389 state = this._state,
409 cfg = state.getAll(name, true) || {};
484 state = host._state,
510 getter = state.get(name, GETTER);
524 * internal state object, or the state proxy if it exits
538 * internal state object, or the state proxy if it exits