Searched refs:event (Results 1 - 25 of 76) sorted by relevance

1234

/yui3/src/event/tests/
H A Dtouch-tests.js19 var event = new Y.DOMEventFacade({
32 this.event = event;
35 var event = this.event;
36 Assert.isFunction(event._touch);
39 var event = this.event;
40 Assert.areEqual('touch', event.type);
41 Assert.areEqual(1, event
[all...]
/yui3/build/file-flash/
H A Dfile-flash-debug.js38 * @param {Event} event The event object received from the Flash player.
41 _swfEventHandler: function (event) {
42 if (event.id === this.get("id")) {
43 switch (event.type) {
47 * @event uploadstart
48 * @param event {Event} The event object for the `uploadstart` with the
63 * @event uploadprogress
64 * @param event {Even
[all...]
/yui3/src/file/js/
H A Dfile-flash.js36 * @param {Event} event The event object received from the Flash player.
39 _swfEventHandler: function (event) {
40 if (event.id === this.get("id")) {
41 switch (event.type) {
45 * @event uploadstart
46 * @param event {Event} The event object for the `uploadstart` with the
61 * @event uploadprogress
62 * @param event {Even
[all...]
H A Dfile-html5.js76 * @param {Event} event The event object received from the XMLHTTPRequest.
79 _uploadEventHandler: function (event) {
80 switch (event.type) {
85 * @event uploadprogress
86 * @param event {Event} The event object for the `uploadprogress` with the
90 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
99 this.fire("uploadprogress", {originEvent: event,
100 bytesLoaded: event
[all...]
/yui3/src/test/js/
H A DEventTarget.js3 * Simple custom event implementation.
31 * Adds a listener for a given event type.
32 * @param {String} type The type of event to add a listener for.
33 * @param {Function} listener The function to call when the event occurs.
46 * Adds a listener for a given event type.
47 * @param {String} type The type of event to add a listener for.
48 * @param {Function} listener The function to call when the event occurs.
58 * Fires an event based on the passed-in object.
59 * @param {Object|String} event An object with at least a 'type' attribute
60 * or a string indicating the event nam
[all...]
H A DYTestWrapAfter.js45 var logEvent = function(event) {
51 switch(event.type){
62 event.results);
67 message = event.testName + ": failed.\n" + event.error.getMessage();
72 message = event.testName + ": ignored.";
77 message = event.testName + ": passed.";
82 message = "Test suite \"" + event.testSuite.name + "\" started.";
88 event.testSuite.name + "\" completed" + ".\n" +
91 event
[all...]
/yui3/build/uploader-queue/
H A Duploader-queue-debug.js62 * Handles and retransmits upload start event.
65 * @param event The event dispatched during the upload process.
68 _uploadStartHandler : function (event) {
69 var updatedEvent = event;
70 updatedEvent.file = event.target;
71 updatedEvent.originEvent = event;
77 * Handles and retransmits upload error event.
80 * @param event The event dispatche
[all...]
/yui3/src/event/docs/assets/
H A Dcheckbox.js99 var onCheckboxMouseOver = function (event, matchedEl) {
108 var onCheckboxMouseOut = function (event) {
115 var onDocumentMouseUp = function (event) {
121 oCheckbox = getCheckbox(event.target);
134 var onCheckboxFocus = function (event) {
144 // Defer adding key-related and click event listeners until
148 initKeyListeners.call(event.container);
158 var onCheckboxBlur = function (event) {
178 var onCheckboxMouseDown = function (event) {
180 // Defer adding mouse-related and click event listener
[all...]
/yui3/build/event-outside/
H A Devent-outside-debug.js1 YUI.add('event-outside', function(Y) {
5 * or synthetic DOM event occurs outside a bound element.
28 * By default, the created synthetic event name will be the name of the event
33 * @module event
34 * @submodule event-outside
45 * Defines a new outside event to correspond with the given DOM event.
47 * By default, the created synthetic event name will be the name of the event
[all...]
/yui3/build/swf/
H A Dswf-debug.js28 * @requires event-custom, node, swfdetect
48 * tabindex, wmode.</code> event from the thumb</dd>
117 * @event wrongflashversion
119 var event = {};
120 event.type = "wrongflashversion";
122 this.fire("wrongflashversion", event);
137 * Handles an event coming from within the SWF and delegate it
140 * @param swfid {String} the id of the SWF dispatching the event
141 * @param event {Object} the event bein
[all...]
/yui3/src/uploader/js/
H A Duploader-queue.js60 * Handles and retransmits upload start event.
63 * @param event The event dispatched during the upload process.
66 _uploadStartHandler : function (event) {
67 var updatedEvent = event;
68 updatedEvent.file = event.target;
69 updatedEvent.originEvent = event;
75 * Handles and retransmits upload error event.
78 * @param event The event dispatche
[all...]
H A Duploader-html5.js42 * Stored reference to the click event binding of the `Select Files`
81 * @event fileselect
82 * @param event {Event} The event object for the `fileselect` with the
95 * @event uploadstart
96 * @param event {Event} The event object for the `uploadstart`.
103 * @event fileuploadstart
104 * @param event {Event} The event objec
[all...]
/yui3/build/widget-parent/
H A Dwidget-parent-debug.js32 * Fires when a Widget is add as a child. The event object will have a
37 * Subscribers to the "on" moment of this event, will be notified
41 * Subscribers to the "after" moment of this event, will be notified
45 * @event addChild
56 * Fires when a child Widget is removed. The event object will have a
60 * Subscribers to the "on" moment of this event, will be notified
64 * Subscribers to the "after" moment of this event, will be notified
68 * @event removeChild
220 * Destroy event listener for each child Widget, responsible for removing
226 * @param {EventFacade} event Th
[all...]
/yui3/src/event/js/
H A Doutside.js3 * or synthetic DOM event occurs outside a bound element.
26 * By default, the created synthetic event name will be the name of the event
35 * @module event
36 * @submodule event-outside
49 * Defines a new outside event to correspond with the given DOM event.
51 * By default, the created synthetic event name will be the name of the event
57 * @param {String} event DO
[all...]
/yui3/src/widget-parent/js/
H A DWidget-Parent.js30 * Fires when a Widget is add as a child. The event object will have a
35 * Subscribers to the "on" moment of this event, will be notified
39 * Subscribers to the "after" moment of this event, will be notified
43 * @event addChild
54 * Fires when a child Widget is removed. The event object will have a
58 * Subscribers to the "on" moment of this event, will be notified
62 * Subscribers to the "after" moment of this event, will be notified
66 * @event removeChild
218 * Destroy event listener for each child Widget, responsible for removing
224 * @param {EventFacade} event Th
[all...]
/yui3/src/test/scripts/
H A DYTestWrapAfter.js45 var logEvent = function(event) {
51 switch(event.type){
62 event.results);
67 message = event.testName + ": failed.\n" + event.error.getMessage();
72 message = event.testName + ": ignored.";
77 message = event.testName + ": passed.";
82 message = "Test suite \"" + event.testSuite.name + "\" started.";
88 event.testSuite.name + "\" completed" + ".\n" +
91 event
[all...]
/yui3/src/swf/js/
H A Dswf.js26 * @requires event-custom, node, swfdetect
46 * tabindex, wmode.</code> event from the thumb</dd>
115 * @event wrongflashversion
117 var event = {};
118 event.type = "wrongflashversion";
120 this.fire("wrongflashversion", event);
135 * Handles an event coming from within the SWF and delegate it
138 * @param swfid {String} the id of the SWF dispatching the event
139 * @param event {Object} the event bein
[all...]
/yui3/src/io/js/
H A Dtransports.js69 * the event on the IO object.
71 * @param {String} event The name of the event
75 notify: function(event, transaction, config) {
78 switch (event) {
82 transaction.c = { status: 0, statusText: event };
83 event = 'failure';
85 io[event].apply(io, [transaction, config]);
/yui3/src/node-focusmanager/js/
H A Dnode-focusmanager.js199 * <a href="event/#keylistener"><code>key</code></a> event listeners. See
200 * the <a href="event/#keylistener">Using the key Event</a> section of
201 * the Event documentation for more information on "key" event listeners.
270 // Array of handles for event handlers used for a NodeFocusManager instance.
376 // "activeDescendantChange" event handler used to manage
431 * @description Detaches the "key" event handlers used to support the "keys"
457 _preventScroll: function (event) {
459 if (scrollKeys[event.keyCode] && this._isDescendant(event
[all...]
/yui3/build/file-html5/
H A Dfile-html5-debug.js78 * @param {Event} event The event object received from the XMLHTTPRequest.
81 _uploadEventHandler: function (event) {
82 switch (event.type) {
87 * @event uploadprogress
88 * @param event {Event} The event object for the `uploadprogress` with the
92 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
101 this.fire("uploadprogress", {originEvent: event,
102 bytesLoaded: event
[all...]
/yui3/src/event-gestures/tests/
H A Dgesture-tests.js14 event = {
49 eventData.start._onStart(event,node, {
56 Assert.areSame(event.target, e.target, 'Targets are not the same');
63 eventData.start._start(event,node, {
65 Assert.areSame(event.target, e.target, 'Targets are not the same');
92 eventData.move._onMove(event,node, {
99 Assert.areSame(event.target, e.target, 'Targets are not the same');
126 var en = event;
136 Assert.areSame(event.target, e.target, 'Targets are not the same');
/yui3/build/uploader-html5/
H A Duploader-html5-debug.js44 * Stored reference to the click event binding of the `Select Files`
83 * @event fileselect
84 * @param event {Event} The event object for the `fileselect` with the
97 * @event uploadstart
98 * @param event {Event} The event object for the `uploadstart`.
105 * @event fileuploadstart
106 * @param event {Event} The event objec
[all...]
/yui3/src/node-focusmanager/docs/assets/
H A Dtabview.js51 tabView.focusManager.after("focusedChange", function (event) {
53 if (!event.newVal) { // The list of tabs has lost focus
98 // Use the "delegate" custom event to listen for the "click" event
101 tabView.delegate("click", function (event) {
125 event.preventDefault();
131 // element will not fire the click event in Firefox when the
133 // "click" event to the anchor when the user presses the
138 tabView.delegate("keydown", function (event) {
140 if (event
[all...]
/yui3/src/widget/docs/assets/
H A Dlistbox.js20 this.get("boundingBox").on("contextmenu", function (event) {
21 event.preventDefault();
25 this.on("option:keydown", function (event) {
27 var item = event.target,
28 domEvent = event.domEvent,
50 this.on("option:mousedown", function (event) {
52 var item = event.target,
53 domEvent = event.domEvent,
/yui3/build/node-menunav/
H A Dnode-menunav-debug.js22 * // Use the "contentready" event to initialize the menu when <br>
59 * // Use the "contentready" event to initialize the menu when <br>
606 // In gecko-based browsers a mouseover and mouseout event will fire even
617 * "mouseover" event.
710 // Wire up all event handlers
1108 * @description "activeDescendantChange" event handler for menu's
1111 * @param {Object} event Object representing the Attribute change event.
1114 _onActiveDescendantChange: function (event, menuNav) {
1116 if (event
[all...]

Completed in 114 milliseconds

1234