Searched refs:once (Results 1 - 25 of 31) sorted by relevance

12

/yui3/build/scrollview-base-ie/
H A Dscrollview-base-ie-debug.js27 this._cbDoc.once("mouseup", this._ieRestoreSelect, this);
/yui3/src/scrollview/js/
H A DScrollViewBaseIE.js25 this._cbDoc.once("mouseup", this._ieRestoreSelect, this);
/yui3/src/history/tests/functional/
H A Dhistory-base-test.js84 Y.Global.once('history:change', handler.onGlobalChange);
85 this.history.once('change', handler.onChange);
86 this.history.once('fooChange', handler.onFooChange);
87 this.history.once('bazChange', handler.onBazChange);
88 this.history.once('fooRemove', handler.onFooRemove);
100 Y.Global.once('history:change', function (e) {
104 this.history.once('change', function (e) {
108 this.history.once('fooChange', function (e) {
112 this.history.once('fooRemove', function (e) {
162 history2.once('chang
[all...]
H A Dhistory-hash-test.js33 Y.once('hashchange', function (e) {
61 Y.once('hashchange', function () {
73 Y.once('hashchange', function () {
90 Y.once('hashchange', function () {
102 Y.once('hashchange', function () {
H A Dhistory-html5-test.js86 this.history.once('change', function (e) {
120 this.history.once('change', function (e) {
/yui3/src/node/js/
H A Dnode-event.js151 * @method once
160 once: function(type, fn, context) {
161 return Y.once.apply(Y, this._prepEvtArgs.apply(this, arguments));
/yui3/src/pjax/tests/
H A Dpjax-test.js95 this.pjax.once('load', function (e) {
110 this.pjax.once('load', function (e) {
125 this.pjax.once('load', function (e) {
141 this.pjax.once('load', function (e) {
250 this.pjax.once('error', function (e) {
279 this.pjax.once('load', function (e) {
334 this.pjax.once('navigate', function (e) {
352 this.pjax.once('navigate', function (e) {
369 this.pjax.once('navigate', function (e) {
496 this.pjax.once('loa
[all...]
/yui3/src/event-valuechange/tests/functional/
H A Devent-valuechange-test.js38 this.textInput.once('valuechange', function (e) {
56 this.textArea.once('valuechange', function (e) {
74 this.textInput.once('valuechange', function (e) {
110 this.textInput.once('valuechange', function (e) {
/yui3/src/event-custom/js/
H A Dsubscriber.js49 * This listener only reacts to the event once
50 * @property once
52 // this.once = false;
87 if (this.once) {
H A Devent-target.js132 * @method once
140 once: function() {
144 hand.sub.once = true;
166 hand.sub.once = true;
204 * To subscribe to multiple events at once, pass an object as the first
520 * 'fireOnce': if an event is configured to fire once, new subscribers after
871 @method once
882 Listen for an event one time. Equivalent to `once()`, except, like `after()`,
893 @see once
/yui3/build/router/
H A Drouter-debug.js156 // Fire a `ready` event once we're ready to route. We wait first for all
166 self.once('initializedChange', function () {
167 Y.once('load', function () {
196 this.once(EVT_READY, function () {
465 this.once(EVT_READY, function () {
507 Y.once('load', function () {
/yui3/src/app/js/
H A Drouter.js154 // Fire a `ready` event once we're ready to route. We wait first for all
164 self.once('initializedChange', function () {
165 Y.once('load', function () {
194 this.once(EVT_READY, function () {
463 this.once(EVT_READY, function () {
505 Y.once('load', function () {
/yui3/src/tabview/tests/
H A Dtabview-test.js27 tabview.once('selectionChange', function(e) {
/yui3/src/app/tests/
H A Dmodel-list-test.js703 list.once('add', function (e) {
895 list.once('error', function (e) {
937 list.once('reset', function (e) {
971 list.once('reset', function (e) {
1029 list.once('reset', function (e) {
1044 list.once('remove', function (e) {
/yui3/src/event-custom/tests/
H A Devent-custom-base-tests.js1516 name: "target.once",
1522 "test target.once([{ fn: fn, context: obj }]) does nothing": true,
1525 "test target.once(type, { handleEvents: fn })": true
1545 target.once("test", function () {});
1552 "test target.once(type, fn)": function () {
1563 handle = target.once("test", callback);
1582 // Test that fire() resulted in immediate detach of once() sub
1591 "test target.once(type, fn) allows duplicate subs": function () {
1601 handle1 = target.once("test", callback);
1602 handle2 = target.once("tes
[all...]
/yui3/src/event-custom/tests/src/
H A Devent-custom-base.js1514 name: "target.once",
1520 "test target.once([{ fn: fn, context: obj }]) does nothing": true,
1523 "test target.once(type, { handleEvents: fn })": true
1543 target.once("test", function () {});
1550 "test target.once(type, fn)": function () {
1561 handle = target.once("test", callback);
1580 // Test that fire() resulted in immediate detach of once() sub
1589 "test target.once(type, fn) allows duplicate subs": function () {
1599 handle1 = target.once("test", callback);
1600 handle2 = target.once("tes
[all...]
/yui3/src/test/js/
H A DYTestWrapAfter.js127 Y.Test.Runner.once = Y.Test.Runner.subscribe;
/yui3/src/test/scripts/
H A DYTestWrapAfter.js127 Y.Test.Runner.once = Y.Test.Runner.subscribe;
/yui3/build/event-flick/
H A Devent-flick-debug.js164 subscriber[_FLICK_MOVE_HANDLE] = doc.once(EVENT[MOVE], Y.bind(this._onMove, this), null, node, subscriber, ce);
/yui3/src/event-gestures/js/
H A DFlick.js162 subscriber[_FLICK_MOVE_HANDLE] = doc.once(EVENT[MOVE], Y.bind(this._onMove, this), null, node, subscriber, ce);
/yui3/build/event-custom-base/
H A Devent-custom-base-debug.js1121 * This listener only reacts to the event once
1122 * @property once
1124 // this.once = false;
1159 if (this.once) {
1415 * @method once
1423 once: function() {
1427 hand.sub.once = true;
1449 hand.sub.once = true;
1487 * To subscribe to multiple events at once, pass an object as the first
1803 * 'fireOnce': if an event is configured to fire once, ne
[all...]
/yui3/build/event-focus/
H A Devent-focus-debug.js57 directSub.once = true;
/yui3/build/node-base/
H A Dnode-base-debug.js599 * @method once
608 once: function(type, fn, context) {
609 return Y.once.apply(Y, this._prepEvtArgs.apply(this, arguments));
/yui3/src/event/js/
H A Dfocusblur.js55 directSub.once = true;
/yui3/src/node/tests/
H A Dnodelist-test.js8 'should fire the handler once': function() {
13 nodelist.once('click', function() {

Completed in 388 milliseconds

12