diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/raw.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/raw.json Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,1 @@ +{"majorversion": 3, "filemap": {"io-queue.js": {"classlist": [], "name": "io-queue.js", "module": "io"}, "PluginHost.js": {"classlist": ["Plugin.Host"], "name": "PluginHost.js", "module": "base"}, "node.js": {"classlist": ["Node"], "name": "node.js", "module": "node"}, "dom-region.js": {"classlist": [], "name": "dom-region.js", "module": "dom"}, "constrain.js": {"classlist": ["Plugin.DragConstrained"], "name": "constrain.js", "module": "dd"}, "dd-plugin.js": {"classlist": ["Plugin.Drag"], "name": "dd-plugin.js", "module": "dd"}, "selector-native.js": {"classlist": ["Selector"], "name": "selector-native.js", "module": "dom"}, "BaseBuild.js": {"classlist": [], "name": "BaseBuild.js", "module": "base"}, "yui-object.js": {"classlist": ["Object"], "name": "yui-object.js", "module": "yui"}, "yui-init.js": {"classlist": [], "name": "yui-init.js", "module": "yui"}, "datatype-xml-format.js": {"classlist": ["DataType.XML"], "name": "datatype-xml-format.js", "module": "datatype"}, "dom.js": {"classlist": ["DOM"], "name": "dom.js", "module": "dom"}, "dom-style.js": {"classlist": [], "name": "dom-style.js", "module": "dom"}, "mouseentermouseleave.js": {"name": "mouseentermouseleave.js", "classlist": [], "module": "event", "guessedname": "isString", "guessedtype": "property", "property": "isString"}, "datatype-date-format.js": {"classlist": ["DataType.Date"], "name": "datatype-date-format.js", "module": "datatype"}, "drag.js": {"classlist": ["DD.Drag"], "name": "drag.js", "module": "dd"}, "imageloader.js": {"classlist": ["ImgLoadGroup", "ImgLoadImgObj"], "name": "imageloader.js", "module": "imageloader"}, "event-ready.js": {"classlist": [], "name": "event-ready.js", "module": "event"}, "queue-run.js": {"classlist": ["AsyncQueue"], "name": "queue-run.js", "module": "queue"}, "yui-core.js": {"classlist": [], "name": "yui-core.js", "module": "yui"}, "selector-css3.js": {"classlist": [], "name": "selector-css3.js", "module": "dom"}, "anim-node-plugin.js": {"classlist": ["Plugin.NodeFX"], "name": "anim-node-plugin.js", "module": "anim"}, "node-style.js": {"classlist": [], "name": "node-style.js", "module": "node"}, "event-simulate.js": {"classlist": [], "name": "event-simulate.js", "module": "event-simulate"}, "dataschema-text.js": {"classlist": ["DataSchema.Text"], "name": "dataschema-text.js", "module": "dataschema"}, "Base.js": {"classlist": ["Base"], "name": "Base.js", "module": "base"}, "ddm-drop.js": {"classlist": [], "name": "ddm-drop.js", "module": "dd"}, "io-xdr.js": {"classlist": [], "name": "io-xdr.js", "module": "io"}, "loader.js": {"classlist": ["Loader"], "name": "loader.js", "module": "yui"}, "dom-ie-style.js": {"classlist": [], "name": "dom-ie-style.js", "module": "dom"}, "datasource-io.js": {"classlist": ["DataSource.IO"], "name": "datasource-io.js", "module": "datasource"}, "Profiler.js": {"classlist": ["Profiler"], "name": "Profiler.js", "module": "profiler"}, "substitute.js": {"classlist": ["YUI~substitute"], "name": "substitute.js", "module": "substitute"}, "event-facade.js": {"classlist": ["EventFacade"], "name": "event-facade.js", "module": "event-custom"}, "dataschema-xml.js": {"classlist": ["DataSchema.XML"], "name": "dataschema-xml.js", "module": "dataschema"}, "event.js": {"name": "event.js", "classlist": [], "module": "event-custom", "guessedname": "evt", "guessedtype": "property", "property": "evt"}, "io-base.js": {"classlist": ["io"], "name": "io-base.js", "module": "io"}, "key.js": {"classlist": [], "name": "key.js", "module": "event"}, "selector-css2.js": {"classlist": [], "name": "selector-css2.js", "module": "dom"}, "datasource-textschema.js": {"classlist": ["DataSourceTextSchema"], "name": "datasource-textschema.js", "module": "datasource"}, "ddm-base.js": {"classlist": ["DD.DDM"], "name": "ddm-base.js", "module": "dd"}, "node-class.js": {"classlist": [], "name": "node-class.js", "module": "node"}, "datatype-date-locale.js": {"classlist": ["DataType.Date.Locale"], "name": "datatype-date-locale.js", "module": "datatype"}, "dom-screen.js": {"classlist": [], "name": "dom-screen.js", "module": "dom"}, "datasource-polling.js": {"classlist": ["Pollable"], "name": "datasource-polling.js", "module": "datasource"}, "node-menunav.js": {"classlist": ["plugin.NodeMenuNav"], "name": "node-menunav.js", "module": "node-menunav"}, "available.js": {"classlist": [], "name": "available.js", "module": "event"}, "nodelist.js": {"classlist": ["NodeList"], "name": "nodelist.js", "module": "node"}, "proxy.js": {"classlist": ["Plugin.DDProxy"], "name": "proxy.js", "module": "dd"}, "dom-class.js": {"classlist": [], "name": "dom-class.js", "module": "dom"}, "queue-promote.js": {"classlist": [], "name": "queue-promote.js", "module": "queue"}, "Cookie.js": {"classlist": ["Cookie"], "name": "Cookie.js", "module": "cookie"}, "oop.js": {"classlist": ["YUI~oop"], "name": "oop.js", "module": "oop"}, "queue-base.js": {"classlist": ["Queue"], "name": "queue-base.js", "module": "queue"}, "dump.js": {"classlist": ["YUI~dump"], "name": "dump.js", "module": "dump"}, "ArrayAssert.js": {"classlist": ["Test.ArrayAssert"], "name": "ArrayAssert.js", "module": "test"}, "TestFormat.js": {"classlist": [], "name": "TestFormat.js", "module": "test"}, "history.js": {"classlist": ["History", "History.Module"], "name": "history.js", "module": "history"}, "datasource-arrayschema.js": {"classlist": ["DataSourceArraySchema"], "name": "datasource-arrayschema.js", "module": "datasource"}, "datasource-xmlschema.js": {"classlist": ["DataSourceXMLSchema"], "name": "datasource-xmlschema.js", "module": "datasource"}, "plugin.js": {"classlist": ["Plugin.Base"], "name": "plugin.js", "module": "plugin"}, "datasource-local.js": {"classlist": ["DataSource.Local"], "name": "datasource-local.js", "module": "datasource"}, "dataschema-base.js": {"classlist": ["DataSchema.Base"], "name": "dataschema-base.js", "module": "dataschema"}, "anim.js": {"classlist": ["Anim"], "name": "anim.js", "module": "anim"}, "color.js": {"classlist": [], "name": "color.js", "module": "dom"}, "cache.js": {"classlist": ["Cache"], "name": "cache.js", "module": "cache"}, "Widget-Stack.js": {"classlist": ["WidgetStack"], "name": "Widget-Stack.js", "module": "widget-stack"}, "console-filters.js": {"classlist": ["Plugin.ConsoleFilters"], "name": "console-filters.js", "module": "console-filters"}, "node-screen.js": {"classlist": [], "name": "node-screen.js", "module": "node"}, "node-aria.js": {"classlist": [], "name": "node-aria.js", "module": "node"}, "TestRunner.js": {"classlist": ["Test.TestNode", "Test.Runner"], "name": "TestRunner.js", "module": "test"}, "json-parse.js": {"classlist": ["JSON"], "name": "json-parse.js", "module": "json"}, "array-extras.js": {"classlist": ["YUI~array~extras"], "name": "array-extras.js", "module": "collection"}, "_module.js": {"classlist": [], "name": "_module.js", "module": "yui"}, "io-form.js": {"classlist": [], "name": "io-form.js", "module": "io"}, "TestManager.js": {"classlist": ["Test.Manager"], "name": "TestManager.js", "module": "test"}, "datatype-number-parse.js": {"classlist": [], "name": "datatype-number-parse.js", "module": "datatype"}, "stylesheet.js": {"classlist": ["StyleSheet"], "name": "stylesheet.js", "module": "stylesheet"}, "yui.js": {"classlist": ["YUI", "config"], "name": "yui.js", "module": "yui"}, "delegate.js": {"classlist": [], "name": "delegate.js", "module": "event"}, "anim-easing.js": {"classlist": ["Easing"], "name": "anim-easing.js", "module": "anim"}, "Widget-Position.js": {"classlist": ["WidgetPosition"], "name": "Widget-Position.js", "module": "widget-position"}, "classnamemanager.js": {"classlist": ["ClassNameManager"], "name": "classnamemanager.js", "module": "classnamemanager"}, "yui-base.js": {"classlist": [], "name": "yui-base.js", "module": "yui"}, "io-upload-iframe.js": {"classlist": [], "name": "io-upload-iframe.js", "module": "io"}, "node-imports.js": {"classlist": [], "name": "node-imports.js", "module": "node"}, "event-facade-dom.js": {"classlist": ["DOMEventFacade"], "name": "event-facade-dom.js", "module": "event"}, "Attribute.js": {"classlist": ["Attribute"], "name": "Attribute.js", "module": "attribute"}, "TestSuite.js": {"classlist": ["Test.Suite"], "name": "TestSuite.js", "module": "test"}, "yui-later.js": {"classlist": [], "name": "yui-later.js", "module": "yui"}, "focusblur.js": {"classlist": [], "name": "focusblur.js", "module": "event"}, "json-stringify.js": {"classlist": [], "name": "json-stringify.js", "module": "json"}, "ddm.js": {"classlist": [], "name": "ddm.js", "module": "dd"}, "anim-scroll.js": {"classlist": [], "name": "anim-scroll.js", "module": "anim"}, "TestCase.js": {"classlist": ["Test.Case", "Test.Wait"], "name": "TestCase.js", "module": "test"}, "node-event-delegate.js": {"classlist": [], "name": "node-event-delegate.js", "module": "node"}, "anim-color.js": {"classlist": [], "name": "anim-color.js", "module": "anim"}, "event-target.js": {"classlist": ["EventTarget"], "name": "event-target.js", "module": "event-custom"}, "yui-lang.js": {"classlist": ["Lang"], "name": "yui-lang.js", "module": "yui"}, "anim-curve.js": {"classlist": [], "name": "anim-curve.js", "module": "anim"}, "event-ready-base.js": {"classlist": [], "name": "event-ready-base.js", "module": "event"}, "datasource-function.js": {"classlist": ["DataSource.Function"], "name": "datasource-function.js", "module": "datasource"}, "event-dom.js": {"classlist": ["Event"], "name": "event-dom.js", "module": "event"}, "dataschema-array.js": {"classlist": ["DataSchema.Array"], "name": "dataschema-array.js", "module": "dataschema"}, "console.js": {"classlist": ["Console"], "name": "console.js", "module": "console"}, "TestReporter.js": {"classlist": ["Test.Reporter"], "name": "TestReporter.js", "module": "test"}, "Assert.js": {"classlist": ["Assert", "Assert.Error", "Assert.ComparisonFailure", "Assert.UnexpectedValue", "Assert.ShouldFail", "Assert.ShouldError", "Assert.UnexpectedError"], "name": "Assert.js", "module": "test"}, "get.js": {"classlist": ["Get"], "name": "get.js", "module": "yui"}, "datatype-number-format.js": {"classlist": ["DataType.Number"], "name": "datatype-number-format.js", "module": "datatype"}, "Widget-StdMod.js": {"classlist": ["WidgetStdMod"], "name": "Widget-StdMod.js", "module": "widget-stdmod"}, "datatype-xml-parse.js": {"classlist": [], "name": "datatype-xml-parse.js", "module": "datatype"}, "datasource-jsonschema.js": {"classlist": ["DataSourceJSONSchema"], "name": "datasource-jsonschema.js", "module": "datasource"}, "node-focusmanager.js": {"classlist": ["plugin.NodeFocusManager"], "name": "node-focusmanager.js", "module": "node-focusmanager"}, "yui-ua.js": {"classlist": ["UA"], "name": "yui-ua.js", "module": "yui"}, "yui-log.js": {"classlist": [], "name": "yui-log.js", "module": "yui"}, "node-event-simulate.js": {"classlist": [], "name": "node-event-simulate.js", "module": "node"}, "Mock.js": {"classlist": ["Test.Format.Mock"], "name": "Mock.js", "module": "test"}, "datatype-date-parse.js": {"classlist": [], "name": "datatype-date-parse.js", "module": "datatype"}, "node-region.js": {"classlist": [], "name": "node-region.js", "module": "node"}, "resize-window.js": {"classlist": [], "name": "resize-window.js", "module": "event"}, "State.js": {"classlist": ["State"], "name": "State.js", "module": "attribute"}, "event-do.js": {"classlist": ["Do", "Do.Method", "Do.AlterArgs", "Do.AlterReturn", "Do.Halt", "Do.Prevent", "Do.Error"], "name": "event-do.js", "module": "event-custom"}, "datasource-cache.js": {"classlist": ["DataSourceCache"], "name": "datasource-cache.js", "module": "datasource"}, "dd-drop-plugin.js": {"classlist": ["Plugin.Drop"], "name": "dd-drop-plugin.js", "module": "dd"}, "event-custom.js": {"classlist": ["EventHandle", "CustomEvent", "Subscriber"], "name": "event-custom.js", "module": "event-custom"}, "dataschema-json.js": {"classlist": ["DataSchema.JSON"], "name": "dataschema-json.js", "module": "dataschema"}, "Overlay.js": {"classlist": ["Overlay"], "name": "Overlay.js", "module": "overlay"}, "yui-array.js": {"classlist": ["Array"], "name": "yui-array.js", "module": "yui"}, "scroll.js": {"classlist": ["DD.Scroll", "Plugin.DDWindowScroll", "Plugin.DDNodeScroll"], "name": "scroll.js", "module": "dd"}, "Widget-PositionExt.js": {"classlist": ["WidgetPositionExt"], "name": "Widget-PositionExt.js", "module": "widget-position-ext"}, "anim-xy.js": {"classlist": [], "name": "anim-xy.js", "module": "anim"}, "DateAssert.js": {"classlist": ["Test.DateAssert"], "name": "DateAssert.js", "module": "test"}, "ObjectAssert.js": {"classlist": ["Assert.ObjectAssert"], "name": "ObjectAssert.js", "module": "test"}, "datasource-get.js": {"classlist": ["DataSource.Get"], "name": "datasource-get.js", "module": "datasource"}, "slider.js": {"classlist": ["Slider"], "name": "slider.js", "module": "slider"}, "drop.js": {"classlist": ["DD.Drop"], "name": "drop.js", "module": "dd"}, "Widget.js": {"classlist": ["Widget"], "name": "Widget.js", "module": "widget"}}, "modules": {"console-filters": {"description": "
Provides Plugin.ConsoleFilters plugin class.<\/p>\n
This plugin adds the ability to control which Console entries display by filtering on category and source. Two groups of checkboxes are added to the Console footer, one for categories and the other for sources. Only those messages that match a checked category or source are displayed.<\/p>", "submodules": [], "classlist": ["Plugin.ConsoleFilters"], "filelist": ["console-filters.js"], "subdata": {}, "name": "console-filters"}, "dump": {"description": "Returns a simple string representation of the object or array.\nOther types of objects will be returned unprocessed. Arrays\nare expected to be indexed. Use object notation for\nassociative arrays.\nIf included, the dump method is added to the YUI instance.", "submodules": [], "classlist": ["YUI~dump"], "filelist": ["dump.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "dump"}, "attribute": {"description": "The attribute module provides an augmentable Attribute implementation, which \nadds configurable attributes and attribute change events to the class being \naugmented. It also provides a State class, which is used internally by Attribute,\nbut can also be used independently to provide a name\/property\/value data structure to\nstore state.", "submodules": [], "classlist": ["Attribute", "State"], "filelist": ["Attribute.js", "State.js"], "subdata": {}, "guessedname": "O", "guessedtype": "property", "name": "attribute"}, "widget-stack": {"description": "Provides stackable (z-index) support for Widgets through an extension.", "submodules": [], "classlist": ["WidgetStack"], "filelist": ["Widget-Stack.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "widget-stack"}, "io": {"description": "Base IO functionality. Provides basic XHR transport support.", "submodules": ["io-base", "io-queue", "io-upload-iframe", "io-xdr", "io-form"], "classlist": ["io"], "filelist": ["io-base.js", "io-queue.js", "io-upload-iframe.js", "io-xdr.js", "io-form.js"], "subdata": {"io-xdr": {"name": "io", "description": "Extends the IO base class to provide an alternate, Flash transport, for making\ncross-domain requests."}, "io-form": {"name": "io", "description": "Extends the IO base class to enable HTML form data serialization, when specified\nin the transaction's configuration object."}, "io-base": {"name": "io", "description": "Base IO functionality. Provides basic XHR transport support."}, "io-queue": {"name": "io", "description": "Extends the IO base class to implement Queue for synchronous\ntransaction processing."}, "io-upload-iframe": {"name": "io", "description": "Extends the IO base class to enable file uploads, with HTML forms,\nusing an iframe as the transport medium."}}, "guessedname": "w", "guessedtype": "property", "name": "io"}, "event": {"description": "Custom event engine, DOM event listener abstraction layer, synthetic DOM \nevents.", "submodules": [], "classlist": ["Event", "DOMEventFacade"], "filelist": ["key.js", "event-ready-base.js", "event-ready.js", "focusblur.js", "event-dom.js", "available.js", "resize-window.js", "delegate.js", "event-facade-dom.js", "mouseentermouseleave.js"], "subdata": {}, "guessedname": "GLOBAL_ENV", "guessedtype": "property", "name": "event"}, "substitute": {"description": "String variable substitution and string formatting.\nIf included, the substitute method is added to the YUI instance.", "submodules": [], "classlist": ["YUI~substitute"], "filelist": ["substitute.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "substitute"}, "queue": {"description": "
The Queue module adds a common data structure for FIFO operations. In its\nsimplest form, it is little more than an array wrapper. Additional\nsubmodules introduce more functionality such as promotion and removal of\nqueued items.<\/p>\n
An AsyncQueue class is provided in the queue-run submodule. This class\naffords a mechanism to do complex sequential and iterative callback\nexecution across configured timeouts.", "submodules": ["queue-run", "queue-promote", "queue-base"], "classlist": ["AsyncQueue", "Queue"], "filelist": ["queue-run.js", "queue-promote.js", "queue-base.js"], "subdata": {"queue-promote": {"name": "Queue", "description": "Adds methods promote, remove, and indexOf to Queue instances."}, "queue-run": {"name": "AsyncQueue", "description": "
Adds a new class AsyncQueue that is restricted to function callbacks, but\nincludes a host of additional features, including events, callback\niterations, and a run() method that can execute queued callbacks in order,\neven across configured timeouts.<\/p>"}, "queue-base": {"name": "Queue", "description": "A simple FIFO queue. Items are added to the Queue with add(1..n items) and\nremoved using next()."}}, "name": "queue"}, "console": {"description": "Console creates a visualization for messages logged through calls to a YUI\ninstance's The JSON module adds support for serializing JavaScript objects into\nJSON strings and parsing JavaScript objects from strings in JSON format.<\/p>\n The JSON namespace is added to your YUI instance including static methods\nY.JSON.parse(..) and Y.JSON.stringify(..).<\/p>\n The functionality and method signatures follow the ECMAScript 5\nspecification. In browsers with native JSON support, the native\nimplementation is used.<\/p>\n The As their names suggest, The MenuNav Node Plugin makes it easy to transform existing list-based \nmarkup into traditional, drop down navigational menus that are both accessible \nand easy to customize, and only require a small set of dependencies.<\/p>\n To use the MenuNav Node Plugin, simply pass a reference to the plugin to a \nNode instance's \n The MenuNav Node Plugin has several configuration properties that can be \nset via an object literal that is passed as a second argument to a Node \ninstance's \n The Focus Manager Node Plugin makes it easy to manage focus among \na Node's descendants. Primarily intended to help with widget development, \nthe Focus Manager Node Plugin can be used to improve the keyboard \naccessibility of widgets.<\/p>\n \nWhen designing widgets that manage a set of descendant controls (i.e. buttons\nin a toolbar, tabs in a tablist, menuitems in a menu, etc.) it is important to \nlimit the number of descendants in the browser's default tab flow. The fewer \nnumber of descendants in the default tab flow, the easier it is for keyboard \nusers to navigate between widgets by pressing the tab key. When a widget has \nfocus it should provide a set of shortcut keys (typically the arrow keys) \nto move focus among its descendants.\n<\/p>\n \nTo this end, the Focus Manager Node Plugin makes it easy to define a Node's \nfocusable descendants, define which descendant should be in the default tab \nflow, and define the keys that move focus among each descendant.\nAdditionally, as the CSS \n By default, the keys contained in the object are:<\/p>\n By default, the keys contained in the object are:<\/p>\n The callback is a Event.Custom, so the signature is:<\/p>\n type <string>, args <array>, customobject <object><\/p>\n For DOMReady events, there are no fire argments, so the\nsignature is:<\/p>\n \"DOMReady\", [], obj<\/p>", "guessedname": "domready", "guessedtype": "property"}, "mouseleave": {"return": "{EventHandle} the detach handle", "params": [{"type": "string", "name": "type", "description": " \"mouseleave\""}, {"type": "string", "name": "fn", "description": " The method the event invokes."}, {"type": "string|node", "name": "el", "description": " The element(s) to assign the listener to."}, {"type": "string", "name": "spec", "description": " Optional. String representing a selector that must \nmatch the target of the event in order for the listener to be called."}], "description": "Sets up a \"mouseleave\" listenera listener that is called the first time \nthe user's mouse leaves the specified element(s). By passing a CSS selector \nas the fourth argument, can also be used to delegate a \"mouseleave\" \nevent listener.", "guessedname": "mouseleave", "guessedtype": "property"}, "event:ready": {"deprecated": "use 'domready' instead", "description": "Use domready event instead. @see domready"}, "focus": {"description": "Adds a DOM focus listener. Uses the focusin event in IE,\nand the capture phase otherwise so that\nthe event propagates in a way that enables event delegation.\nNote: if you are registering this event on the intended target\nrather than an ancestor, the element must be in the DOM in\norder for it to work in Opera.", "guessedname": "focus", "guessedtype": "property"}, "windowresize": {"description": "Firefox fires the window resize event once when the resize action\nfinishes, other browsers fire the event periodically during the\nresize. This code uses timeout logic to simulate the Firefox \nbehavior in other browsers.", "guessedname": "windowresize", "guessedtype": "property"}, "contentready": {"description": "Executes the callback as soon as the specified element \nis detected in the DOM with a nextSibling property\n(indicating that the element's children are available)", "guessedname": "contentready", "guessedtype": "property"}, "delegate": {"return": "{EventHandle} the detach handle", "params": [{"type": "string", "name": "type", "description": " 'delegate'"}, {"type": "string", "name": "fn", "description": " the function to execute"}, {"type": "string|node", "name": "el", "description": " the element that is the delegation container"}, {"type": "string", "name": "delegateType", "description": " the event type to delegate"}, {"type": "string", "name": "spec", "description": " a selector that must match the target of the\nevent."}], "description": "Sets up a delegated listener container.", "guessedname": "delegate", "guessedtype": "property"}, "key": {"return": "{Event.Handle} the detach handle", "params": [{"type": "string", "name": "type", "description": " 'key'"}, {"type": "string", "name": "fn", "description": " the function to execute"}, {"type": "string", "name": "id", "description": " the element(s) to bind"}, {"type": "string", "name": "spec", "description": " the keyCode and modifier specification"}, {"type": "", "name": "o", "description": " optional context object"}, {"type": "", "name": "args", "description": " 0..n additional arguments that should be provided \nto the listener."}], "description": "Add a key listener. The listener will only be notified if the\nkeystroke detected meets the supplied specification. The\nspec consists of the key event type, followed by a colon,\nfollowed by zero or more comma separated key codes, followed\nby zero or more modifiers delimited by a plus sign. Ex:\npress:12,65+shift+ctrl", "guessedname": "key", "guessedtype": "property"}, "blur": {"description": "Adds a DOM blur listener. Uses the focusout event in IE,\nand the capture phase otherwise so that\nthe event propagates in a way that enables event delegation.\nNote: if you are registering this event on the intended target\nrather than an ancestor, the element must be in the DOM \nat the time of registration in order for it to work in Opera.", "guessedname": "blur", "guessedtype": "property"}, "mouseenter": {"return": "{EventHandle} the detach handle", "params": [{"type": "string", "name": "type", "description": " \"mouseenter\""}, {"type": "string", "name": "fn", "description": " The method the event invokes."}, {"type": "string|node", "name": "el", "description": " The element(s) to assign the listener to."}, {"type": "string", "name": "spec", "description": " Optional. String representing a selector that must \nmatch the target of the event in order for the listener to be called."}], "description": "Sets up a \"mouseenter\" listenera listener that is called the first time \nthe user's mouse enters the specified element(s). By passing a CSS selector \nas the fourth argument, can also be used to delegate a \"mouseenter\" \nevent listener.", "guessedname": "mouseenter", "guessedtype": "property"}}, "description": "The YUI global namespace object. If YUI is already defined, the\nexisting YUI object will not be overwritten so that defined\nnamespaces are preserved."}, "DataSource.Local": {"name": "DataSource.Local", "configs": {"source": {"default": "null", "type": "MIXED", "description": "Pointer to live data.", "guessedname": "source", "guessedtype": "property"}}, "constructors": [{"description": "Base class for the DataSource Utility."}], "namespace": "", "module": "datasource", "events": {"data": {"preventable": "_defDataFn", "params": [{"type": "Event.Facade", "name": "e", "description": " Event Facade with the following properties:\n \nSubscribers to the \"on\" moment of this event, will be notified \nbefore the widget is rendered.\n<\/p>\n \nSubscribers to the \"after\" momemt of this event, will be notified\nafter rendering is complete.\n<\/p>", "guessedname": "queuable", "guessedtype": "property"}, "disabledChange": {"params": [{"type": "Event.Facade", "name": "event", "description": "An Event Facade object with the following attribute specific properties added:\t \nThis method should only be invoked once for an initialized\nwidget.\n<\/p>\n \nIt delegates to the widget specific renderer method to do\nthe actual work.\n<\/p>", "chainable": "", "params": [{"type": "Object | String", "name": "parentNode", "description": " Optional. The Node under which the \nWidget is to be rendered. This can be a Node instance or a CSS selector string. \n \nIf the selector string returns more than one Node, the first node will be used \nas the parentNode. NOTE: This argument is required if both the boundingBox and contentBox\nare not currently in the document. If it's not provided, the Widget will be rendered\nto the body of the current document in this case.\n<\/p>"}], "guessedname": "render", "guessedtype": "function", "final": ""}, "show": {"description": "Shows the Module element by setting the \"visible\" attribute to \"true\".", "guessedname": "show", "guessedtype": "function"}, "focus": {"description": "Causes the Widget to receive the focus by setting the \"focused\" \nattribute to \"true\".", "guessedname": "focus", "guessedtype": "function"}, "initializer": {"protected": "", "params": [{"type": "Object", "name": "config", "description": " Configuration object literal for the widget"}], "description": "Initializer lifecycle implementation for the Widget class. Registers the \nwidget instance, and runs through the Widget's HTML_PARSER definition.", "guessedname": "initializer", "guessedtype": "function"}, "disabled": {"description": "Set the Widget's \"disabled\" attribute to \"true\".", "guessedname": "disable", "guessedtype": "function"}, "_uiSetDisabled": {"protected": "", "params": [{"type": "boolean", "name": "val", "description": ""}], "description": "Sets the disabled state for the UI", "guessedname": "_uiSetDisabled", "guessedtype": "function"}, "_setBox": {"return": {"type": "Node", "description": "The node"}, "description": "Helper method to set the bounding\/content box, or create it from\nthe provided template if not found.", "private": "", "params": [{"type": "Node|String", "name": "node", "description": " The node reference"}, {"type": "String", "name": "template", "description": " HTML string template for the node"}], "guessedname": "_setBox", "guessedtype": "function"}, "_afterHeightChange": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the attribute change"}], "description": "Default height attribute state change handler", "guessedname": "_afterHeightChange", "guessedtype": "function"}, "renderer": {"protected": "", "description": "Creates DOM (or manipulates DOM for progressive enhancement)\nThis method is invoked by render() and is not chained \nautomatically for the class hierarchy (like initializer, destructor) \nso it should be chained manually for subclasses if required.", "guessedname": "renderer", "guessedtype": "function"}, "_syncUI": {"protected": "", "description": "Updates the widget UI to reflect the attribute state.", "guessedname": "_syncUI", "guessedtype": "function"}, "_uiSetHeight": {"protected": "", "params": [{"type": "String | Number", "name": "val", "description": ""}], "description": "Sets the height on the widget's bounding box element", "guessedname": "_uiSetHeight", "guessedtype": "function"}, "hide": {"description": "Shows the Module element by setting the \"visible\" attribute to \"false\".", "guessedname": "hide", "guessedtype": "function"}, "getString": {"params": [{"type": "String", "name": "key", "description": " The key."}, {"type": "String", "name": "locale", "description": " (optional) The locale for which the string value is required. Defaults to the current locale, if not provided."}], "description": "Gets the string for a particular key, for a particular locale, performing locale lookup.\n \nIf no values if defined for the key, for the given locale, the value for the \ndefault locale (in initial locale set for the class) is returned.\n<\/p>", "guessedname": "getString", "guessedtype": "function"}, "_bindUI": {"protected": "", "description": "Sets up DOM and CustomEvent listeners for the widget.", "guessedname": "_bindUI", "guessedtype": "function"}, "Widget.getByNode": {"return": {"type": "Widget", "description": "Widget instance, or null if not found."}, "description": "Returns the widget instance whose bounding box contains, or is, the given node. \n \nIn the case of nested widgets, the nearest bounding box ancestor is used to\nreturn the widget instance.\n<\/p>", "static": "", "guessedname": "getByNode", "guessedtype": "function", "params": [{"type": "Node | String", "name": "node", "description": " The node for which to return a Widget instance. If a selector\nstring is passed in, which selects more than one node, the first node found is used."}]}, "destructor": {"protected": "", "description": "Descructor lifecycle implementation for the Widget class. Purges events attached\nto the bounding box (and all child nodes) and removes the Widget from the \nlist of registered widgets.", "guessedname": "destructor", "guessedtype": "function"}, "getDefaultLocale": {"return": {"type": "String", "description": "The default locale for the widget"}, "description": "Returns the default locale for the widget (the locale value defined by the\nwidget class, or provided by the user during construction).", "guessedname": "getDefaultLocale", "guessedtype": "function"}, "_getStrings": {"protected": "", "params": [{"type": "Object", "name": "locale", "description": ""}], "description": "Returns the strings key\/value hash for a paricular locale, without locale lookup applied.", "guessedname": "_getStrings", "guessedtype": "function"}, "toString": {"return": {"type": "String", "description": "The default string value for the widget [ displays the NAME of the instance, and the unique id ]"}, "description": "Generic toString implementation for all widgets.", "guessedname": "toString", "guessedtype": "function"}, "blur": {"description": "Causes the Widget to lose focus by setting the \"focused\" attribute \nto \"false\"", "guessedname": "blur", "guessedtype": "function"}, "bindUI": {"protected": "", "description": "Configures\/Sets up listeners to bind Widget State to UI\/DOM\nThis method is not called by framework and is not chained \nautomatically for the class hierarchy.", "guessedname": "bindUI", "guessedtype": "function"}, "_renderBox": {"guessedname": "_renderBox", "params": [{"type": "Node", "name": "parentNode", "description": " The parentNode to render the widget to. If not provided, and both the boundingBox and\nthe contentBox are not currently in the document, the widget will be rendered to the current document's body."}], "description": "Helper method to collect the boundingBox and contentBox, set styles and append to the provided parentNode, if not\nalready a child. The owner document of the boundingBox, or the owner document of the contentBox will be used \nas the document into which the Widget is rendered if a parentNode is node is not provided. If both the boundingBox and\nthe contentBox are not currently in the document, and no parentNode is provided, the widget will be rendered \nto the current document's body.", "private": "", "guessedtype": "function"}, "_onDocMouseDown": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the DOM focus event"}], "description": "\"mousedown\" event handler for the owner document of the \nwidget's bounding box.", "guessedname": "_onDocMouseDown", "guessedtype": "function"}, "_parseHTML": {"return": {"type": "Object", "description": "config configuration object, with values found in the HTML, populated"}, "description": "Utilitity method used to apply the \nIf no values of the key are defined for a particular locale the value for the \ndefault locale (in initial locale set for the class) is returned.\n<\/p>"}, "_uiSetFocused": {"protected": "", "params": [{"type": "boolean", "name": "val", "description": ""}, {"type": "string", "name": "src", "description": " String representing the source that triggered an update to \nthe UI."}], "description": "Sets the focused state for the UI", "guessedname": "_uiSetFocused", "guessedtype": "function"}, "_onFocus": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the DOM focus event"}], "description": "DOM focus event handler, used to sync the state of the Widget with the DOM", "guessedname": "_onFocus", "guessedtype": "function"}, "_afterWidthChange": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the attribute change"}], "description": "Default widget attribute state change handler", "guessedname": "_afterWidthChange", "guessedtype": "function"}, "_renderBoxClassNames": {"protected": "", "description": "Applies standard class names to the boundingBox and contentBox", "guessedname": "_renderBoxClassNames", "guessedtype": "function"}, "_afterFocusedChange": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the attribute change"}], "description": "Default focused attribute state change handler", "guessedname": "_afterFocusedChange", "guessedtype": "function"}, "_afterVisibleChange": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the attribute change"}], "description": "Default visible attribute state change handler", "guessedname": "_afterVisibleChange", "guessedtype": "function"}, "_renderUI": {"protected": "", "params": [{"type": "Node", "name": "The", "description": " parent node to rendering the widget into"}], "description": "Initializes the UI state for the Widget's bounding\/content boxes.", "guessedname": "_renderUI", "guessedtype": "function"}, "_uiSetWidth": {"protected": "", "params": [{"type": "String | Number", "name": "val", "description": ""}], "description": "Sets the width on the widget's bounding box element", "guessedname": "_uiSetWidth", "guessedtype": "function"}, "_getHtmlParser": {"return": {"type": "Object", "description": "HTML_PARSER definition for this instance"}, "description": "Gets the HTML_PARSER definition for this instance, by merging HTML_PARSER\ndefinitions across the class hierarchy.", "guessedname": "_getHtmlParser", "guessedtype": "function"}, "syncUI": {"description": "Refreshes the rendered UI, based on Widget State\nThis method is not called by framework and is not chained\nautomatically for the class hierarchy.", "guessedname": "syncUI", "guessedtype": "function"}, "_setContentBox": {"return": {"type": "", "description": "Node"}, "description": "Setter for the contentBox attribute", "private": "", "params": [{"type": "Node|String", "name": "node", "description": ""}], "guessedname": "_setContentBox", "guessedtype": "function"}, "_bindDOMListeners": {"protected": "", "description": "Sets up DOM listeners, on elements rendered by the widget.", "guessedname": "_bindDOMListeners", "guessedtype": "function"}, "_defRenderFn": {"protected": "", "params": [{"type": "EventFacade", "name": "e", "description": " The Event object"}, {"type": "Node", "name": "parentNode", "description": " The parent node to render to, if passed in to the \nThe instance based version of this method can be used to generate standard prefixed classnames,\nbased on the instances NAME, as opposed to Widget.NAME. This method should be used when you\nneed to use a constant class name across different types instances.\n<\/p>", "guessedname": "getClassName", "guessedtype": "function"}, "_afterDisabledChange": {"protected": "", "params": [{"type": "EventFacade", "name": "evt", "description": " The event facade for the attribute change"}], "description": "Default disabled attribute state change handler", "guessedname": "_afterDisabledChange", "guessedtype": "function"}, "renderUI": {"protected": "", "description": "Adds nodes to the DOM \nThis method is not called by framework and is not chained \nautomatically for the class hierarchy.", "guessedname": "renderUI", "guessedtype": "function"}, "_setBoundingBox": {"return": {"type": "", "description": "Node"}, "description": "Setter for the boundingBox attribute", "private": "", "params": [{"type": "", "name": "Node\/String", "description": ""}], "guessedname": "_setBoundingBox", "guessedtype": "function"}}, "extends": "Base", "superclass": "Base", "file": "Widget.js", "shortname": "Widget", "properties": {"CONTENT_TEMPLATE": {"type": "String", "description": "Static property defining the markup template for content box.", "guessedname": "CONTENT_TEMPLATE", "guessedtype": "property"}, "_strings": {"guessedname": "_strings", "type": "Object", "description": "Private stings hash, used to store strings in locale specific buckets.", "private": "", "guessedtype": "property"}, "Widget._NAME_LOWERCASE": {"guessedname": "_NAME_LOWERCASE", "static": "", "description": "Cached lowercase version of Widget.NAME", "private": "", "guessedtype": "property"}, "DEF_UNIT": {"description": "Default unit to use for dimension values", "guessedname": "DEF_UNIT", "guessedtype": "property"}, "Widget.HTML_PARSER": {"type": "Object", "static": "", "description": "Object hash, defining how attribute values are to be parsed from\nmarkup contained in the widget's content box. e.g.:\n \nDefines the static fields which need to be aggregated,\nwhen this class is used as the main class passed to \nthe Base.build<\/a> method.\n<\/p>", "private": "", "static": "", "guessedname": "_buildCfg", "guessedtype": "property", "type": "Object", "final": ""}, "Widget.UI_SRC": {"description": "Constant used to identify state changes originating from\nthe DOM (as opposed to the JavaScript model).", "static": "", "guessedname": "UI_SRC", "guessedtype": "property", "type": "String", "final": ""}, "Widget.ATTRS": {"type": "Object", "static": "", "description": "Static property used to define the default attribute \nconfiguration for the Widget.", "guessedname": "ATTRS", "guessedtype": "property"}, "Widget.NAME": {"type": "String", "static": "", "description": "Static property provides a string to identify the class.\n \nCurrently used to apply class identifiers to the bounding box \nand to classify events fired by the widget.\n<\/p>", "guessedname": "NAME", "guessedtype": "property"}, "WRAP_STYLES": {"type": "Object", "description": "Static property listing the styles that are mimiced on the bounding box from the content box.", "guessedname": "WRAP_STYLES", "guessedtype": "property"}}, "description": "A base class for widgets, providing:\n \nA base class which objects requiring attributes and custom event support can \nextend. Base also handles the chaining of initializer and destructor methods across \nthe hierarchy as part of object construction and destruction. Additionally, attributes configured \nthrough the static ATTRS<\/a> property for each class \nin the hierarchy will be initialized by Base.\n<\/p>\n \nThe static NAME<\/a> property of each class extending \nfrom Base will be used as the identifier for the class, and is used by Base to prefix \nall events fired by instances of that class.\n<\/p>"}], "namespace": "", "module": "base", "events": {"destroy": {"preventable": "_defDestroyFn", "params": [{"type": "EventFacade", "name": "e", "description": " Event object"}], "description": " \nLifecycle event for the destroy phase, \nfired prior to destruction. Invoking the preventDefault \nmethod on the event object provided to subscribers will \nprevent destruction from proceeding.\n<\/p>\n \nSubscribers to the \"after\" moment of this event, will be notified\nafter destruction is complete (and as a result cannot prevent\ndestruction).\n<\/p>"}, "destroyedChange": {"params": [{"type": "Event.Facade", "name": "event", "description": "An Event Facade object with the following attribute specific properties added:\t \nLifecycle event for the init phase, fired prior to initialization. \nInvoking the preventDefault() method on the event object provided \nto subscribers will prevent initialization from occuring.\n<\/p>\n \nSubscribers to the \"after\" momemt of this event, will be notified\nafter initialization of the object is complete (and therefore\ncannot prevent initialization).\n<\/p>"}, "initializedChange": {"params": [{"type": "Event.Facade", "name": "event", "description": "An Event Facade object with the following attribute specific properties added:\t \nDestroy lifecycle method. Fires the destroy\nevent, prior to invoking destructors for the\nclass hierarchy.\n<\/p>\n \nSubscribers to the destroy\nevent can invoke preventDefault on the event object, to prevent destruction\nfrom proceeding.\n<\/p>", "chainable": "", "guessedname": "destroy", "guessedtype": "function", "final": ""}, "_initHierarchy": {"guessedname": "_initHierarchy", "params": [{"type": "Object", "name": "userVals", "description": " Object with configuration property name\/value pairs"}], "description": "Initializes the class hierarchy for the instance, which includes \ninitializing attributes for each class defined in the class's \nstatic ATTRS<\/a> property and \ninvoking the initializer method on the prototype of each class in the hierarchy.", "private": "", "guessedtype": "function"}, "Base.build": {"return": {"type": "Function", "description": "A custom class, created from the provided main and extension classes"}, "description": "Y.log( message, category, source )<\/code> method. The\ndebug versions of YUI modules will include logging statements to offer some\ninsight into the steps executed during that module's operation. Including\nlog statements in your code will cause those messages to also appear in the\nConsole. Use Console to aid in developing your page or application.\nEntry categories "info", "warn", and "error"\nare also referred to as the log level, and entries are filtered against the\nconfigured logLevel.", "submodules": [], "classlist": ["Console"], "filelist": ["console.js"], "subdata": {}, "name": "console"}, "overlay": {"description": "Provides a basic Overlay widget, with Standard Module content support. The Overlay widget\nprovides Page XY positioning support, alignment and centering support along with basic \nstackable support (z-index and shimming).", "submodules": [], "classlist": ["Overlay"], "filelist": ["Overlay.js"], "subdata": {}, "name": "overlay"}, "event-simulate": {"description": "Synthetic DOM events", "submodules": [], "classlist": [], "filelist": ["event-simulate.js"], "subdata": {}, "name": "event-simulate"}, "cache": {"description": "The Cache utility provides a common configurable interface for components to\ncache and retrieve data from a local JavaScript struct.", "submodules": [], "classlist": ["Cache"], "filelist": ["cache.js"], "subdata": {}, "guessedname": "LANG", "guessedtype": "property", "name": "cache"}, "stylesheet": {"description": "The StyleSheet component is a module for creating and modifying CSS\nstylesheets.", "submodules": [], "classlist": ["StyleSheet"], "filelist": ["stylesheet.js"], "subdata": {}, "guessedname": "d", "guessedtype": "property", "name": "stylesheet"}, "widget-position": {"description": "Provides basic XY positioning support for Widgets, though an extension", "submodules": [], "classlist": ["WidgetPosition"], "filelist": ["Widget-Position.js"], "subdata": {}, "guessedname": "Lang", "guessedtype": "property", "name": "widget-position"}, "json": {"description": "json<\/code> module is a rollup of json-parse<\/code> and\njson-stringify<\/code>.<\/p>\njson-parse<\/code> adds support for parsing\nJSON data (Y.JSON.parse) and json-stringify<\/code> for serializing\nJavaScript data into JSON strings (Y.JSON.stringify). You may choose to\ninclude either of the submodules individually if you don't need the\ncomplementary functionality, or include the rollup for both.<\/p>", "submodules": ["json-stringify", "json-parse"], "classlist": ["JSON"], "filelist": ["json-stringify.js", "json-parse.js"], "subdata": {"json-stringify": {"name": "JSON", "description": "Provides Y.JSON.stringify method for converting objects to JSON strings."}, "json-parse": {"name": "JSON", "description": "Provides Y.JSON.parse method to accept JSON strings and return native\nJavaScript objects."}}, "static": "", "guessedname": "_toString", "guessedtype": "property", "name": "json"}, "node-menunav": {"description": "plug<\/code> method.<\/p>\n\n<script type=\"text\/javascript\">
\n
\n\/\/\tCall the \"use\" method, passing in \"node-menunav\". This will
\n\/\/\tload the script and CSS for the MenuNav Node Plugin and all of
\n\/\/\tthe required dependencies.
\n
\nYUI().use(\"node-menunav\", function(Y) {
\n
\n\/\/\tUse the \"contentready\" event to initialize the menu when
\n\/\/\tthe subtree of element representing the root menu
\n\/\/\t(<div id=\"menu-1\">) is ready to be scripted.
\n
\nY.on(\"contentready\", function () {
\n
\n\/\/\tThe scope of the callback will be a Node instance
\n\/\/\trepresenting the root menu (<div id=\"menu-1\">).
\n\/\/\tTherefore, since \"this\" represents a Node instance, it
\n\/\/\tis possible to just call \"this.plug\" passing in a
\n\/\/\treference to the MenuNav Node Plugin.
\n
\nthis.plug(Y.Plugin.NodeMenuNav);
\n
\n}, \"#menu-1\");
\n
\t\t\n});
\n
\t\n<\/script>
\n<\/code>\n<\/p>\nplug<\/code> method.\n<\/p>\n\n<script type=\"text\/javascript\">
\n
\n\/\/\tCall the \"use\" method, passing in \"node-menunav\". This will
\n\/\/\tload the script and CSS for the MenuNav Node Plugin and all of
\n\/\/\tthe required dependencies.
\n
\nYUI().use(\"node-menunav\", function(Y) {
\n
\n\/\/\tUse the \"contentready\" event to initialize the menu when
\n\/\/\tthe subtree of element representing the root menu
\n\/\/\t(<div id=\"menu-1\">) is ready to be scripted.
\n
\nY.on(\"contentready\", function () {
\n
\n\/\/\tThe scope of the callback will be a Node instance
\n\/\/\trepresenting the root menu (<div id=\"menu-1\">).
\n\/\/\tTherefore, since \"this\" represents a Node instance, it
\n\/\/\tis possible to just call \"this.plug\" passing in a
\n\/\/\treference to the MenuNav Node Plugin.
\n
\nthis.plug(Y.Plugin.NodeMenuNav, { mouseOutHideDelay: 1000 });\n
\n}, \"#menu-1\");
\n
\t\t\n});
\n
\t\n<\/script>
\n<\/code>\n<\/p>", "submodules": [], "classlist": ["plugin.NodeMenuNav"], "filelist": ["node-menunav.js"], "subdata": {}, "name": "node-menunav"}, "test": {"description": "YUI JavaScript Testing Framework", "submodules": [], "classlist": ["Assert", "Assert.Error", "Assert.ComparisonFailure", "Assert.UnexpectedValue", "Assert.ShouldFail", "Assert.ShouldError", "Assert.UnexpectedError", "Assert.ObjectAssert", "Test.Suite", "Test.Format.Mock", "Test.Case", "Test.Wait", "Test.TestNode", "Test.Runner", "Test.DateAssert", "Test.Reporter", "Test.Manager", "Test.ArrayAssert"], "filelist": ["Assert.js", "ObjectAssert.js", "TestSuite.js", "TestFormat.js", "Mock.js", "TestCase.js", "TestRunner.js", "DateAssert.js", "TestReporter.js", "TestManager.js", "ArrayAssert.js"], "subdata": {}, "name": "test"}, "datasource": {"description": "The DataSource utility provides a common configurable interface for widgets to\naccess a variety of data, from JavaScript arrays to online database servers.", "submodules": ["datasource-get", "datasource-function", "datasource-polling", "datasource-arrayschema", "datasource-xmlschema", "datasource-jsonschema", "datasource-io", "datasource-local", "datasource-cache", "datasource-textschema"], "classlist": ["DataSource.Get", "DataSource.Function", "Pollable", "DataSourceArraySchema", "DataSourceXMLSchema", "DataSourceJSONSchema", "DataSource.IO", "DataSource.Local", "DataSourceCache", "DataSourceTextSchema"], "filelist": ["datasource-get.js", "datasource-function.js", "datasource-polling.js", "datasource-arrayschema.js", "datasource-xmlschema.js", "datasource-jsonschema.js", "datasource-io.js", "datasource-local.js", "datasource-cache.js", "datasource-textschema.js"], "subdata": {"datasource-io": {"name": "DataSource.IO", "description": "Provides a DataSource implementation which can be used to retrieve data via the IO Utility."}, "datasource-function": {"name": "DataSource.Function", "description": "Provides a DataSource implementation which can be used to retrieve data from a custom function."}, "datasource-arrayschema": {"name": "DataSourceArraySchema", "description": "Extends DataSource with schema-parsing on array data."}, "datasource-textschema": {"name": "DataSourceTextSchema", "description": "Extends DataSource with schema-parsing on text data."}, "datasource-cache": {"name": "DataSourceCache", "description": "Extends DataSource with caching functionality."}, "datasource-jsonschema": {"name": "DataSourceJSONSchema", "description": "Extends DataSource with schema-parsing on JSON data."}, "datasource-polling": {"name": "Pollable", "description": "Extends DataSource with polling functionality."}, "datasource-local": {"name": "DataSource.Local", "description": "Provides the base DataSource implementation, which can be extended to\ncreate DataSources for specific data protocols, such as the IO Utility, the\nGet Utility, or custom functions."}, "datasource-get": {"name": "DataSource.Get", "description": "Provides a DataSource implementation which can be used to retrieve data via the Get Utility."}, "datasource-xmlschema": {"name": "DataSourceXMLSchema", "description": "Extends DataSource with schema-parsing on XML data."}}, "name": "datasource"}, "node": {"name": "node", "submodules": ["node-aria", "node-event-simulate", "nodelist", "node-base", "node-style", "node-event-delegate", "node-screen"], "classlist": ["NodeList", "Node"], "filelist": ["node-aria.js", "node-event-simulate.js", "nodelist.js", "node-imports.js", "node.js", "node-style.js", "node-event-delegate.js", "node-screen.js", "node-class.js", "node-region.js"], "subdata": {"nodelist": {"name": "NodeList", "description": "The NodeList module provides support for managing collections of Nodes."}, "node-event-simulate": {"name": "", "description": "Adds functionality to simulate events."}, "node-event-delegate": {"name": "NodeList", "description": "Functionality to make the node a delegated event container"}, "node-base": {"name": "Node", "description": "The Node Utility provides a DOM-like interface for interacting with DOM nodes."}, "node-style": {"name": "Node", "description": "Extended Node interface for managing node styles."}, "node-aria": {"name": "", "description": "Aria support for Node"}, "node-screen": {"name": "Node", "description": "Extended Node interface for managing regions and screen positioning.\nAdds support for positioning elements and normalizes window size and scroll detection."}}, "guessedname": "re_aria", "guessedtype": "property", "description": "Aria support for Node"}, "widget": {"description": "Provides the base Widget class", "submodules": [], "classlist": ["Widget"], "filelist": ["Widget.js"], "subdata": {}, "name": "widget"}, "anim": {"name": "anim", "submodules": ["anim-scroll", "anim-curve", "anim-easing", "anim-xy", "anim-node-plugin", "anim-color", "anim-base"], "classlist": ["Easing", "Plugin.NodeFX", "Anim"], "filelist": ["anim-scroll.js", "anim-curve.js", "anim-easing.js", "anim-xy.js", "anim-node-plugin.js", "anim-color.js", "anim.js"], "subdata": {"anim-node-plugin": {"name": "Plugin.NodeFX", "description": "Binds an Anim instance to a Node instance"}, "anim-base": {"name": "Anim", "description": "Provides the base Anim class, for animating numeric properties."}, "anim-scroll": {"name": "", "description": "Adds support for the scroll<\/code> property in to<\/code>\nand from<\/code> attributes."}, "anim-xy": {"name": "Easing", "description": "Adds support for the xy<\/code> property in from<\/code> and \nto<\/code> attributes."}, "anim-color": {"name": "Plugin.NodeFX", "description": "Adds support for color properties in to<\/code>\nand from<\/code> attributes."}, "anim-curve": {"name": "", "description": "Adds support for the curve<\/code> property for the to<\/code> \nattribute. A curve is zero or more control points and an end point."}, "anim-easing": {"name": "Easing", "description": "The easing module provides methods for customizing\nhow an animation behaves during each run."}}, "guessedname": "NUM", "guessedtype": "property", "description": "The Animation Utility provides an API for creating advanced transitions."}, "dd": {"description": "Extends the dd-ddm Class to add support for the placement of Drop Target shims inside the viewport shim. It also handles all Drop Target related events and interactions.", "submodules": ["dd-ddm-drop", "dd-scroll", "dd-drop-plugin", "dd-constrain", "dd-drag", "dd-ddm", "dd-drop", "dd-ddm-base", "dd-proxy", "dd-plugin"], "classlist": ["DD.Scroll", "Plugin.DDWindowScroll", "Plugin.DDNodeScroll", "Plugin.Drop", "Plugin.DragConstrained", "DD.Drag", "DD.Drop", "DD.DDM", "Plugin.DDProxy", "Plugin.Drag"], "filelist": ["ddm-drop.js", "scroll.js", "dd-drop-plugin.js", "constrain.js", "drag.js", "ddm.js", "drop.js", "ddm-base.js", "proxy.js", "dd-plugin.js"], "subdata": {"dd-ddm-drop": {"name": "DD.DDM", "description": "Extends the dd-ddm Class to add support for the placement of Drop Target shims inside the viewport shim. It also handles all Drop Target related events and interactions."}, "dd-constrain": {"name": "Plugin.DragConstrained", "description": "The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety of standard draggable objects with just a few lines of code and then, using its extensive API, add your own specific implementation logic."}, "dd-drop": {"name": "DD.Drop", "description": "The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety of standard draggable objects with just a few lines of code and then, using its extensive API, add your own specific implementation logic."}, "dd-scroll": {"name": "Plugin.DDNodeScroll", "description": "The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety of standard draggable objects with just a few lines of code and then, using its extensive API, add your own specific implementation logic."}, "dd-ddm": {"name": "DD.DDM", "description": "Extends the dd-ddm-base Class to add support for the viewport shim to allow a draggable node to drag to be dragged over an iframe or any other node that traps mousemove events.\nIt is also required to have Drop Targets enabled, as the viewport shim will contain the shims for the Drop Targets."}, "dd-plugin": {"name": "Plugin.Drag", "description": "This is a simple Drag plugin that can be attached to a Node via the plug method."}, "dd-drag": {"name": "DD.Drag", "description": "The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety of standard draggable objects with just a few lines of code and then, using its extensive API, add your own specific implementation logic."}, "dd-proxy": {"name": "Plugin.DDProxy", "description": "The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety of standard draggable objects with just a few lines of code and then, using its extensive API, add your own specific implementation logic."}, "dd-drop-plugin": {"name": "Plugin.Drop", "description": "This is a simple Drop plugin that can be attached to a Node via the plug method."}, "dd-ddm-base": {"name": "DD.DDM", "description": "Provides the base Drag Drop Manger required for making a Node draggable."}}, "name": "dd"}, "collection": {"description": "Collection utilities beyond what is provided in the YUI core", "submodules": [], "classlist": ["YUI~array~extras"], "filelist": ["array-extras.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "collection"}, "slider": {"description": "Create a sliding value range input visualized as a draggable thumb on a\nbackground element.", "submodules": [], "classlist": ["Slider"], "filelist": ["slider.js"], "subdata": {}, "guessedname": "SLIDER", "guessedtype": "property", "name": "slider"}, "base": {"description": "The base module provides the Base class, which objects requiring attribute and custom event support can extend. \nThe module also provides two ways to reuse code - An augmentable Plugin.Host interface which provides plugin support \n(which is augmented to the Base class) and Base.build which provides a way to \nbuild custom classes using extensions.", "submodules": ["base-base", "base-build"], "classlist": ["Plugin.Host", "Base"], "filelist": ["PluginHost.js", "Base.js", "BaseBuild.js"], "subdata": {"base-build": {"name": "Base", "description": "The base-build submodule provides Base.build functionality, which\ncan be used to create custom classes, by aggregating extensions onto \na main class."}, "base-base": {"name": "Base", "description": "The base-base submodule provides the Base class and augmentable Plugin.Host implementation, \nwithout the extension support provided by Base.build."}}, "guessedname": "O", "guessedtype": "property", "name": "base"}, "cookie": {"description": "Utilities for cookie management", "submodules": [], "classlist": ["Cookie"], "filelist": ["Cookie.js"], "subdata": {}, "name": "cookie"}, "oop": {"description": "Supplies object inheritance and manipulation utilities. This adds\nadditional functionaity to what is provided in yui-base, and the\nmethods are applied directly to the YUI instance. This module\nis required for most YUI components.", "submodules": [], "classlist": ["YUI~oop"], "filelist": ["oop.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "oop"}, "widget-stdmod": {"description": "Provides standard module support for Widgets through an extension.", "submodules": [], "classlist": ["WidgetStdMod"], "filelist": ["Widget-StdMod.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "widget-stdmod"}, "dataschema": {"description": "The DataSchema utility provides a common configurable interface for widgets to\napply a given schema to a variety of data.", "submodules": ["dataschema-text", "dataschema-xml", "dataschema-json", "dataschema-base", "dataschema-array"], "classlist": ["DataSchema.Text", "DataSchema.XML", "DataSchema.JSON", "DataSchema.Base", "DataSchema.Array"], "filelist": ["dataschema-text.js", "dataschema-xml.js", "dataschema-json.js", "dataschema-base.js", "dataschema-array.js"], "subdata": {"dataschema-array": {"name": "DataSchema.Array", "description": "Provides a DataSchema implementation which can be used to work with data stored in arrays."}, "dataschema-base": {"name": "DataSchema.Base", "description": "Provides the base DataSchema implementation, which can be extended to \ncreate DataSchemas for specific data formats, such XML, JSON, text and\narrays."}, "dataschema-xml": {"name": "DataSchema.XML", "description": "Provides a DataSchema implementation which can be used to work with XML data."}, "dataschema-text": {"name": "DataSchema.Text", "description": "Provides a DataSchema implementation which can be used to work with delimited text data."}, "dataschema-json": {"name": "DataSchema.JSON", "description": "Provides a DataSchema implementation which can be used to work with JSON data."}}, "guessedname": "LANG", "guessedtype": "property", "name": "dataschema"}, "widget-position-ext": {"description": "Provides extended\/advanced XY positioning support for Widgets, through an extension.\nIt builds on top of the widget-position module, to provide alignmentment and centering support.\nFuture releases aim to add constrained and fixed positioning support.", "submodules": [], "classlist": ["WidgetPositionExt"], "filelist": ["Widget-PositionExt.js"], "subdata": {}, "guessedname": "L", "guessedtype": "property", "name": "widget-position-ext"}, "dom": {"description": "Add style management functionality to DOM.", "submodules": ["dom-style", "selector-native", "dom-screen", "dom-base", "selector-css3", "selector-css2"], "classlist": ["Selector", "DOM"], "filelist": ["dom-style.js", "selector-native.js", "color.js", "dom-region.js", "dom-screen.js", "dom-class.js", "dom-ie-style.js", "dom.js", "selector-css3.js", "selector-css2.js"], "subdata": {"selector-css2": {"name": "Selector", "description": "The selector module provides helper methods allowing CSS2 Selectors to be used with DOM elements."}, "selector-css3": {"name": "Selector", "description": "The selector css3 module provides support for css3 selectors."}, "dom-base": {"name": "DOM", "description": "The DOM utility provides a cross-browser abtraction layer\nnormalizing DOM tasks, and adds extra helper functionality\nfor other common tasks."}, "dom-style": {"name": "DOM", "description": "Add style management functionality to DOM."}, "selector-native": {"name": "Selector", "description": "The selector-native module provides support for native querySelector"}, "dom-screen": {"name": "DOM", "description": "Adds position and region management functionality to DOM."}}, "guessedname": "DOCUMENT_ELEMENT", "guessedtype": "property", "name": "dom"}, "datatype": {"description": "The DataType Utility provides type-conversion and string-formatting\nconvenience methods for various JavaScript object types.", "submodules": ["datatype-date", "datatype-date-format", "datatype-number-parse", "datatype-date-parse", "datatype-xml-parse", "datatype-xml-format", "datatype-xml", "datatype-number", "datatype-number-format"], "classlist": ["DataType.Date", "DataType.Date.Locale", "DataType.XML", "DataType.Number"], "filelist": ["datatype-date-format.js", "datatype-number-parse.js", "datatype-date-locale.js", "datatype-date-parse.js", "datatype-xml-parse.js", "datatype-xml-format.js", "datatype-number-format.js"], "subdata": {"datatype-xml-parse": {"name": "DataType.XML", "description": "Parse XML submodule."}, "datatype-number-format": {"name": "DataType.Number", "description": "Format number submodule."}, "datatype-date": {"name": "", "description": "Date submodule."}, "datatype-xml-format": {"name": "DataType.XML", "description": "Format XML submodule."}, "datatype-xml": {"name": "DataType.XML", "description": "XML submodule."}, "datatype-date-format": {"name": "DataType.Date", "description": "Format date submodule implements strftime formatters for javascript based on the\nOpen Group specification defined at\nhttp:\/\/www.opengroup.org\/onlinepubs\/007908799\/xsh\/strftime.html\nThis implementation does not include modified conversion specifiers (i.e., Ex and Ox)"}, "datatype-date-parse": {"name": "DataType.Date", "description": "Parse number submodule."}, "datatype-number-parse": {"name": "DataType.Number", "description": "Parse number submodule."}, "datatype-number": {"name": "DataType.XML", "description": "Number submodule."}}, "guessedname": "LANG", "guessedtype": "property", "name": "datatype"}, "plugin": {"description": "Provides the base Plugin class, which plugin developers should extend, when creating custom plugins", "submodules": [], "classlist": ["Plugin.Base"], "filelist": ["plugin.js"], "subdata": {}, "name": "plugin"}, "classnamemanager": {"description": "Contains a singleton (ClassNameManager) that enables easy creation and caching of \nprefixed class names.", "submodules": [], "classlist": ["ClassNameManager"], "filelist": ["classnamemanager.js"], "subdata": {}, "name": "classnamemanager"}, "profiler": {"description": "The YUI JavaScript profiler.", "submodules": [], "classlist": ["Profiler"], "filelist": ["Profiler.js"], "subdata": {}, "requires": "yui", "name": "profiler"}, "yui": {"description": "The YUI module contains the components required for building the YUI seed file.\nThis includes the script loading mechanism, the dynamic loader and metadata,\nthe module registration system, and the core utilities for the library.", "submodules": ["get", "loader"], "classlist": ["Object", "YUI", "config", "Get", "Loader", "Array", "UA", "Lang"], "filelist": ["yui-object.js", "yui-base.js", "yui.js", "_module.js", "yui-core.js", "yui-later.js", "get.js", "loader.js", "yui-array.js", "yui-init.js", "yui-log.js", "yui-ua.js", "yui-lang.js"], "subdata": {"loader": {"name": "Lang", "description": "Loader dynamically loads script and css files. It includes the dependency\ninfo for the version of the library in use, and will automatically pull in\ndependencies for the modules requested. It supports rollup files and will\nautomatically use these when appropriate in order to minimize the number of\nhttp connections required to load all of the dependencies. It can load the\nfiles from the Yahoo! CDN, and it can utilize the combo service provided on\nthis network to reduce the number of http connections required to download \nYUI files."}, "get": {"name": "Get", "description": "Provides a mechanism to fetch remote resources and\ninsert them into a document."}}, "guessedname": "ua", "guessedtype": "property", "name": "yui"}, "imageloader": {"description": "The ImageLoader Utility is a framework to dynamically load images according to certain triggers,\nenabling faster load times and a more responsive UI.", "submodules": [], "classlist": ["ImgLoadGroup", "ImgLoadImgObj"], "filelist": ["imageloader.js"], "subdata": {}, "requires": "node", "name": "imageloader"}, "event-custom": {"description": "Custom event engine, DOM event listener abstraction layer, synthetic DOM \nevents.", "submodules": [], "classlist": ["EventFacade", "EventTarget", "Do", "Do.Method", "Do.AlterArgs", "Do.AlterReturn", "Do.Halt", "Do.Prevent", "Do.Error", "EventHandle", "CustomEvent", "Subscriber"], "filelist": ["event.js", "event-facade.js", "event-target.js", "event-do.js", "event-custom.js"], "subdata": {}, "name": "event-custom"}, "node-focusmanager": {"description": ":focus<\/code><\/a> \npseudo class is not supported on all elements in all \nA-Grade browsers<\/a>,\nthe Focus Manager Node Plugin provides an easy, cross-browser means of \nstyling focus.\n<\/p>", "submodules": [], "classlist": ["plugin.NodeFocusManager"], "filelist": ["node-focusmanager.js"], "subdata": {}, "name": "node-focusmanager"}, "history": {"description": "The Browser History Utility provides the ability to use the back\/forward\nnavigation buttons in a DHTML application. It also allows a DHTML\napplication to be bookmarked in a specific state.\nThis utility requires the following static markup:\n<iframe id=\"yui-history-iframe\" src=\"path-to-real-asset-in-same-domain\"><\/iframe>\n<input id=\"yui-history-field\" type=\"hidden\">", "submodules": [], "classlist": ["History", "History.Module"], "filelist": ["history.js"], "subdata": {}, "name": "history"}}, "classmap": {"Console": {"name": "Console", "configs": {"height": {"default": "\"300px\"", "type": "{String | Number}", "description": "String with units, or number, representing the height of the Console,\ninclusive of header and footer. If a number is provided, the default\nunit, defined by Widget's DEF_UNIT, property is used.", "guessedname": "height", "guessedtype": "property"}, "consoleLimit": {"default": "300", "type": "Number", "description": "Maximum number of Console entries allowed in the Console body at one\ntime. This is used to keep acquired messages from exploding the\nDOM tree and impacting page performance.", "guessedname": "consoleLimit", "guessedtype": "property"}, "width": {"default": "\"300px\"", "type": "{String | Number}", "description": "String with units, or number, representing the width of the Console.\nIf a number is provided, the default unit, defined by Widget's\nDEF_UNIT, property is used.", "guessedname": "width", "guessedtype": "property"}, "logLevel": {"default": "Y.config.logLevel or Console.LOG_LEVEL_INFO", "type": "String", "description": "Minimum entry log level to render into the Console. The initial\nlogLevel value for all Console instances defaults from the\nY.config.logLevel YUI configuration, or Console.LOG_LEVEL_INFO if\nthat configuration is not set.\nPossible values are "info", "warn",\n"error" (case insensitive), or their corresponding statics\nConsole.LOG_LEVEL_INFO and so on.", "guessedname": "logLevel", "guessedtype": "property"}, "printLimit": {"default": "50", "type": "Number", "description": "Maximum number of entries printed in each iteration of the print\nloop. This is used to prevent excessive logging locking the page UI.", "guessedname": "printLimit", "guessedtype": "property"}, "collapsed": {"default": "false", "type": "Boolean", "description": "Controls the collapsed state of the Console", "guessedname": "collapsed", "guessedtype": "property"}, "logSource": {"default": "Y", "type": "EventTarget", "description": "Object that will emit the log events. By default the YUI instance.\nTo have a single Console capture events from all YUI instances, set\nthis to the Y.Global object.", "guessedname": "logSource", "guessedtype": "property"}, "printTimeout": {"default": "100", "type": "Number", "description": "Millisecond timeout between iterations of the print loop, moving\nentries from the buffer to the UI.", "guessedname": "printTimeout", "guessedtype": "property"}, "defaultSource": {"default": "\"global\"", "type": "String", "description": "If a source is not specified in the Y.log(..) statement, this\nsource will be used.", "guessedname": "defaultSource", "guessedtype": "property"}, "paused": {"default": "false", "type": "boolean", "description": "Boolean to pause the outputting of new messages to the console.\nWhen paused, messages will accumulate in the buffer.", "guessedname": "paused", "guessedtype": "property"}, "newestOnTop": {"default": "true", "type": "Boolean", "description": "New entries should display at the top of the Console or the bottom?", "guessedname": "newestOnTop", "guessedtype": "property"}, "logEvent": {"default": "\"yui:log\"", "type": "String", "description": "Name of the custom event that will communicate log messages.", "guessedname": "logEvent", "guessedtype": "property"}, "startTime": {"default": "The moment the console module is use<\/code>d", "type": "Date", "description": "The baseline time for this Console instance, used to measure elapsed\ntime from the moment the console module is use<\/code>d to the\nmoment each new entry is logged (not rendered).\nThis value is reset by the instance method myConsole.reset().", "guessedname": "startTime", "guessedtype": "property"}, "entryTemplate": {"default": "(see Console.ENTRY_TEMPLATE)", "type": "String", "description": "Markup template used to create the DOM structure for Console entries.", "guessedname": "entryTemplate", "guessedtype": "property"}, "scrollIntoView": {"default": "true", "type": "Boolean", "description": "When new entries are added to the Console UI, should they be\nscrolled into view?", "guessedname": "scrollIntoView", "guessedtype": "property"}, "lastTime": {"default": "The moment the console module is use<\/code>d", "type": "Date", "description": "The precise time the last entry was logged. Used to measure elapsed\ntime between log messages.", "guessedname": "lastTime", "guessedtype": "property"}, "defaultCategory": {"default": "\"info\"", "type": "String", "description": "If a category is not specified in the Y.log(..) statement, this\ncategory will be used. Categories "info",\n"warn", and "error" are also called log level.", "guessedname": "defaultCategory", "guessedtype": "property"}, "strings": {"type": "Object", "description": "Collection of strings used to label elements in the Console UI.\nDefault collection contains the following name:value pairs:\n\n
Y.log( message, category, source )<\/code> method. The\ndebug versions of YUI modules will include logging statements to offer some\ninsight into the steps executed during that module's operation. Including\nlog statements in your code will cause those messages to also appear in the\nConsole. Use Console to aid in developing your page or application.\nEntry categories "info", "warn", and "error"\nare also referred to as the log level, and entries are filtered against the\nconfigured logLevel."}], "namespace": "", "module": "console", "events": {"logEventChange": {"params": [{"type": "Event.Facade", "name": "event", "description": "An Event Facade object with the following attribute specific properties added:\t\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\n
\t\t
\t\t
\t\t
\t\t
\n
Y.log<\/code>)"}], "description": "Wrapper for Y.log<\/code>.", "guessedname": "log", "guessedtype": "function"}, "_initBody": {"protected": "", "description": "Create the DOM structure for the console body—where messages are\nrendered.", "guessedname": "_initBody", "guessedtype": "function"}, "_onLogEvent": {"protected": "", "params": [{"type": "String", "name": "msg", "description": " the log message"}, {"type": "String", "name": "cat", "description": " OPTIONAL the category or logLevel of the message"}, {"type": "String", "name": "src", "description": " OPTIONAL the source of the message (e.g. widget name)"}], "description": "Responds to log events by normalizing qualifying messages and passing\nthem along through the entry event for buffering etc.", "guessedname": "_onLogEvent", "guessedtype": "function"}, "_afterPausedChange": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " Custom event for the attribute change"}], "description": "Updates the UI and schedules or cancels the print loop.", "guessedname": "_afterPausedChange", "guessedtype": "function"}, "destructor": {"protected": "", "description": "Tears down the instance, flushing event subscriptions and purging the UI.", "guessedname": "destructor", "guessedtype": "function"}, "_initHead": {"protected": "", "description": "Create the DOM structure for the header elements.", "guessedname": "_initHead", "guessedtype": "function"}, "_afterConsoleLimitChange": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " Custom event for the attribute change"}], "description": "Calls this._trimOldEntries() in response to changes in the configured\nconsoleLimit attribute.", "guessedname": "_afterConsoleLimitChange", "guessedtype": "function"}, "bindUI": {"protected": "", "description": "Set up event listeners to wire up the UI to the internal state.", "guessedname": "bindUI", "guessedtype": "function"}, "_defEntryFn": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " The Custom event carrying the message in its payload"}], "description": "Buffers incoming message objects and schedules the printing.", "guessedname": "_defEntryFn", "guessedtype": "function"}, "_htmlEscapeMessage": {"return": {"type": "", "description": "Object a clone of the message object with proper escapement"}, "description": "Performs HTML escaping on strings in the message object.", "protected": "", "params": [{"type": "Object", "name": "m", "description": " the normalized message object"}], "guessedname": "_htmlEscapeMessage", "guessedtype": "function"}, "collapse": {"description": "Collapses the body and footer.", "guessedname": "collapse", "guessedtype": "function"}, "_onPauseClick": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " DOM event facade for the click event"}], "description": "Event handler for clicking on the Pause checkbox to update the paused\nattribute.", "guessedname": "_onPauseClick", "guessedtype": "function"}, "_afterVisibleChange": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " the visibleChange event"}], "description": "Makes adjustments to the UI if needed when the Console is hidden or shown", "guessedname": "_afterVisibleChange", "guessedtype": "function"}, "scrollToLatest": {"chainable": "", "description": "Scrolls to the most recent entry", "guessedname": "scrollToLatest", "guessedtype": "function"}, "_onClearClick": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " DOM event facade for the click event"}], "description": "Event handler for clicking on the Clear button. Pass-through to\nthis.clearConsole()<\/code>.", "guessedname": "_onClearClick", "guessedtype": "function"}, "_schedulePrint": {"protected": "", "description": "Sets an interval for buffered messages to be output to the console.", "guessedname": "_schedulePrint", "guessedtype": "function"}, "_uiUpdateFromHideShow": {"protected": "", "params": [{"type": "Boolean", "name": "v", "description": " true for visible, false for hidden"}], "description": "Recalculates dimensions and updates appropriately when shown", "guessedname": "_uiUpdateFromHideShow", "guessedtype": "function"}, "_createEntryHTML": {"return": {"type": "", "description": "String"}, "description": "Translates message meta into the markup for a console entry.", "protected": "", "params": [{"type": "Object", "name": "m", "description": " object literal containing normalized message metadata"}], "guessedname": "_createEntryHTML", "guessedtype": "function"}, "expand": {"description": "Expands the body and footer if collapsed.", "guessedname": "expand", "guessedtype": "function"}, "_uiUpdatePaused": {"protected": "", "params": [{"type": "Boolean", "name": "on", "description": " the new checked state"}], "description": "Checks or unchecks the paused checkbox", "guessedname": "_uiUpdatePaused", "guessedtype": "function"}, "reset": {"chainable": "", "description": "Clears the console and resets internal timers.", "guessedname": "reset", "guessedtype": "function"}, "syncUI": {"description": "Sync the UI state to the current attribute state.", "guessedname": "syncUI", "guessedtype": "function"}, "_afterCollapsedChange": {"protected": "", "params": [{"type": "Event", "name": "e", "description": " Custom event for the attribute change"}], "description": "Updates the className of the contentBox, which should trigger CSS to\nhide or show the body and footer sections depending on the new value.", "guessedname": "_afterCollapsedChange", "guessedtype": "function"}, "_initFoot": {"protected": "", "description": "Create the DOM structure for the footer elements.", "guessedname": "_initFoot", "guessedtype": "function"}, "printBuffer": {"chainable": "", "params": [{"type": "Number", "name": "limit", "description": " (optional) max number of buffered entries to write"}], "description": "Outputs buffered messages to the console UI. This is typically called\nfrom a scheduled interval until the buffer is empty (referred to as the\nprint loop). The number of buffered messages output to the Console is\nlimited to the number provided as an argument. If no limit is passed,\nall buffered messages are rendered.", "guessedname": "printBuffer", "guessedtype": "function"}, "_setLogLevel": {"return": {"type": "", "description": "String One of Console.LOG_LEVEL_INFO, _WARN, or _ERROR"}, "description": "Setter method for logLevel attribute. Acceptable values are\n"error", "warn", and "info" (case\ninsensitive). Other values are treated as "info".", "protected": "", "params": [{"type": "String", "name": "v", "description": " the desired log level"}], "guessedname": "_setLogLevel", "guessedtype": "function"}, "clearConsole": {"chainable": "", "description": "Clear the console of messages and flush the buffer of pending messages.", "guessedname": "clearConsole", "guessedtype": "function"}, "_isInLogLevel": {"protected": "", "description": "Determine if incoming log messages are within the configured logLevel\nto be buffered for printing.", "guessedname": "_isInLogLevel", "guessedtype": "function"}, "renderUI": {"protected": "", "description": "Generate the Console UI.", "guessedname": "renderUI", "guessedtype": "function"}}, "extends": "Widget", "superclass": "Widget", "file": "console.js", "guessedtype": "property", "shortname": "Console", "properties": {"_printLoop": {"description": "Holds the object API returned from Y.later<\/code> for the print\nloop interval.", "default": "null", "protected": "", "guessedname": "_printLoop", "guessedtype": "property", "type": "Object"}, "Console.LOG_LEVEL_INFO": {"type": "String", "static": "", "description": "Static identifier for logLevel configuration setting to allow all\nincoming messages to generate Console entries.", "guessedname": "LOG_LEVEL_INFO", "guessedtype": "property"}, "Console.BODY_TEMPLATE": {"type": "String", "static": "", "description": "Markup template used to generate the DOM structure for the Console body\n(where the messages are inserted) when it is rendered. The template\nincludes only the {placeholder} "console_bd_class", which is\nconstributed by Console.CHROME_CLASSES.", "guessedname": "BODY_TEMPLATE", "guessedtype": "property"}, "Console.HEADER_TEMPLATE": {"type": "String", "static": "", "description": "Markup template used to generate the DOM structure for the header\nsection of the Console when it is rendered. The template includes\nthese {placeholder}s:\n\n
\n
\n
\n
\n
Y.log( message, category, source )<\/code> method. The\ndebug versions of YUI modules will include logging statements to offer some\ninsight into the steps executed during that module's operation. Including\nlog statements in your code will cause those messages to also appear in the\nConsole. Use Console to aid in developing your page or application.\nEntry categories "info", "warn", and "error"\nare also referred to as the log level, and entries are filtered against the\nconfigured logLevel."}, "DOMEventFacade": {"name": "DOMEventFacade", "namespace": "", "module": "event", "methods": {"resolve": {"private": "", "description": "Returns a wrapped node. Intended to be used on event targets,\nso it will return the node's parent if the target is a text\nnode", "guessedname": "resolve", "guessedtype": "function"}, "preventDefault": {"description": "Prevents the event's default behavior", "guessedname": "preventDefault", "guessedtype": "function"}, "stopPropagation": {"description": "Stops the propagation to the next bubble target", "guessedname": "stopPropagation", "guessedtype": "function"}, "stopImmediatePropagation": {"description": "Stops the propagation to the next bubble target and\nprevents any additional listeners from being exectued\non the current target.", "guessedname": "stopImmediatePropagation", "guessedtype": "function"}, "halt": {"params": [{"type": "boolean", "name": "immediate", "description": " if true additional listeners\non the current target will not be executed"}], "description": "Stops the event propagation and prevents the default\nevent behavior.", "guessedname": "halt", "guessedtype": "function"}}, "param": "ev {Event} the DOM event", "file": "event-facade-dom.js", "shortname": "DOMEventFacade", "properties": {"webkitKeymap": {"private": "", "description": "webkit key remapping required for Safari < 3.1", "guessedname": "webkitKeymap", "guessedtype": "property"}, "which": {"type": "int", "description": "The button that was pushed. Same as button.", "guessedname": "which", "guessedtype": "property"}, "relatedTarget": {"type": "Node", "propery": "relatedTarget", "description": "Node reference to the relatedTarget", "guessedname": "relatedTarget", "guessedtype": "property"}, "button": {"type": "int", "description": "The button that was pushed.", "guessedname": "button", "guessedtype": "property"}, "currentTarget": {"type": "Node", "propery": "currentTarget", "description": "Node reference for the element that the listener was attached to.", "guessedname": "currentTarget", "guessedtype": "property"}, "pageX": {"type": "int", "description": "The X location of the event on the page (including scroll)", "guessedname": "pageX", "guessedtype": "property"}, "pageY": {"type": "int", "description": "The Y location of the event on the page (including scroll)", "guessedname": "pageY", "guessedtype": "property"}, "charCode": {"type": "int", "description": "The charCode for key events. Same as keyCode", "guessedname": "charCode", "guessedtype": "property"}, "keyCode": {"type": "int", "description": "The keyCode for key events. Uses charCode if keyCode is not available", "guessedname": "keyCode", "guessedtype": "property"}, "target": {"type": "Node", "propery": "target", "description": "Node reference for the targeted element", "guessedname": "target", "guessedtype": "property"}}, "description": "Wraps a DOM event, properties requiring browser abstraction are\nfixed here. Provids a security layer when required."}, "Plugin.DragConstrained": {"name": "Plugin.DragConstrained", "configs": {"tickX": {"type": "Number\/false", "description": "The X tick offset the drag node should snap to on each drag move. False for no ticks. Default: false", "guessedname": "tickX", "guessedtype": "property"}, "tickY": {"type": "Number\/false", "description": "The Y tick offset the drag node should snap to on each drag move. False for no ticks. Default: false", "guessedname": "tickY", "guessedtype": "property"}, "constrain2region": {"type": "Object", "description": "An Object Literal containing a valid region (top, right, bottom, left) of page positions to constrain the drag node to.", "guessedname": "constrain2region", "guessedtype": "property"}, "tickYArray": {"type": "Array", "description": "An array of page coordinates to use as Y ticks for drag movement.", "guessedname": "tickYArray", "guessedtype": "property"}, "constrain2node": {"type": "Object", "description": "Will attempt to constrain the drag node to the bounderies of this node.", "guessedname": "constrain2node", "guessedtype": "property"}, "stickX": {"type": "Boolean", "description": "Stick the drag movement to the X-Axis. Default: false", "guessedname": "stickX", "guessedtype": "property"}, "stickY": {"type": "Boolean", "description": "Stick the drag movement to the Y-Axis", "guessedname": "stickY", "guessedtype": "property"}, "gutter": {"type": "String", "description": "CSS style string for the gutter of a region (supports negative values): '5 0' (sets top and bottom to 5px, left and right to 0px), '1 2 3 4' (top 1px, right 2px, bottom 3px, left 4px)", "guessedname": "gutter", "guessedtype": "property"}, "constrain2view": {"type": "Object", "description": "Will attempt to constrain the drag node to the bounderies of the viewport region.", "guessedname": "constrain2view", "guessedtype": "property"}, "tickXArray": {"type": "Array", "description": "An array of page coordinates to use as X ticks for drag movement.", "guessedname": "tickXArray", "guessedtype": "property"}}, "constructors": [{"description": "This is a plugin for the dd-drag module to add the constraining methods to it. It supports constraining to a renodenode or viewport. It anode* supports tick based moves and XY axis constraints."}], "namespace": "Plugin", "module": "dd", "events": {"constrain2viewChange": {"params": [{"type": "Event.Facade", "name": "event", "description": "An Event Facade object with the following attribute specific properties added:\t\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\nYUI.namespace(\"property.package\");\nYUI.namespace(\"YAHOO.property.package\");\n<\/pre>\nEither of the above would create YUI.property, then\nYUI.property.package (YAHOO is scrubbed out, this is\nto remain compatible with YUI2)\nBe careful when naming packages. Reserved words may work in some browsers\nand not others. For instance, the following will fail in Safari:\n
\nYUI.namespace(\"really.long.nested.namespace\");\n<\/pre>\nThis fails because \"long\" is a future reserved word in ECMAScript", "guessedname": "namespace", "guessedtype": "function"}, "later": {"return": {"type": "object", "description": "a timer object. Call the cancel() method on this object to \nstop the timer."}, "params": [{"type": "int", "name": "when", "description": " the number of milliseconds to wait until the fn \nis executed."}, {"type": "", "name": "o", "description": " the context object."}, {"type": "Function|String", "name": "fn", "description": " the function to execute or the name of \nthe method in the 'o' object to execute."}, {"type": "", "name": "data", "description": " [Array] data that is provided to the function. This accepts\neither a single item or an array. If an array is provided, the\nfunction is executed with one parameter for each array item. If\nyou need to pass a single array parameter, it needs to be wrapped in\nan array [myarray]."}, {"type": "boolean", "name": "periodic", "description": " if true, executes continuously at supplied \ninterval until canceled."}], "description": "Executes the supplied function in the context of the supplied \nobject 'when' milliseconds later. Executes the function a \nsingle time unless periodic is set to true.", "guessedname": "later", "guessedtype": "function"}, "_setup": {"private": "", "description": "Finishes the instance setup. Attaches whatever modules were defined\nwhen the yui modules was registered.", "guessedname": "_setup", "guessedtype": "function"}, "stamp": {"return": {"type": "string", "description": "The object's guid or null"}, "params": [{"type": "", "name": "o", "description": " The object to stamp"}, {"type": "boolean", "name": "readOnly", "description": " if true, a valid guid will only\nbe returned if the object has one assigned to it."}], "description": "Returns a guid associated with an object. If the object\ndoes not have one, a new one is created unless readOnly\nis specified.", "guessedname": "stamp", "guessedtype": "function"}, "add": {"return": {"type": "YUI", "description": "the YUI instance"}, "params": [{"type": "string", "name": "name", "description": " module name"}, {"type": "Function", "name": "fn", "description": " entry point into the module that\nis used to bind module to the YUI instance"}, {"type": "string", "name": "version", "description": " version string"}, {"type": "", "name": "details", "description": " optional config data: \nrequires - features that should be present before loading\noptional - optional features that should be present if load optional defined\nuse - features that should be attached automatically\nskinnable -\nrollup\nomit - features that should not be loaded if this module is present"}], "description": "Register a module", "guessedname": "add", "guessedtype": "function"}, "simulate": {"return": {"type": "void", "description": ""}, "description": "Simulates the event with the given name on a target.", "static": "", "guessedname": "simulate", "guessedtype": "function", "params": [{"type": "HTMLElement", "name": "target", "description": " The DOM element that's the target of the event."}, {"type": "String", "name": "type", "description": " The type of event to simulate (i.e., \"click\")."}, {"type": "Object", "name": "options", "description": " (Optional) Extra options to copy onto the event object."}]}, "error": {"return": {"type": "YUI", "description": "this YUI instance"}, "params": [{"type": "string", "name": "msg", "description": " the error message"}, {"type": "Error", "name": "e", "description": " Optional JS error that was caught. If supplied\nand throwFail is specified, this error will be re-thrown."}], "description": "Report an error. The reporting mechanism is controled by\nthe 'throwFail' configuration attribute. If throwFail is\nnot specified, the message is written to the Logger, otherwise\na JS error is thrown", "guessedname": "error", "guessedtype": "function"}, "cached": {"function": "cached", "return": {"type": "Function", "description": "the wrapped function"}, "description": "Returns a wrapper for a function which caches the\nreturn value of that function, keyed off of the combined \nargument values.", "params": [{"type": "function", "name": "source", "description": " the function to memoize"}, {"type": "", "name": "cache", "description": " an optional cache seed"}], "guessedname": "cached", "guessedtype": "function"}, "message": {"return": {"type": "YUI", "description": "YUI instance"}, "params": [{"type": "String", "name": "msg", "description": " The message to log."}, {"type": "String", "name": "cat", "description": " The log category for the message. Default\ncategories are \"info\", \"warn\", \"error\", time\".\nCustom categories can be used as well. (opt)"}, {"type": "String", "name": "src", "description": " The source of the the message (opt)"}, {"type": "boolean", "name": "silent", "description": " If true, the log event won't fire"}], "description": "Write a system message. This message will be preserved in the\nminified and raw versions of the YUI files, unlike log statements.", "guessedname": "message", "guessedtype": "function"}, "guid": {"return": {"type": "string", "description": "the guid"}, "params": [{"type": "string", "name": "pre", "description": " optional guid prefix"}], "description": "Generate an id that is unique among all YUI instances", "guessedname": "guid", "guessedtype": "function"}, "_init": {"guessedname": "_init", "params": [{"type": "", "name": "o", "description": " config options"}], "description": "Initialize this YUI instance", "private": "", "guessedtype": "function"}}, "uses": ["EventTarget"], "file": "yui.js", "shortname": "YUI", "events": {"available": {"description": "Executes the callback as soon as the specified element \nis detected in the DOM.", "guessedname": "available", "guessedtype": "property"}, "domready": {"optional": "context execution context", "params": [{"type": "function", "name": "fn", "description": " what to execute when the element is found."}], "description": "Executes the supplied callback when the DOM is first usable. This\nwill execute immediately if called after the DOMReady event has\nfired. @todo the DOMContentReady event does not fire when the\nscript is dynamically injected into the page. This means the\nDOMReady custom event will never fire in FireFox or Opera when the\nlibrary is injected. It _will_ fire in Safari, and the IE \nimplementation would allow for us to fire it if the defered script\nis not available. We want this to behave the same in all browsers.\nIs there a way to identify when the script has been injected \ninstead of included inline? Is there a way to know whether the \nwindow onload event has fired without having had a listener attached \nto it when it did so?\n\n
\n
\t\t
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
response<\/code>\nevent when response is received. This method should be implemented by\nsubclasses to achieve more complex behavior such as accessing remote data.", "guessedname": "_defRequestFn", "guessedtype": "function"}, "DataSource.issueCallback": {"static": "", "params": [{"type": "Object", "name": "callback", "description": " The callback object."}, {"type": "Array", "name": "params", "description": " params to be passed to the callback method"}, {"type": "Boolean", "name": "error", "description": " whether an error occurred"}], "description": "Executes a given callback. The third param determines whether to execute", "guessedname": "issueCallback", "guessedtype": "function"}, "_defDataFn": {"protected": "", "params": [{"type": "Event.Facade", "name": "e", "description": " Event Facade with the following properties:\n\n
\n
\n
success<\/code><\/dt>\nfailure<\/code><\/dt>\nargument<\/code><\/dt>\nrequest<\/code> event.", "guessedname": "sendRequest", "guessedtype": "function"}}, "extends": "Base", "superclass": "Base", "file": "datasource-local.js", "guessedtype": "property", "shortname": "DataSource.Local", "properties": {"DataSource._tId": {"description": "Global transaction counter.", "default": "0", "private": "", "static": "", "guessedname": "_tId", "guessedtype": "property", "type": "Number"}, "NAME": {"description": "Class name.", "value": "\"dataSourceLocal\"", "static": "", "guessedname": "NAME", "guessedtype": "property", "type": "String", "final": ""}}, "description": "Base class for the DataSource Utility."}, "NodeList": {"name": "NodeList", "constructors": [{"description": "The NodeList class provides a wrapper for manipulating DOM NodeLists.\nNodeList properties can be accessed via the set\/get methods.\nUse Y.all() to retrieve NodeList instances."}], "namespace": "", "module": "node", "guessedname": "_diff", "methods": {"set": {"see": "Node.set", "description": "Called on each Node instance"}, "getAttribute": {"return": {"type": "string", "description": "The attribute value"}, "see": "Node", "params": [{"type": "string", "name": "name", "description": " The attribute name"}], "description": "Allows getting attributes on DOM nodes, normalizing in some cases.\nThis passes through to the DOM node, allowing for custom attributes."}, "replaceClass": {"see": "Node.replaceClass", "params": [{"type": "String", "name": "oldClassName", "description": " the class name to be replaced"}, {"type": "String", "name": "newClassName", "description": " the class name that will be replacing the old class name"}], "chainable": "", "description": "Replace a class with another class for each node.\nIf no oldClassName is present, the newClassName is simply added."}, "some": {"return": {"type": "Boolean", "description": "Whether or not the function returned true for any node."}, "params": [{"type": "Function", "name": "fn", "description": " The function to apply. It receives 3 arguments:\nthe current node instance, the node's index, and the NodeList instance"}, {"type": "Object", "name": "context", "description": " optional An optional context to execute the function from.\nDefault context is the current Node instance"}], "description": "Executes the function once for each node until a true value is returned.", "guessedname": "some", "guessedtype": "function"}, "setStyle": {"see": "Node.setStyle", "params": [{"type": "String", "name": "attr", "description": " The style attribute to set."}, {"type": "String|Number", "name": "val", "description": " The value."}], "chainable": "", "description": "Sets a style property on each node."}, "setStyles": {"see": "Node.setStyles", "params": [{"type": "Object", "name": "hash", "description": " An object literal of property:value pairs."}], "chainable": "", "description": "Sets multiple style properties on each node."}, "odd": {"return": {"type": "NodeList", "description": "NodeList containing the updated collection"}, "description": "Creates a new NodeList containing all nodes at odd indices\n(zero-based index).", "guessedname": "odd", "guessedtype": "function"}, "setContent": {"see": "Node.setContent", "description": "Called on each Node instance"}, "append": {"see": "Node.append", "description": "Called on each Node instance"}, "size": {"return": {"type": "Int", "description": "The number of items in the NodeList."}, "description": "Returns the current number of items in the NodeList.", "guessedname": "size", "guessedtype": "function"}, "even": {"return": {"type": "NodeList", "description": "NodeList containing the updated collection"}, "description": "Creates a new NodeList containing all nodes at even indices\n(zero-based index), including zero.", "guessedname": "even", "guessedtype": "function"}, "NodeList.getDOMNodes": {"return": {"type": "Array", "description": "The array of DOM nodes bound to the NodeList"}, "description": "Retrieves the DOM nodes bound to a NodeList instance", "static": "", "guessedname": "getDOMNodes", "guessedtype": "function", "params": [{"type": "Y.NodeList", "name": "node", "description": " The NodeList instance"}]}, "getComputedStyle": {"return": {"type": "Array", "description": "The computed values for each node."}, "see": "Node.getComputedStyle", "params": [{"type": "String", "name": "attr", "description": " The style attribute to retrieve."}], "description": "Returns an array of the computed value for each node."}, "prepend": {"see": "Node.prepend", "description": "Called on each Node instance"}, "toggleClass": {"see": "Node.toggleClass", "params": [{"type": "String", "name": "className", "description": " the class name to be toggled"}], "chainable": "", "description": "If the className exists on the node it is removed, if it doesn't exist it is added."}, "addClass": {"see": "Node.addClass", "params": [{"type": "String", "name": "className", "description": " the class name to add to the node's class attribute"}], "chainable": "", "description": "Adds a class name to each node."}, "removeClass": {"see": "Node.removeClass", "params": [{"type": "String", "name": "className", "description": " the class name to remove from the node's class attribute"}], "chainable": "", "description": "Removes a class name from each node."}, "insert": {"see": "NodeInsert", "description": "Called on each Node instance"}, "indexOf": {"return": {"type": "Int", "description": "the index of the node value or -1 if not found"}, "params": [{"type": "Y.Node || DOMNode", "name": "node", "description": " the node to search for"}], "description": "Returns the index of the node in the NodeList instance\nor -1 if the node isn't found.", "guessedname": "indexOf", "guessedtype": "function"}, "after": {"return": {"type": "Object", "description": "Returns an event handle that can later be use to detach()."}, "description": "Applies an event listens to each Node bound to the NodeList. \nThe handler is called only after all on() handlers are called\nand the event is not prevented.", "see": "Event.on", "params": [{"type": "String", "name": "type", "description": " The event being listened for"}, {"type": "Function", "name": "fn", "description": " The handler to call when the event fires"}, {"type": "Object", "name": "context", "description": " The context to call the handler with.\nDefault is the NodeList instance."}], "guessedname": "after", "guessedtype": "function"}, "unplug": {"see": "Node.unplug", "description": "Called on each Node instance"}, "getStyle": {"return": {"type": "Array", "description": "The current values of the style property for the element."}, "see": "Node.getStyle", "params": [{"type": "String", "name": "attr", "description": " The style attribute to retrieve."}], "description": "Returns an array of values for each node."}, "detach": {"see": "Node.detach", "description": "Called on each Node instance"}, "plug": {"see": "Node.plug", "description": "Called on each Node instance"}, "on": {"return": {"type": "Object", "description": "Returns an event handle that can later be use to detach()."}, "description": "Applies an event listens to each Node bound to the NodeList.", "see": "Event.on", "params": [{"type": "String", "name": "type", "description": " The event being listened for"}, {"type": "Function", "name": "fn", "description": " The handler to call when the event fires"}, {"type": "Object", "name": "context", "description": " The context to call the handler with.\nDefault is the NodeList instance."}], "guessedname": "on", "guessedtype": "function"}, "setAttribute": {"chainable": "", "params": [{"type": "string", "name": "name", "description": " The attribute name"}, {"type": "string", "name": "value", "description": " The value to set"}], "description": "Allows setting attributes on DOM nodes, normalizing in some cases.\nThis passes through to the DOM node, allowing for custom attributes.", "see": "Node"}, "remove": {"see": "Node.remove", "description": "Called on each Node instance"}, "detachAll": {"see": "Node.detachAll", "description": "Called on each Node instance"}, "filter": {"return": {"type": "NodeList", "description": "NodeList containing the updated collection"}, "description": "Filters the NodeList instance down to only nodes matching the given selector.", "see": "Selector", "params": [{"type": "String", "name": "selector", "description": " The selector to filter against"}], "guessedname": "filter", "guessedtype": "function"}, "item": {"return": {"type": "Node", "description": "The Node instance at the given index."}, "params": [{"type": "Number", "name": "index", "description": " The index of the target Node."}], "description": "Retrieves the Node instance at the given index.", "guessedname": "item", "guessedtype": "function"}, "each": {"chainable": "", "params": [{"type": "Function", "name": "fn", "description": " The function to apply. It receives 3 arguments:\nthe current node instance, the node's index, and the NodeList instance"}, {"type": "Object", "name": "context", "description": " optional An optional context to apply the function with\nDefault context is the current Node instance"}], "description": "Applies the given function to each Node in the NodeList.", "guessedname": "each", "guessedtype": "function"}, "hasClass": {"return": {"type": "Array", "description": "An array of booleans for each node bound to the NodeList."}, "see": "Node.hasClass", "params": [{"type": "String", "name": "className", "description": " the class name to search for"}], "description": "Determines whether each node has the given className."}}, "file": "nodelist.js", "guessedtype": "function", "shortname": "NodeList", "description": "The NodeList class provides a wrapper for manipulating DOM NodeLists.\nNodeList properties can be accessed via the set\/get methods.\nUse Y.all() to retrieve NodeList instances."}, "Widget": {"name": "Widget", "constructors": [{"params": [{"type": "Object", "name": "config", "description": " Object literal specifying widget configuration \nproperties."}], "description": "A base class for widgets, providing:\n\n
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
\t\t
HTML_PARSER<\/code> configuration for the \ninstance, to retrieve config data values.", "private": "", "params": [{"type": "Node", "name": "node", "description": " Root node to use to parse markup for configuration data"}], "guessedname": "_parseHTML", "guessedtype": "function"}, "_uiSetTabIndex": {"protected": "", "params": [{"type": "", "name": "Number", "description": ""}], "description": "Set the tabIndex on the widget's rendered UI", "guessedname": "_uiSetTabIndex", "guessedtype": "function"}, "enable": {"description": "Set the Widget's \"disabled\" attribute to \"false\".", "guessedname": "enable", "guessedtype": "function"}, "getStrings": {"params": [{"type": "String", "name": "locale", "description": " (optional) The locale for which the string value is required. Defaults to the current locale, if not provided."}], "description": "Gets the entire strings hash for a particular locale, performing locale lookup.\nrender<\/code> method"}], "description": "Default render handler", "guessedname": "_defRenderFn", "guessedtype": "function"}, "_setStrings": {"protected": "", "params": [{"type": "Object", "name": "strings", "description": " The hash of string key\/values to set"}, {"type": "Object", "name": "locale", "description": " The locale for the string values being set"}], "description": "Sets strings for a particular locale, merging with any existing\nstrings which may already be defined for the locale.", "guessedname": "_setStrings", "guessedtype": "function"}, "_moveStyles": {"guessedname": "_moveStyles", "params": [{"type": "Node", "name": "nodeFrom", "description": " The node to gather the styles from"}, {"type": "Node", "name": "nodeTo", "description": " The node to apply the styles to"}], "description": "Moves a pre-defined set of style rules (WRAP_STYLES) from one node to another.", "private": "", "guessedtype": "function"}, "getClassName": {"param": "{String}+ One or more classname bits to be joined and prefixed", "params": [{"type": "String*", "name": "args*", "description": " 0..n strings which should be concatenated, using the default separator defined by ClassNameManager, to create the class name"}], "description": "Generate a standard prefixed classname for the Widget, prefixed by the default prefix defined\nby the Y.config.classNamePrefix<\/code> attribute used by ClassNameManager<\/code> and \nWidget.NAME.toLowerCase()<\/code> (e.g. \"yui-widget-xxxxx-yyyyy\", based on default values for \nthe prefix and widget class name).\n\n{\n\/\/ Set single Node references using selector syntax \n\/\/ (selector is run through node.query)\ntitleNode: \"span.yui-title\",\n\/\/ Set NodeList references using selector syntax \n\/\/ (array indicates selector is to be run through node.queryAll)\nlistNodes: [\"li.yui-item\"],\n\/\/ Set other attribute types, using a parse function. \n\/\/ Context is set to the widget instance.\nlabel: function(contentBox) {\nreturn contentBox.query(\"span.title\").get(\"innerHTML\");\n}\n}\n<\/pre>", "guessedname": "HTML_PARSER", "guessedtype": "property"}, "BOUNDING_TEMPLATE": {"type": "String", "description": "Static property defining the markup template for bounding box.", "guessedname": "BOUNDING_TEMPLATE", "guessedtype": "property"}, "_buildCfg": {"description": "The build configuration for the Widget class.\n\n
\t\t
\n
\n
response<\/code> event when\nresponse is received asynchronously.", "guessedname": "_defRequestFn", "guessedtype": "function"}}, "extends": "DataSource.Local", "superclass": "DataSource.Local", "file": "datasource-function.js", "guessedtype": "property", "shortname": "DataSource.Function", "properties": {"NAME": {"description": "Class name.", "value": "\"dataSourceFunction\"", "static": "", "guessedname": "NAME", "guessedtype": "property", "type": "String", "final": ""}}, "description": "Function subclass for the DataSource Utility."}, "Object": {"methods": {"setValue": {"return": {"type": "Object", "description": "The modified object, with the new sub value set, or \nundefined, if the path was invalid."}, "params": [{"type": "", "name": "o", "description": " The object on which to set the sub value."}, {"type": "Array", "name": "path", "description": " A path array, specifying the object traversal path\nat which to set the sub value."}, {"type": "Any", "name": "val", "description": " The new value for the sub-attribute."}], "description": "Sets the sub-attribute value at the provided path on the \nvalue object. Returns the modified value object, or \nundefined if the path is invalid.", "guessedname": "setValue", "guessedtype": "function"}, "keys": {"return": {"type": "string[]", "description": "the keys"}, "description": "Returns an array containing the object's keys", "static": "", "guessedname": "keys", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " an object"}], "todo": "use native Object.keys() if available"}, "_extract": {"return": {"type": "boolean|Array", "description": "the extracted info"}, "description": "Extracts the keys, values, or size from an object", "private": "", "static": "", "guessedname": "_extract", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " the object"}, {"type": "", "name": "what", "description": " what to extract (0: keys, 1: values, 2: size)"}]}, "hasValue": {"return": {"type": "boolean", "description": "true if the object contains the value"}, "description": "Returns true if the object contains a given value", "static": "", "guessedname": "hasValue", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " an object"}, {"type": "", "name": "v", "description": " the value to query"}]}, "getValue": {"return": {"type": "Any", "description": "The value stored in the path, undefined if not found.\nReturns the source object if an empty path is provided."}, "params": [{"type": "", "name": "o", "description": " The object from which to extract the property value"}, {"type": "Array", "name": "path", "description": " A path array, specifying the object traversal path\nfrom which to obtain the sub value."}], "description": "Retrieves the sub value at the provided path,\nfrom the value object provided.", "guessedname": "getValue", "guessedtype": "function"}, "each": {"return": {"type": "YUI", "description": "the YUI instance"}, "description": "Executes a function on each item. The function\nreceives the value, the key, and the object\nas paramters (in that order).", "static": "", "guessedname": "each", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " the object to iterate"}, {"type": "function", "name": "f", "description": " the function to execute"}, {"type": "", "name": "c", "description": " the execution context"}, {"type": "boolean", "name": "proto", "description": " include proto"}]}, "()": {"return": {"type": "Object", "description": "the new object"}, "description": "Y.Object(o) returns a new object based upon the supplied object.", "static": "", "guessedname": "Object", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " the supplier object"}], "todo": "Use native Object.create() when available"}, "values": {"return": {"type": "Array", "description": "the values"}, "description": "Returns an array containing the object's values", "static": "", "guessedname": "values", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " an object"}], "todo": "use native Object.values() if available"}, "owns": {"return": {"type": "boolean", "description": "true if the object has the property on the instance"}, "description": "Determines whether or not the property was added\nto the object instance. Returns false if the property is not present\nin the object, or was inherited from the prototype.", "deprecated": "Safari 1.x support has been removed, so this is simply a \nwrapper for the native implementation. Use the native implementation\ndirectly instead.", "static": "", "guessedname": "owns", "guessedtype": "function", "params": [{"type": "any", "name": "o", "description": " The object being testing"}, {"type": "string", "name": "p", "description": " the property to look for"}], "todo": "Remove in B1"}, "hasKey": {"return": {"type": "boolean", "description": "true if the object contains the key"}, "description": "Returns true if the object contains a given key", "static": "", "guessedname": "hasKey", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " an object"}, {"type": "", "name": "k", "description": " the key to query"}]}, "size": {"return": {"type": "int", "description": "the size"}, "description": "Returns the size of an object", "static": "", "guessedname": "size", "guessedtype": "function", "params": [{"type": "", "name": "o", "description": " an object"}], "todo": "use native Object.size() if available"}}, "description": "Adds the following Object utilities to the YUI instance", "namespace": "", "module": "yui", "file": "yui-object.js", "shortname": "Object", "name": "Object"}, "YUI~array~extras": {"name": "YUI~array~extras", "namespace": "", "module": "collection", "methods": {"Array.every": {"return": {"type": "boolean", "description": "true if every item in the array returns true\nfrom the supplied function."}, "description": "Executes the supplied function on each item in the array.", "static": "", "guessedname": "every", "guessedtype": "property", "params": [{"type": "Array", "name": "a", "description": " the array to iterate"}, {"type": "Function", "name": "f", "description": " the function to execute on each item"}, {"type": "", "name": "o", "description": " Optional context object"}]}, "Array.filter": {"return": {"type": "Array", "description": "The items on which the supplied function\nreturned true. If no items matched an empty array is \nreturned."}, "description": "Executes the supplied function on each item in the array.\nReturns a new array containing the items that the supplied\nfunction returned true for.", "static": "", "guessedname": "filter", "guessedtype": "property", "params": [{"type": "Array", "name": "a", "description": " the array to iterate"}, {"type": "Function", "name": "f", "description": " the function to execute on each item"}, {"type": "", "name": "o", "description": " Optional context object"}]}, "Array.partition": {"return": {"type": "", "description": "An object with two members, 'matches' and 'rejects',\nthat are arrays containing the items that were selected or \nrejected by the test function (or an empty array)."}, "description": "Partitions an array into two new arrays, one with the items\nthat match the supplied function, and one with the items that\ndo not.", "paran": "f {Function} a function that will receive each item \nin the collection and its index.", "static": "", "guessedname": "partition", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " a collection to iterate over"}, {"type": "", "name": "o", "description": " Optional execution context of f."}]}, "Array.reject": {"return": {"type": "Array", "description": "The items on which the supplied function\nreturned false."}, "description": "The inverse of filter. Executes the supplied function on each item. \nReturns a new array containing the items that the supplied\nfunction returned *false* for.", "static": "", "guessedname": "reject", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " the array to iterate"}, {"type": "Function", "name": "f", "description": " the function to execute on each item"}, {"type": "", "name": "o", "description": " Optional context object"}]}, "Array.grep": {"return": {"type": "Array", "description": "All the items in the collection that \nproduce a match against the supplied regular expression. \nIf no items match, an empty array is returned."}, "description": "Iterates over an array, returning a new array of all the elements\nthat match the supplied regular expression", "static": "", "guessedname": "grep", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " a collection to iterate over"}, {"type": "RegExp", "name": "pattern", "description": " The regular expression to test against \neach item"}]}, "Array.map": {"return": {"type": "Array", "description": "A new array containing the return value\nof the supplied function for each item in the original\narray."}, "description": "Executes the supplied function on each item in the array.", "static": "", "guessedname": "map", "guessedtype": "property", "params": [{"type": "Array", "name": "a", "description": " the array to iterate"}, {"type": "Function", "name": "f", "description": " the function to execute on each item"}, {"type": "", "name": "o", "description": " Optional context object"}]}, "Array.unique": {"return": {"type": "Array", "description": "a copy of the array with duplicate entries removed"}, "description": "Returns a copy of the array with the duplicate entries removed", "static": "", "guessedname": "unique", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " the array to find the subset of uniques for"}, {"type": "bool", "name": "sort", "description": " flag to denote if the array is sorted or not. Defaults to false, the more general operation"}]}, "Array.find": {"return": {"type": "object", "description": "the first item that the supplied function\nreturns true for, or null if it never returns true"}, "description": "Executes the supplied function on each item in the array,\nsearching for the first item that matches the supplied\nfunction.", "static": "", "guessedname": "find", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " the array to search"}, {"type": "Function", "name": "f", "description": " the function to execute on each item. \nIteration is stopped as soon as this function returns true\non an item."}, {"type": "", "name": "o", "description": " Optional context object"}]}, "Array.zip": {"return": {"type": "", "description": "An array of arrays formed by pairing each element \nof the first collection with an item in the second collection \nhaving the corresponding index."}, "description": "Creates an array of arrays by pairing the corresponding\nelements of two arrays together into a new array.", "static": "", "guessedname": "zip", "guessedtype": "function", "params": [{"type": "Array", "name": "a", "description": " a collection to iterate over"}, {"type": "Array", "name": "a2", "description": " another collection whose members will be \npaired with members of the first parameter"}]}, "Array.reduce": {"return": {"type": "", "description": "A value that results from iteratively applying the\nsupplied function to each element in the array."}, "description": "Executes the supplied function on each item in the array.\nReduce \"folds\" the array into a single value.", "static": "", "guessedname": "reduce", "guessedtype": "property", "params": [{"type": "Array", "name": "a", "description": " the array to iterate"}, {"type": "", "name": "init", "description": " The initial value to start from"}, {"type": "Function", "name": "f", "description": " the function to execute on each item. It\nis responsible for returning the updated value of the\ncomputation."}, {"type": "", "name": "o", "description": " Optional context object"}]}}, "file": "array-extras.js", "shortname": "YUI~array~extras", "properties": {"lastIndexOf": {"return": "{int} the index of hte item that contains the value or -1", "description": "Returns the index of the last item in the array\nthat contains the specified value, -1 if the\nvalue isn't found.\nmethod Array.lastIndexOf", "param": "a {Array} the array to search", "static": "", "guessedname": "lastIndexOf", "guessedtype": "property"}}, "description": "Adds the following array utilities to the YUI instance\n(Y.Array). This is in addition to the methods provided\nin the core."}, "Base": {"name": "Base", "constructors": [{"params": [{"type": "Object", "name": "config", "description": " Object with configuration property name\/value pairs"}], "description": "\t\t
\t\t